v0.1.7
·
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
HEADrequests, 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).
- Automatically resolves to internal OSS URLs (
-
Snapshot Download Cache Fix (#35)
- Resolves cache compatibility issues during
snapshot_download. - Integrates configuration support for the new cross-region environment variables.
- Resolves cache compatibility issues during
⚙️ 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