Releases: modelscope/modelscope
Releases · modelscope/modelscope
v1.29.2
English Version
- Support repo_info support for retrieving repository-level metadata (datasets, models) and list all commit info
- Fix some bugs
中文版本
- 支持获取repo级别的详细信息,以及获取所有的提交记录
- 修复了一些bug
What's Changed
- Fix/upload commit by @wangxingjun778 in #1459
- Fix: add error log for validate_blob and upload_blob by @wangxingjun778 in #1482
- Fix:save_cached_files for sync dumping by @wangxingjun778 in #1484
- Feat/support repo info by @alcholiclg in #1483
New Contributors
- @alcholiclg made their first contribution in #1483
Full Changelog: v1.29.1...v1.29.2
V1.29.1 release note
English Version
- Support arg parser when python version >= 3.12, thanks to the contribution of @yaqiangsun
- Fix some bugs, e.g. VLLM cannot download from ModelScope of deepseek/internvl/internlm models
中文版本
- 兼容python>=3.12时的arg parser,感谢@yaqiangsun的贡献
- 修复了一些问题,例如VLLM无法从ModelScope下载deepseek和浦江实验室的模型
What's Changed
- Fix intermixed missing in cli_argument_parser.py by @yaqiangsun in #1437
- Fix/aigc weight by @Koko-ry in #1464
- Fix
trust_remote_code
by @wangxingjun778 in #1462 - fix:file already exist by @Koko-ry in #1465
- Merge 1.29 to master by @tastelikefeet in #1469
- support patch intern and deepseek by @tastelikefeet in #1475
- skip aigc test by @tastelikefeet in #1476
New Contributors
- @yaqiangsun made their first contribution in #1437
Full Changelog: v1.29.0...v1.29.1
V1.29.0 Release Note
English Version
New Features
- Added support for AIGC model creation interface:
modelscope create <repo_id> --token <token> --visibility <public/private/internal> --aigc --model_path <model_path> --aigc_type <Checkpoint/LoRA/VAE> --base_model_type <base_model_type>
- Added support for using ModelScope MCP server. Users can interface with MCP plaza through the following method:
from modelscope.hub.mcp_api import MCPApi
server = MCPApi().get_mcp_server('@modelcontextprotocol/fetch')
...
- Added support for repository creation command:
modelscope create owner/repo_name --token ms-xxx --repo_type model --visibility private --chinese_name 测试模型1 --license MIT
Bug Fixes
- Fixed some security issues
- Fixed issues where some models could not run on higher Python versions. These models will now throw exceptions directly, guiding users to use lower Python versions
- Added additional trust_remote_code validation for models that need to run external code or use torch.load during loading
中文版本
新功能
- 支持了AIGC模型的创建接口:
modelscope create <repo_id> --token <token> --visibility <public/private/internal> --aigc --model_path <model_path> --aigc_type <Checkpoint/LoRA/VAE> --base_model_type <base_model_type>
- 增加了对ModelScope MCP server的使用支持,用户可以通过多个接口与MCP广场交互,例如:
from modelscope.hub.mcp_api import MCPApi
server = MCPApi().get_mcp_server('@modelcontextprotocol/fetch')
...
...
- 支持了创建repo的命令:
modelscope create owner/repo_name --token ms-xxx --repo_type model --visibility private --chinese_name 测试模型1 --license MIT
Bug修复
- 修复了一些安全问题
- 修复了部分模型在高版本python下无法运行的问题,这些模型会直接抛出异常,指引用户使用更低版本的python
- 对部分模型在加载时需要运行外部code或者使用torch.load的情况增加了额外的trust_remote_code判断
What's Changed
- fix pyyaml according to: https://github.com/Anchor0221/CVE-2025-50460 by @tastelikefeet in #1428
- 解决使用
uv tool
的依赖的问题 by @Tian-Jionglu in #1427 - Merge release 1.28 by @hjh0119 in #1401
- ollama template: qwen3-coder, gemma3n, mistral-small3.2, magistral, devstral by @suluyana in #1434
- add ms-agent into dockerfile by @tastelikefeet in #1436
- fix large log in scan cache test by @Yunnglin in #1439
- Fix: add revision arg for upload_file by @wangxingjun778 in #1440
- fix bug by @tastelikefeet in #1441
- Feat: add atomic capabilities -
MCPApi
by @Koko-ry in #1426 - Add create repo cli by @wangxingjun778 in #1445
- feat: sentence_embedding pipeline by @suluyana in #1435
- Feat: Add AIGC model creation support to create_model by @Koko-ry in #1431
- merge release1.28 by @wangxingjun778 in #1448
- fix: TestTinynasDamoyoloTrainerSingleGPU ut by @wangxingjun778 in #1449
- fix: fix mcp api ut by @wangxingjun778 in #1450
- fix: fix ci by @wangxingjun778 in #1452
- fix tensorflow cannot load gpu by @tastelikefeet in #1456
- Update default version of python by @tastelikefeet in #1457
- Add
create
cli warning by @wangxingjun778 in #1458
New Contributors
- @Tian-Jionglu made their first contribution in #1427
Full Changelog: v1.28.2...v1.29.0
v1.28.2
V1.28.2 Release Note
English Version
- Hotfix datasets features for
datasets >=3.0.0, <=3.6.0
#1447
中文版本
- 修复datasets features兼容性问题 #1447
Full Changelog: v1.28.1...v1.28.2
v1.28.1
V1.28.1 Release Note
English Version
- Fix
use_cookies
forget_model_files
indelete_files
: #1424 - Add
MODELSCOPE_CREDENTIALS_PATH
env for user-defined authorization path: #1423 - Skip UT
TextToSpeechSambertHifigan16kPipelineTest
: #1420 - Add weak file lock for
snapshot_download
: #1417 - Fix RCE issue for plugins (add
trust_remote_code
) forfrom_pretrained
function: #1415 - Fix
get_dataset_infos
to avoid list all pages for dataset: #1414
中文版本
- 修复
delete_files
函数中的get_model_files
调用,当需要鉴权的场景,需要明确传入use_cookies
参数 : #1424 - 增加环境变量
MODELSCOPE_CREDENTIALS_PATH
,支持用户自定义配置本地授权的存储路径(cookies、session等信息): #1423 - 跳过测试用例
TextToSpeechSambertHifigan16kPipelineTest
(用例失效): #1420 - 在
snapshot_download
中增加weak file lock: #1417 - 在
from_pretrained
中,增加
trust_remote_code`参数,避免插件RCE问题: #1415 - 修复
get_dataset_infos
函数中的分页问题:#1414
What's Changed
- Fix use_cookies in get_model_files by @wangxingjun778 #1424
- Add MODELSCOPE_CREDENTIALS_PATH for user-defined authorization path by @wangxingjun778 #1423
- Skip UT TextToSpeechSambertHifigan16kPipelineTest temporarily by @Koko-ry #1420
- weak file lock by @tastelikefeet #1417
- Fix RCE issue for plugins by @Koko-ry #1415
- Fix dataset infos by @wangxingjun778 #1414
Full Changelog: v1.28.0...v1.28.1
v1.28.0
English Version
- Added Hub download progress callback: Supports custom callback functions for download progress updates. #1380
- Added environment variable configuration: Introduced the SIZE_THRESHOLD_TO_ENFORCE_LFS environment variable to configure the file size threshold for enforcing LFS usage. #1383
- Added wildcard batch deletion: Supports batch deletion of files in model or dataset repositories using wildcards. #1384
- Optimized VAE processing: Improved VAE chunking workflow and reduced VRAM consumption. #1378
- Added Hub upload environment variables: Added environment variable configurations for Hub uploads. #1389
- Compatibility improvement: Added compatibility support for datasets library version 3.6. #1393
- Bug fix: Resolved an issue where AutoProcessor and AutoTokenizer might download incomplete files when using from_pretrained. #1398
中文版本
- 新增 Hub 下载进度回调支持: 支持自定义下载进度更新回调函数。 #1380
- 新增环境变量配置: 添加 SIZE_THRESHOLD_TO_ENFORCE_LFS 环境变量,用于配置强制使用 LFS 的文件大小阈值。 #1383
- 新增通配符批量删除功能: 支持使用通配符批量删除模型或数据集仓库中的文件。 #1384
- 优化 VAE 处理: 优化 VAE 分块处理流程并减少显存占用。#1378
- 新增 Hub 上传环境变量配置: 增加 Hub 上传相关的环境变量配置选项。 #1389
- 兼容性提升: 兼容 datasets 库 3.6 版本。 #1393
- 问题修复: 修复 AutoProcessor 和 AutoTokenizer 使用 from_pretrained 方法时可能出现的文件下载不完整问题。#1398
What's Changed
- [hub] support ProgressCallback by @Jintao-Huang in #1380
- Add env SIZE_THRESHOLD_TO_ENFORCE_LFS by @wangxingjun778 in #1383
- Feat deletefiles by @Koko-ry in #1384
- Merge release 1.27 by @hjh0119 in #1392
- perf(vae): optimize tiling performance and memory usage by @MengAiDev in #1378
- Add upload check envs by @wangxingjun778 in #1389
- Upgrade datasets by @wangxingjun778 in #1393
- Fix ignore files of AutoProcessor by @tastelikefeet in #1398
New Contributors
- @Koko-ry made their first contribution in #1384
- @hjh0119 made their first contribution in #1392
- @MengAiDev made their first contribution in #1378
Full Changelog: v1.27.1...v1.28.0
v1.27.1
English Version
- Set size_threshold_to_enforce_lfs to 1MB #1375
- Limit MODELSCOPE_DOWNLOAD_PARALLELS to a maximum of 16 #1371
- Fix some bugs in HubApi #1369
中文版本
- 设置 size_threshold_to_enforce_lfs 为 1MB #1375
- 将 MODELSCOPE_DOWNLOAD_PARALLELS 最大值限制为 16 #1371
- 修复 HubApi 中的一些 bug #1369
Full Changelog: v1.27.0...v1.27.1
v1.27.0
English Version
- Added an ASCII logo to the ModelScope command-line interface 😄.
- Increased the maximum number of supported files per repository to 50,000.
- Added requirements.txt to legacy model repositories to ensure backward compatibility, automatically installing required older versions of dependencies (transformers, huggingface_hub, diffusers) for proper model execution.
- Added ACoderPassBy/HifiSSR and ACoderPassBy/UnetVC model inference code with runnable README examples for voice cloning and speech enhancement tasks. #1208
- Enabled CLI upload to create repository directly if non-exists, streamlining model publishing workflow. #1351
- Fixed GPU memory leak issue in speaker_verification_res2net pipeline during multiple invocations. #1349
- Introduced scan_cache_dir utility to visualize local model cache status and optimize storage management. #1348
- Enhanced security framework with remote code execution verification mechanism to address vulnerability #1331, allowing explicit trust control for third-party model code via trust_remote_code parameter. #1333
- Optimized intra-cloud acceleration for model downloading with adaptive network protocol selection. #1315
- Implemented granular code security controls for importlib usage scenarios with precise file list filtering. #1323
中文版本
- ModelScope 命令行运行环境添加ASCII logo 😄。
- 放松单repo支持文件数到5w。
- 为保障一批早期模型正常运行,在这些模型仓库中新增requirements.txt文件,运行时将自动安装适配的旧版依赖库(transformers、huggingface_hub、diffusers等)以解决兼容性问题。
- 新增ACoderPassBy/HifiSSR和ACoderPassBy/UnetVC模型推理代码,提供可运行的README示例代码,支持语音克隆与语音增强任务 #1208
- 支持CLI命令行上传时自动创建目标仓库(若不存在),优化模型发布流程 #1351
- 修复speaker_verification_res2net流水线多次调用导致的显存泄露问题 #1349
- 新增本地缓存目录扫描功能(scan_cache_dir),可视化展示模型缓存状态并优化存储管理 #1348
- 修复安全漏洞(CVE-2023-1331),通过trust_remote_code参数实现第三方模型代码的分级信任控制 #1333
- 优化云上环境模型下载自适应全链路加速功能,支持智能网络协议选择 #1315
- 细化importlib使用场景的代码安全控制,实现模型下载过程的精准文件列表过滤 #1323
What's Changed
- Support trust_remote_code for pipeline and model by @tastelikefeet in #1333
- Update publish.yaml ubuntu version by @Yunnglin in #1334
- Add setuptools for hub requirements by @wangxingjun778 in #1343
- [Feature] Add scan_cache_dir function by @Yunnglin in #1348
- Update 1.26.0 docker image dependency by @Yunnglin in #1339
- fix: 解决多次调用后的显存泄露。 by @biliyoubala in #1349
- remove master warning log by @yingdachen in #1336
- Allow upload to create repo (if not exists) directly by @yingdachen in #1351
- Fix typos in multiple files by @co63oc in #1330
- Fix typos by @co63oc in #1332
- vc ssr by @Z-yq in #1208
- fix: ollama template mapping by @suluyana in #1354
- Fix typos in multiple files by @co63oc in #1357
New Contributors
- @biliyoubala made their first contribution in #1349
- @Z-yq made their first contribution in #1208
Full Changelog: v1.26.0...v1.27.0
v1.26.0
English Version
- Provided adaptive full-chain acceleration for model downloading in cloud environments. #1315
- Refined code security controls for importlib usage scenarios and supported more precise file list control during model downloading. #1323
- Added new Ollama templates, including cogito, mistral-small3.1, deepcoder, granite3.3, etc. #1318
中文版本
- 对于云上环境,提供自适应的模型下载全链路加速 #1315
- 对于importlib使用场景上细化的代码安全控制,并支持模型下载中更精准的文件列表控制 #1323
- 添加新的ollama template,包括cogito,mistral-small3.1,deepcoder,granite3.3等 #1318
What's Changed
- feat: new ollama template by @NononoSugar in #1318
- enable intra-cloud acceleration by @wangxingjun778 in #1315
- Support downloading exact file for hf wrapper by @tastelikefeet in #1323
- Fix typos in multiple files by @co63oc in #1329
- Fix typos by @co63oc in #1328
New Contributors
- @NononoSugar made their first contribution in #1318
Full Changelog: v1.25.0...v1.26.0
v1.25.0
V1.25.0 Release Note
English Version
中文版本
What's Changed
- fix undefined name tf by @pengqu123 in #1294
- Add create_repo and upload UTs by @wangxingjun778 in #1282
- Set kwsbp==0.0.6 by @wangxingjun778 in #1293
- Add swift docker by @Jintao-Huang in #1299
- Merge release1.24 to master by @Jintao-Huang in #1298
- fix: Update speaker_verification_rdino_pipeline.py by @vra in #1300
- add more ignore patterns by @tastelikefeet in #1303
- better error raise by @Jintao-Huang in #1301
New Contributors
- @pengqu123 made their first contribution in #1294
- @vra made their first contribution in #1300
Full Changelog: v1.24.1...v1.25.0