Skip to content

v0.1.7

Choose a tag to compare

@wangxingjun778 wangxingjun778 released this 07 Jul 07:35
· 15 commits to release/0.1 since this release

Release Notes

🛠️ Core Improvements & Fixes

  • Cross-Region Internal Download Acceleration (#32)

    • Automatically resolves to internal OSS URLs (-internal.aliyuncs.com) if the server and client are in the same region or connected via peered networks (CEN/VPC).
    • Probes peer regions sequentially via file-level HEAD requests, falling back to public CDN if all internal paths fail.
    • Introduces repository-level caching (keyed by repo_id, repo_type) to eliminate redundant probes, reducing total requests from $N \times (1+P)$ to $1 \times (1+P)$.
    • Adds download source icons to the progress bar: ⚡ (Local OSS), ⇄ (Peer OSS), or blank (CDN).
  • Snapshot Download Cache Fix (#35)

    • Resolves cache compatibility issues during snapshot_download.
    • Integrates configuration support for the new cross-region environment variables.

⚙️ Configuration Reference

  • MODELSCOPE_DOWNLOAD_INTER_CLOUD_REGIONS (Env) : A comma-separated list of peer cloud regions for cross-region internal network acceleration.

What's Changed

  • feat: Cross-region internal download acceleration via inter-cloud connections by @solofox in #32
  • [Fix] Fix snapshot download cache compatibility issues and set MODELSCOPE_DOWNLOAD_INTER_CLOUD_REGIONS by @wangxingjun778 in #35

New Contributors

Full Changelog: v0.1.6...v0.1.7