v0.4.4
·
5 commits
to release/0.4
since this release
modelscope-hub v0.4.4 Release Notes
Fix
- Uploads with
path_in_repo="."no longer fail. A.destination (e.g.ms upload REPO DIR .) was written into every commit action as a literal./path prefix, which the Hub rejected withE3021 "invalid commit action"on every commit — aborting the run after 3 consecutive failed batches..now correctly resolves to the repository root.
Enhance
- Robust destination-path handling.
path_in_repois now normalized consistently acrossupload_folderandupload_file:.,./,/, and empty all map to the repo root; redundant separators and./..segments are collapsed; and paths that escape the repository root are rejected upfront.
What's Changed
- [Fix] Upload
path_in_repoNormalization by @wangxingjun778 in #69
Full Changelog: v0.4.3...v0.4.4