Skip to content

Commit 3d198d8

Browse files
committed
fix: skip deep_atlas_tutorial in CPU CI
deep_atlas_tutorial.ipynb hardcodes device = torch.device("cuda:0") with no CPU fallback; 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 c62cc06 commit 3d198d8

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
@@ -139,6 +139,7 @@ skip_run_papermill=("${skip_run_papermill[@]}" .*TCIA_PROSTATEx_Prostate_MRI_Ana
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
141141
skip_run_papermill=("${skip_run_papermill[@]}" .*05_spleen_segmentation_lightning*) # requires GPU; hardcoded .to("cuda") with no CPU fallback
142+
skip_run_papermill=("${skip_run_papermill[@]}" .*deep_atlas_tutorial*) # requires GPU; device hardcoded to "cuda:0"
142143

143144
# output formatting
144145
separator=""

0 commit comments

Comments
 (0)