Skip to content

v0.4.4

Choose a tag to compare

@wangxingjun778 wangxingjun778 released this 20 Sep 07:19
· 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 with E3021 "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_repo is now normalized consistently across upload_folder and upload_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

Full Changelog: v0.4.3...v0.4.4