2836 Commits

Author SHA1 Message Date
suluyana
95aaca3421 fix: check tasks in HubApi.set_repo_visibility (#1570)
* bump version

* Feat/update default revision (#1553)

* Feat: add set_repo_visibility in hub api (#1564)

* add set_repo_visibility

* fix cr

* fix lint

* Add base_model_sub_type for aigc model (#1563)

* Feat: add `DEFAULT_MAX_WORKERS` in snapshot_download func (#1566)

* fix set_repo_visibility (#1568)

Co-authored-by: suluyan <suluyan.sly@aliabab-inc.com>

* fix: check tasks

* for merge master

* fix typo

---------

Co-authored-by: suluyan <suluyan.sly@aliabab-inc.com>
Co-authored-by: Gongsheng Li <58078985+alcholiclg@users.noreply.github.com>
Co-authored-by: Xingjun.Wang <wangxingjun778@163.com>
Co-authored-by: 班扬 <xingjun.wxj@alibaba-inc.com>
2025-12-10 11:10:57 +08:00
Xingjun.Wang
13d8f27bf0 add error log for invalid input visibility args (#1569) 2025-12-10 10:27:20 +08:00
suluyana
62d51b9f2b fix set_repo_visibility (#1568)
Co-authored-by: suluyan <suluyan.sly@aliabab-inc.com>
2025-12-09 20:43:04 +08:00
Xingjun.Wang
6d674796ba Fix/upload patterns (#1567) 2025-12-09 15:19:44 +08:00
Xingjun.Wang
12bfc59f3b Feat: add DEFAULT_MAX_WORKERS in snapshot_download func (#1566) 2025-12-08 17:28:02 +08:00
Xingjun.Wang
7543a9c7d2 Add base_model_sub_type for aigc model (#1563) 2025-12-05 15:41:22 +08:00
Xingjun.Wang
be6874ea8e Feat: add set_repo_visibility in hub api (#1564)
* add set_repo_visibility

* fix cr

* fix lint
2025-12-05 15:37:45 +08:00
Gongsheng Li
a31c44cb5a Feat/update default revision (#1553) 2025-12-05 15:24:42 +08:00
Yunlin Mao
9cb7ce7029 Update build file and workflow (#1551)
* update build file

* update setup file

* update fairseq dep

* fix error log
2025-12-02 10:50:39 +08:00
baymax591
6f3200dfc2 [docker] Add Ascend NPU dockerfile (#1550)
Co-authored-by: ji-huazhong <hzji210@gmail.com>
Co-authored-by: vx120 <893600387@qq.com>
2025-11-26 09:56:47 +08:00
Xingjun.Wang
12988976a3 add new args for aigc create_model_tag (#1555) 2025-11-20 11:23:58 +08:00
tastelikefeet
609442d271 Patch dynamic module (#1554) 2025-11-19 11:15:56 +08:00
tastelikefeet
ff87891acf fix exp type which affects hasattr (#1552) 2025-11-18 16:28:38 +08:00
Xingjun.Wang
debabe53a6 Fix default ignore patterns for upload_folder (#1549)
* fix default ignore patterns for upload_folder

* update repo_utils
2025-11-18 15:26:10 +08:00
Gongsheng Li
a66907aecd Feat/update default revision (#1546)
* change DEFAULT_MODEL_REVISION to master

* revert DEFAULT_MODEL_REVISION to None

---------

Co-authored-by: alcholiclg <ligongshengzju@foxmail.com>
2025-11-11 13:06:38 +08:00
Yunlin Mao
dfb370b77d fix daily regression (#1545)
* update daily regression

* update test
2025-11-07 17:45:59 +08:00
Xingjun.Wang
23733ae4eb fix encode_media_to_base64 to support mp4 (#1533) 2025-11-07 17:37:36 +08:00
xiaojianping.xjp
23f3b9a43e update ollama: granite4,deepseek-v3.1,gpt-oss (#1531)
Co-authored-by: xiaojiaping.xjp <xiaojiaping.xjp@alibaba-inc.com>
2025-11-07 17:33:25 +08:00
Gongsheng Li
95a95343db change DEFAULT_MODEL_REVISION to master (#1544)
Co-authored-by: alcholiclg <ligongshengzju@foxmail.com>
2025-11-07 16:24:26 +08:00
Xingjun.Wang
5cf1fab0fb Remove raise FileIntegrityError (#1517) 2025-11-07 16:10:22 +08:00
Yunlin Mao
2719e90528 [Feature] Add pyproject.toml (#1542)
* add pyproject.toml

* fix
2025-11-06 12:40:04 +08:00
Yunlin Mao
723599ac48 Update list datasets to OpenAPI (#1532)
* update list datasets

* Update modelscope/hub/constants.py

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

* Update modelscope/hub/api.py

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

* Update modelscope/hub/api.py

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

* Update modelscope/hub/api.py

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

* fix lint

* update workflow

* fix lint

---------

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-11-05 17:04:29 +08:00
Xingjun.Wang
c1fc7bf6c2 Add trust_remote_code for _download_additional_modules (#1521)
* add `trust_remote_code` for _download_additional_modules

* update errmsg
2025-10-29 02:54:11 +08:00
Xingjun.Wang
ad4867d783 Feat: add model source for aigc model (#1530) 2025-10-27 17:19:34 +08:00
Xingjun.Wang
da5bef7929 add INTRA_CLOUD_ACCELERATION for single model file downloading (#1529) 2025-10-23 11:10:12 +08:00
Gongsheng Li
3fd95b1bd7 Feat/support commit scheduler (#1480) 2025-10-21 16:41:55 +08:00
Xingjun.Wang
b4c9418dd9 Feat/add official tag (#1509) 2025-10-10 13:50:09 +08:00
tastelikefeet
38a89111f7 fix tokenizer download (#1516) 2025-10-10 13:48:04 +08:00
weedge
7a37e99b6b Update ans_dfsmn_pipeline.py (#1510) 2025-09-28 10:36:22 +08:00
Michael B. Currie
795e76bbfe Update constants.py (#1512)
Avoid SyntaxError: invalid escape sequence '\ '

to check this, run `python -W error` and then type these lines:

```python
MODELSCOPE_ASCII = """
 _   .-')                _ .-') _     ('-.             .-')                              _ (`-.    ('-.
( '.( OO )_             ( (  OO) )  _(  OO)           ( OO ).                           ( (OO  ) _(  OO)
 ,--.   ,--.).-'),-----. \     .'_ (,------.,--.     (_)---\_)   .-----.  .-'),-----.  _.`     \(,------.
 |   `.'   |( OO'  .-.  ',`'--..._) |  .---'|  |.-') /    _ |   '  .--./ ( OO'  .-.  '(__...--'' |  .---'
 |         |/   |  | |  ||  |  \  ' |  |    |  | OO )\  :` `.   |  |('-. /   |  | |  | |  /  | | |  |
 |  |'.'|  |\_) |  |\|  ||  |   ' |(|  '--. |  |`-' | '..`''.) /_) |OO  )\_) |  |\|  | |  |_.' |(|  '--.
 |  |   |  |  \ |  | |  ||  |   / : |  .--'(|  '---.'.-._)   \ ||  |`-'|   \ |  | |  | |  .___.' |  .--'
 |  |   |  |   `'  '-'  '|  '--'  / |  `---.|      | \       /(_'  '--'\    `'  '-'  ' |  |      |  `---.
 `--'   `--'     `-----' `-------'  `------'`------'  `-----'    `-----'      `-----'  `--'      `------'
"""# noqa

MODELSCOPE_ASCII2 = r"""
 _   .-')                _ .-') _     ('-.             .-')                              _ (`-.    ('-.
( '.( OO )_             ( (  OO) )  _(  OO)           ( OO ).                           ( (OO  ) _(  OO)
 ,--.   ,--.).-'),-----. \     .'_ (,------.,--.     (_)---\_)   .-----.  .-'),-----.  _.`     \(,------.
 |   `.'   |( OO'  .-.  ',`'--..._) |  .---'|  |.-') /    _ |   '  .--./ ( OO'  .-.  '(__...--'' |  .---'
 |         |/   |  | |  ||  |  \  ' |  |    |  | OO )\  :` `.   |  |('-. /   |  | |  | |  /  | | |  |
 |  |'.'|  |\_) |  |\|  ||  |   ' |(|  '--. |  |`-' | '..`''.) /_) |OO  )\_) |  |\|  | |  |_.' |(|  '--.
 |  |   |  |  \ |  | |  ||  |   / : |  .--'(|  '---.'.-._)   \ ||  |`-'|   \ |  | |  | |  .___.' |  .--'
 |  |   |  |   `'  '-'  '|  '--'  / |  `---.|      | \       /(_'  '--'\    `'  '-'  ' |  |      |  `---.
 `--'   `--'     `-----' `-------'  `------'`------'  `-----'    `-----'      `-----'  `--'      `------'
"""# noqa

```

The first will yield a `SyntaxError: invalid escape sequence '\ '`

But the second treats it as a raw string literal, and has no warnings.
2025-09-28 10:34:24 +08:00
Xingjun.Wang
fac25b8190 Fix get_domain and endpoint (#1511) 2025-09-23 14:04:20 +08:00
Xingjun.Wang
08686f4419 update timeout for checking model revision (#1507) 2025-09-19 17:51:32 +08:00
Jintao
2f3ac0fcd2 [docker] update swift docker (#1502) 2025-09-16 12:49:29 +08:00
Koko-ry
8d25fbfd0b Fix model tag des (#1500) 2025-09-15 17:09:59 +08:00
Gongsheng Li
6f2eea8419 Fix invalid revision in repo_info (#1496) 2025-09-15 16:36:58 +08:00
Koko-ry
593701e207 fix aigc endpoint (#1494) 2025-09-11 15:11:42 +08:00
Xingjun.Wang
1c1c927e5f update utils for lint (#1493) 2025-09-08 21:42:44 +08:00
Koko-ry
a197ab02d0 Fix/upload base64 (#1492) 2025-09-08 21:20:24 +08:00
Gongsheng Li
4733d5374b add support for siblings field in repo_info (#1490) 2025-09-08 17:22:29 +08:00
Koko-ry
5fdb4f317e add create model tag (#1487) 2025-09-08 17:01:35 +08:00
tastelikefeet
fed18f0d47 fix models with the latest transformers (#1491) 2025-09-08 16:08:21 +08:00
Gongsheng Li
2fc6d8e822 Feat/support repo info (#1483) 2025-08-29 17:23:46 +08:00
Xingjun.Wang
32685cfd8c Fix:save_cached_files for sync dumping (#1484) 2025-08-29 13:45:15 +08:00
Xingjun.Wang
d687cb8a51 Fix: add error log for validate_blob and upload_blob (#1482) 2025-08-28 14:49:50 +08:00
Xingjun.Wang
b6e544949d Fix/upload commit (#1459) 2025-08-27 01:33:26 +08:00
tastelikefeet
a5039281d3 skip aigc test (#1476) 2025-08-23 11:12:35 +08:00
tastelikefeet
a2c0673571 support patch intern and deepseek (#1475) 2025-08-23 10:43:56 +08:00
tastelikefeet
6b70c8b577 Merge 1.29 to master (#1469) 2025-08-18 13:51:00 +08:00
Koko-ry
7bb94a3cf1 Fix: filter existing files (.gitattributes/configuration.json/README.md) 2025-08-14 16:06:57 +08:00
Xingjun.Wang
7d11b77112 Fix trust_remote_code (#1462)
1. Set `trust_remote_code` to `True` by default in datasets module
2. Set `trust_remote_code` to `True` by default in PolyLM pipeline
2025-08-14 10:56:16 +08:00