Skip to content

Update CI for Huggingface host#735

Merged
yiheng-wang-nv merged 7 commits intoProject-MONAI:devfrom
yiheng-wang-nv:host-model-in-hugging-face
Mar 20, 2025
Merged

Update CI for Huggingface host#735
yiheng-wang-nv merged 7 commits intoProject-MONAI:devfrom
yiheng-wang-nv:host-model-in-hugging-face

Conversation

@yiheng-wang-nv
Copy link
Copy Markdown
Collaborator

@yiheng-wang-nv yiheng-wang-nv commented Mar 19, 2025

Fixes # .

Description

After this PR is merged, any new changed/added bundles will be hosted in Huggingface

Status

Ready/Work in progress/Hold

Please ensure all the checkboxes:

  • Codeformat tests passed locally by running ./runtests.sh --codeformat.
  • In-line docstrings updated.
  • Update version and changelog in metadata.json if changing an existing bundle.
  • Please ensure the naming rules in config files meet our requirements (please refer to: CONTRIBUTING.md).
  • Ensure versions of packages such as monai, pytorch and numpy are correct in metadata.json.
  • Descriptions should be consistent with the content, such as eval_metrics of the provided weights and TorchScript modules.
  • Files larger than 25MB are excluded and replaced by providing download links in large_file.yml.
  • Avoid using path that contains personal information within config files (such as use /home/your_name/ for "bundle_root").

@yiheng-wang-nv yiheng-wang-nv requested a review from KumoLiu March 20, 2025 06:28
@yiheng-wang-nv
Copy link
Copy Markdown
Collaborator Author

/build

@yiheng-wang-nv
Copy link
Copy Markdown
Collaborator Author

/build

@yiheng-wang-nv yiheng-wang-nv enabled auto-merge (squash) March 20, 2025 07:29
Copy link
Copy Markdown
Collaborator

@KumoLiu KumoLiu left a comment

Choose a reason for hiding this comment

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

Thanks for the update, overall looks good to me.
please help mention what behaviour will be changed in the pr description. Thanks.

@yiheng-wang-nv yiheng-wang-nv merged commit a26bfb7 into Project-MONAI:dev Mar 20, 2025
4 checks passed
yiheng-wang-nv added a commit that referenced this pull request Mar 20, 2025
Fixes # .

### Description
This PR can be used to:
1) test new huggingface hosting (after PR:
#735 merge)
2) remove workaround github release hosting.

After this PR is merged, I will make changes in MONAI to modify the
bundle download logic

### Status
**Ready**

### Please ensure all the checkboxes:
<!--- Put an `x` in all the boxes that apply, and remove the not
applicable items -->
- [x] Codeformat tests passed locally by running `./runtests.sh
--codeformat`.
- [ ] In-line docstrings updated.
- [ ] Update `version` and `changelog` in `metadata.json` if changing an
existing bundle.
- [ ] Please ensure the naming rules in config files meet our
requirements (please refer to: `CONTRIBUTING.md`).
- [ ] Ensure versions of packages such as `monai`, `pytorch` and `numpy`
are correct in `metadata.json`.
- [ ] Descriptions should be consistent with the content, such as
`eval_metrics` of the provided weights and TorchScript modules.
- [ ] Files larger than 25MB are excluded and replaced by providing
download links in `large_file.yml`.
- [ ] Avoid using path that contains personal information within config
files (such as use `/home/your_name/` for `"bundle_root"`).

Signed-off-by: Yiheng Wang <[email protected]>
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.

2 participants