-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Automatically download / upload models with hugging face, torch hub #4042
Comments
@yiheng-wang-nv is investigating requirements, ideas, solutions, will prepare a proposal soon. Thanks. |
Nic-Ma
modified the milestones:
Bug Fixes or Misc improvements,
MONAI model bundle structure/format [P0]
Apr 1, 2022
Nic-Ma
changed the title
Automatically download / upload models from hugging face, torch hub
Automatically download / upload models with hugging face, torch hub
Apr 4, 2022
Hi @yiheng-wang-nv , In my simple mind, I think maybe we can start from the
Thanks. |
wyli
pushed a commit
that referenced
this issue
Oct 19, 2023
Fixes #4042 . ### Description - [x] Add functionality to download a model bundle from the Hugging Face Hub. - [x] Add functionality to upload a model bundle to the Hugging Face Hub. ### Types of changes <!--- Put an `x` in all the boxes that apply, and remove the not applicable items --> - [x] Non-breaking change (fix or new feature that would not break existing functionality). - [ ] Breaking change (fix or new feature that would cause existing functionality to change). - [x] New tests added to cover the changes. - [x] Integration tests passed locally by running `./runtests.sh -f -u --net --coverage`. - [x] Quick tests passed locally by running `./runtests.sh --quick --unittests --disttests`. - [x] In-line docstrings updated. - [ ] Documentation updated, tested `make html` command in the `docs/` folder. --------- Signed-off-by: katielink <link.katie.e@gmail.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is your feature request related to a problem? Please describe.
As MONAI bundle features are ready to use, it would be nice to manage bundle models with hugging face and torch hub, etc.
Like: https://huggingface.co/MONAI/example_spleen_segmentation
So it's necessary to develop features to automatically download / apply models from the hubs, may support bundle package, checkpoint, torchscript model. And for future steps, we can think about how to review new models and execute CICD before approving or uploading to the hub.
The text was updated successfully, but these errors were encountered: