Skip to content

Bugfix: fix broken of download models from modelscope#5233

Merged
WoosukKwon merged 4 commits intovllm-project:mainfrom
liuyhwangyh:fix_download_from_modelscope
Jun 6, 2024
Merged

Bugfix: fix broken of download models from modelscope#5233
WoosukKwon merged 4 commits intovllm-project:mainfrom
liuyhwangyh:fix_download_from_modelscope

Conversation

@liuyhwangyh
Copy link
Contributor

FIX #4362

@liuyhwangyh liuyhwangyh force-pushed the fix_download_from_modelscope branch from 7a02025 to a3fa75d Compare June 3, 2024 23:43
@liuyhwangyh liuyhwangyh changed the title Bugfix: fix broken of download models from modelscope #1 Bugfix: fix broken of download models from modelscope Jun 3, 2024
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This test isn't ran at the moment, and I would prefer this be put inside test_regression if possible

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Moved to test_regression.py

trust_remote_code=trust_remote_code,
revision=revision,
code_revision=code_revision)
if VLLM_USE_MODELSCOPE:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you use the following pattern?

if VLLM_USE_MODELSCOPE:
    from modelscope import AutoConfig
    auto_cls = AutoConfig
else: 
    from transformers import AutoConfig
    auto_cls = AutoConfig

config = AutoConfig...

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated

@simon-mo
Copy link
Collaborator

simon-mo commented Jun 6, 2024

@liuyhwangyh
Copy link
Contributor Author

@WoosukKwon WoosukKwon merged commit 4efff03 into vllm-project:main Jun 6, 2024
dtrifiro pushed a commit to opendatahub-io/vllm that referenced this pull request Jun 10, 2024
)

Co-authored-by: mulin.lyh <mulin.lyh@taobao.com>
robertgshaw2-redhat pushed a commit to neuralmagic/nm-vllm that referenced this pull request Jun 11, 2024
)

Co-authored-by: mulin.lyh <mulin.lyh@taobao.com>
joerunde pushed a commit to joerunde/vllm that referenced this pull request Jun 17, 2024
)

Co-authored-by: mulin.lyh <mulin.lyh@taobao.com>
xjpang pushed a commit to xjpang/vllm that referenced this pull request Jun 27, 2024
)

Co-authored-by: mulin.lyh <mulin.lyh@taobao.com>
xjpang pushed a commit to xjpang/vllm that referenced this pull request Jul 8, 2024
)

Co-authored-by: mulin.lyh <mulin.lyh@taobao.com>
xjpang pushed a commit to xjpang/vllm that referenced this pull request Jul 24, 2024
)

Co-authored-by: mulin.lyh <mulin.lyh@taobao.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: v0.4.1 VLLM_USE_MODELSCOPE not working

3 participants