Skip to content

[part 2] Update all bundles to Huggingface and fix missing dependencies#743

Merged
yiheng-wang-nv merged 6 commits intoProject-MONAI:devfrom
yiheng-wang-nv:update-bundles-to-new-host-part2
Apr 9, 2025
Merged

[part 2] Update all bundles to Huggingface and fix missing dependencies#743
yiheng-wang-nv merged 6 commits intoProject-MONAI:devfrom
yiheng-wang-nv:update-bundles-to-new-host-part2

Conversation

@yiheng-wang-nv
Copy link
Copy Markdown
Collaborator

Fixes #739 .

Description

A few sentences describing the changes proposed in this pull request.

Status

Ready

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").

Signed-off-by: Yiheng Wang <[email protected]>
@yiheng-wang-nv
Copy link
Copy Markdown
Collaborator Author

/build

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

/build

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

/build

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot reviewed 3 out of 22 changed files in this pull request and generated no comments.

Files not reviewed (19)
  • ci/run_premerge_cpu.sh: Language not supported
  • ci/run_premerge_gpu.sh: Language not supported
  • models/pancreas_ct_dints_segmentation/configs/metadata.json: Language not supported
  • models/pathology_nuclei_classification/configs/metadata.json: Language not supported
  • models/pathology_nuclei_segmentation_classification/configs/metadata.json: Language not supported
  • models/pathology_nuclick_annotation/configs/metadata.json: Language not supported
  • models/pathology_tumor_detection/configs/metadata.json: Language not supported
  • models/pediatric_abdominal_ct_segmentation/configs/metadata.json: Language not supported
  • models/prostate_mri_anatomy/configs/metadata.json: Language not supported
  • models/renalStructures_CECT_segmentation/configs/metadata.json: Language not supported
  • models/renalStructures_UNEST_segmentation/configs/metadata.json: Language not supported
  • models/segmentation_template/configs/metadata.json: Language not supported
  • models/spleen_ct_segmentation/configs/metadata.json: Language not supported
  • models/spleen_deepedit_annotation/configs/metadata.json: Language not supported
  • models/swin_unetr_btcv_segmentation/configs/metadata.json: Language not supported
  • models/valve_landmarks/configs/metadata.json: Language not supported
  • models/ventricular_short_axis_3label/configs/metadata.json: Language not supported
  • models/vista2d/configs/metadata.json: Language not supported
  • models/vista3d/configs/metadata.json: Language not supported
Comments suppressed due to low confidence (2)

ci/get_bundle_requirements.py:21

  • Removing the special-case declaration for 'xformers' may result in its dependency being added without the necessary conditional logic. Please verify that this change aligns with the intended dependency management for bundles.
SPECIAL_LIB_LIST = ["xformers"]

ci/get_bundle_requirements.py:81

  • The removal of special-case logic that filtered out 'xformers' and conditionally excluded 'torch' may lead to unexpected dependency conflicts. Confirm that this simplified logic is safe in all bundle scenarios.
for name, version in optional_dict.items():

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

Copilot reviewed 3 out of 22 changed files in this pull request and generated no comments.

Files not reviewed (19)
Comments suppressed due to low confidence (2)

xformers is no need to be installed due to maisi related changes in MONAI, thus it's removed.

@yiheng-wang-nv yiheng-wang-nv merged commit c5376f5 into Project-MONAI:dev Apr 9, 2025
4 checks passed
@yiheng-wang-nv yiheng-wang-nv deleted the update-bundles-to-new-host-part2 branch April 9, 2025 05:59
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.

Update all bundles to Huggingface

3 participants