Commit Graph

2847 Commits

Author SHA1 Message Date
suluyan
b9ac390434 fix typo 2025-12-10 11:09:03 +08:00
suluyan
9e463b0403 Merge remote-tracking branch 'origin' into fix/tasks_check 2025-12-10 10:55:42 +08:00
suluyan
92d669efce for merge master 2025-12-10 10:52:28 +08:00
Xingjun.Wang
13d8f27bf0 add error log for invalid input visibility args (#1569) 2025-12-10 10:27:20 +08:00
suluyan
d351698f28 fix: check tasks 2025-12-09 21:45:52 +08:00
suluyana
4be91830df fix set_repo_visibility (#1568)
Co-authored-by: suluyan <suluyan.sly@aliabab-inc.com>
2025-12-09 20:50:06 +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
班扬
39550757bc ok Merge branch 'release/1.33' of github.com:modelscope/modelscope into release/1.33 2025-12-09 15:40:06 +08:00
班扬
8e2c80ec5d ok Merge branch 'master' of github.com:modelscope/modelscope into release/1.33 2025-12-09 15:20:26 +08:00
Xingjun.Wang
6d674796ba Fix/upload patterns (#1567) 2025-12-09 15:19:44 +08:00
Xingjun.Wang
1213ece432 Feat: add DEFAULT_MAX_WORKERS in snapshot_download func (#1566) 2025-12-09 15:18:04 +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
c2891a174e Add base_model_sub_type for aigc model (#1563) 2025-12-05 16:02:40 +08:00
Xingjun.Wang
4890a8b527 Feat: add set_repo_visibility in hub api (#1564)
* add set_repo_visibility

* fix cr

* fix lint
2025-12-05 16:02:28 +08:00
Gongsheng Li
c2f91d80fe Feat/update default revision (#1553) 2025-12-05 16:02:19 +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
suluyan
f35932e90b bump version 2025-12-05 11:20:12 +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