-
Notifications
You must be signed in to change notification settings - Fork 10
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
Feat: support modelscope #45
Conversation
49f668b
to
aa4ea20
Compare
Hey bro, thank you very much for your contribution, we're at very early stage so some baselines haven't been established like the tests, I'll try my best this weekend to build it. |
Please add an example under |
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.
Generally LGTM, let's add an example.
from modelscope import snapshot_download | ||
from loader.model_hub.model_hub import ModelHub, MODEL_LOCAL_DIR | ||
|
||
MODEL_SCOPE = "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.
I guess ModelScope
makes more sense?
MAX_WORKERS = 4 | ||
|
||
|
||
class Modelscope(ModelHub): |
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.
class Modelscope(ModelHub): | |
class ModelScope(ModelHub): |
One more thing, can you add an integration test for |
aa4ea20
to
4a078b8
Compare
/lgtm Thanks @vicoooo26 |
Support loading model from Modelscope using Modelscope Python SDK
Ref #19