Skip to content

Commit c62cc06

Browse files
committed
fix: skip 05_spleen_segmentation_lightning in CPU CI
The notebook calls .to(device) where device is CUDA unconditionally; no CPU fallback exists. Fails with AssertionError: Torch not compiled with CUDA enabled on the CPU-only GitHub Actions runner. Signed-off-by: R. Garcia-Dias <rafaelagd@gmail.com>
1 parent a581217 commit c62cc06

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

runner.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@ skip_run_papermill=("${skip_run_papermill[@]}" .*finetune_vista3d_for_hugging_fa
138138
skip_run_papermill=("${skip_run_papermill[@]}" .*TCIA_PROSTATEx_Prostate_MRI_Anatomy_Model.ipynb*) # https://github.com/Project-MONAI/tutorials/issues/2029
139139
skip_run_papermill=("${skip_run_papermill[@]}" .*maisi_inference_tutorial.ipynb*)
140140
skip_run_papermill=("${skip_run_papermill[@]}" .*image_restoration.ipynb*) # monai.networks.nets.restormer not yet in dev branch
141+
skip_run_papermill=("${skip_run_papermill[@]}" .*05_spleen_segmentation_lightning*) # requires GPU; hardcoded .to("cuda") with no CPU fallback
141142

142143
# output formatting
143144
separator=""

0 commit comments

Comments
 (0)