-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bugfix: fix broken of download models from modelscope #5233
Bugfix: fix broken of download models from modelscope #5233
Conversation
7a02025
to
a3fa75d
Compare
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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: |
There was a problem hiding this comment.
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...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated
) Co-authored-by: mulin.lyh <[email protected]>
) Co-authored-by: mulin.lyh <[email protected]>
) Co-authored-by: mulin.lyh <[email protected]>
) Co-authored-by: mulin.lyh <[email protected]>
) Co-authored-by: mulin.lyh <[email protected]>
) Co-authored-by: mulin.lyh <[email protected]>
FIX #4362