Repository navigation
Fix Windows model promotion and PaddleOCR dependencies, refresh CI - #81
Merged
Merged
Conversation
…ndows locks A fully downloaded model is promoted by renaming .staging/<model> into the final cache immediately after the release ack. On Windows the rename reliably fails with EPERM even though every process handle is closed: antivirus or the search indexer still holds the freshly written weights for a moment. The download then surfaces as failed even though the staging directory is complete, and the next attempt re-downloads everything. Retry the promotion rename (rm final + rename) on EPERM/EACCES/EBUSY/ ENOTEMPTY with a ~10s backoff budget; any other error propagates immediately and the staging directory stays intact for a clean retry. Verified live on Windows 11: bge-small-zh-v1.5 promotion now succeeds where 0.5.4 failed deterministically on both C: and D: caches.
Soren-ABT
marked this pull request as ready for review
November 19, 2026 06:57
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
修复
^1.23.2,Transformers.js 4.3.1 已锁定1.30.0。直接依赖和锁文件统一到1.30.0。质量检查启用严格 peer 校验,并把 Vite 使用的 esbuild 更新到兼容版本。0.2.2-rc.5的打包安装与启动。验证
EPERM。解锁后,Xenova/bge-small-zh-v1.5完成提升并输出 512 维嵌入。回归用例覆盖重试耗尽、非锁错误、并发请求和取消。Fixes #78
Fixes #80