Skip to content

fix: update runner.sh and endoscopic notebook for MONAI 1.6 tutorial runner compatibility#2065

Open
garciadias wants to merge 9 commits into
Project-MONAI:mainfrom
garciadias:fix/monai_1_6_release_notebooks
Open

fix: update runner.sh and endoscopic notebook for MONAI 1.6 tutorial runner compatibility#2065
garciadias wants to merge 9 commits into
Project-MONAI:mainfrom
garciadias:fix/monai_1_6_release_notebooks

Conversation

@garciadias

@garciadias garciadias commented Jun 11, 2026

Copy link
Copy Markdown

Description

Fixes tutorial runner failures observed during MONAI 1.6 release testing (Docker image, Python 3.12, RTX 5090). Full diagnostics in diagnose_1_6_release.md.

Depends on Project-MONAI/MONAI#8912
That PR updates the MONAI Docker image (Dockerfile + requirements-dev.txt) with the environment fixes that several tutorials here rely on: it pins mlflow<3.0 (fixes R1 — 4 mlflow-using notebooks that fail on Python 3.12), pins transformers<5.0 (fixes R3 — torch.float8_e8m0fnu missing in the base PyTorch build), adds aim (fixes R6 — spleen segmentation AIM tutorial), and adds lightning>=2.0 as a declared dependency. Without #8912 the Docker image still installs broken versions of those packages, so those tutorial failures persist regardless of the changes in this PR.

Failures addressed

ID Root cause Affected notebook Fix applied Needs #8912
R1 mlflow 3.x fails on Python 3.12 (from .. import zipp relative import) 4 mlflow-using notebooks Pin mlflow<3.0 in requirements-dev.txt ✅ Fixed in #8912
R3 transformers 5.x references torch.float8_e8m0fnu absent in the base PyTorch build 2d_regression/image_restoration.ipynb (transitively) Pin transformers<5.0 in requirements-dev.txt ✅ Fixed in #8912
R4 monai.networks.nets.restormer not present in this branch 2d_regression/image_restoration.ipynb Added to skip_run_papermill in runner.sh
R5 monai.bundle.load() returns OrderedDict in older local branch — local-only issue; upstream MONAI ≥1.5 already returns nn.Module by default computer_assisted_intervention/endoscopic_inbody_classification.ipynb Reverted erroneous return_state_dict=False kwarg; original notebook is correct
R6 aim package not installed in the Docker image modules/spleen_segmentation_aim.ipynb Add aim to requirements-dev.txt ✅ Fixed in #8912
R7 pytorch-lightning~=2.0.0 (resolves to 2.0.9) eagerly imports mlflow at module level; mlflow 3.x fails on Python 3.12 with a relative-import error bundle/05_spleen_segmentation_lightning.ipynb Pinned pytorch-lightning>=2.1 in notebook (removes the eager mlflow import; tested with 2.6.5) Partial — #8912 pins mlflow<3.0 as a safety net; this PR removes the fragile import dependency entirely
R9 Runner requires all training notebooks to declare max_epochs; two notebooks have none bundle/msd_crossval_datalist_generator.ipynb, pathology/hovernet_infer_compare.ipynb Added both to doesnt_contain_max_epochs exemption list in runner.sh
CI deep_atlas_tutorial.ipynb and 05_spleen_segmentation_lightning.ipynb hardcode device = torch.device("cuda:0") / "cuda" with no CPU fallback; fail on the CPU-only GitHub Actions runner deep_atlas/deep_atlas_tutorial.ipynb, bundle/05_spleen_segmentation_lightning.ipynb Added both to skip_run_papermill in runner.sh
PEP8 E225/E231 whitespace violations flagged by pre-commit preprocess_detect_scene_and_split_fold.ipynb, deep_atlas_tutorial.ipynb, class_lung_lesion.ipynb Applied autopep8 autofix (no functional changes)

Checks

  • Avoid including large-size files in the PR.
  • Clean up long text outputs from code cells in the notebook.
  • For security purposes, please check the contents and remove any sensitive info such as user names and private key.
  • Ensure (1) hyperlinks and markdown anchors are working (2) use relative paths for tutorial repo files (3) put figure and graphs in the ./figure folder
  • Notebook runs automatically ./runner.sh -t <path to .ipynb file> — GPU-dependent notebooks (05_spleen_segmentation_lightning, deep_atlas_tutorial) require a CUDA device; they are skipped in the CPU CI runner and verified manually on a local GPU node.

@review-notebook-app

Copy link
Copy Markdown

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@coderabbitai

coderabbitai Bot commented Jun 11, 2026

Copy link
Copy Markdown

Note

Reviews paused

It looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the reviews.auto_review.auto_pause_after_reviewed_commits setting.

Use the following commands to manage reviews:

  • @coderabbitai resume to resume automatic reviews.
  • @coderabbitai review to trigger a single review.

Use the checkboxes below for quick actions:

  • ▶️ Resume reviews
  • 🔍 Trigger review

Walkthrough

Runner papermill controls updated to exempt two notebooks and skip one; a spleen notebook updates its PyTorch Lightning pin and fixes a JSON outputs block; several notebooks have cosmetic f-string spacing edits; a detailed diagnostics report document is added.

Changes

Notebook Processing Configuration

Layer / File(s) Summary
Notebook exemptions and skip patterns
runner.sh
Lines 87–88 add msd_crossval_datalist_generator.ipynb and hovernet_infer_compare.ipynb to the doesnt_contain_max_epochs exemption list. Line 140 adds image_restoration.ipynb to skip_run_papermill so it is not executed during Papermill runs.
Spleen bundle dependency and outputs fix
bundle/05_spleen_segmentation_lightning.ipynb
Change PyTorch Lightning pip constraint from ~=2.0.0 to >=2.1 (line 41) and remove a redundant/empty outputs JSON block (around line 858).
Notebook f-string spacing fixes
competitions/MICCAI/surgtoolloc/preprocess_detect_scene_and_split_fold.ipynb, deep_atlas/deep_atlas_tutorial.ipynb
Whitespace-only formatting changes in f-strings/boolean expressions at lines ~401, 1258, 1800, 2323; no behavioral changes.
Diagnostics report
diagnose_1_6_release.md
Adds a comprehensive diagnostics report covering test outcomes, failure categories (PEP8, MissingKeyword, ExecutionError), environment notes, rerun results and remediation groups R1–R9, recommended next steps, and fixes applied (lines 1–453).

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Possibly related PRs

  • Project-MONAI/tutorials#2063: Both PRs modify runner.sh to extend papermill handling by adding notebook entries to exemption and/or skip lists.

Suggested reviewers

  • Nic-Ma
  • KumoLiu
  • ericspod
🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title accurately summarizes the main changes: updates to runner.sh and the endoscopic notebook for MONAI 1.6 compatibility.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Description check ✅ Passed The pull request description comprehensively addresses the template requirements and provides detailed context for the changes.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@runner.sh`:
- Around line 87-88: The doesnt_contain_max_epochs array entry is incorrect
because hovernet_infer_compare.ipynb does not exist; update the array (variable
doesnt_contain_max_epochs) to reference the actual notebook that lacks
max_epochs — replace hovernet_infer_compare.ipynb with
monailabel/monailabel_pathology_HoVerNet_QuPath.ipynb (or remove the nonexistent
entry) so the basename comparison ([[ "$e" == "$filename" ]]) can correctly
match and exempt the HoverNet inference notebook; ensure the
msd_crossval_datalist_generator.ipynb entry remains unchanged.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 790edfde-41e1-40f1-9d11-a3eb3d3813d6

📥 Commits

Reviewing files that changed from the base of the PR and between 7bedfd0 and 22cb7bc.

📒 Files selected for processing (2)
  • computer_assisted_intervention/endoscopic_inbody_classification.ipynb
  • runner.sh
👮 Files not reviewed due to content moderation or server errors (1)
  • computer_assisted_intervention/endoscopic_inbody_classification.ipynb

Comment thread runner.sh Outdated

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🧹 Nitpick comments (3)
bundle/05_spleen_segmentation_lightning.ipynb (1)

41-41: ⚡ Quick win

Critical fix for Python 3.12 mlflow import chain failure — well documented.

This change resolves the issue where pytorch-lightning 2.0.x eagerly imports mlflow at module level, causing failures under Python 3.12. The >=2.1 constraint ensures lazy mlflow imports are used.

Optional: Consider a more conservative version constraint

The current constraint >=2.1 permits any future major version (3.x, 4.x, etc.), which could introduce breaking changes. For better stability, consider:

-!pip install -q pytorch-lightning>=2.1
+!pip install -q "pytorch-lightning>=2.1,<3"

However, since this is tutorial code and has been tested with 2.6.5, the current permissive constraint is acceptable.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@bundle/05_spleen_segmentation_lightning.ipynb` at line 41, Replace the
notebook installation line string "!pip install -q pytorch-lightning>=2.1" with
a constrained version to avoid Python 3.12 mlflow import issues; update the
command in the cell that currently contains "!pip install -q
pytorch-lightning>=2.1" to either "!pip install -q
'pytorch-lightning>=2.1,<3.0'" for a conservative pin or keep ">=2.1" if you
accept the permissive range, ensuring the cell is updated accordingly.
diagnose_1_6_release.md (2)

259-263: 💤 Low value

Add language identifier to fenced code block.

The error message block should specify a language for proper syntax highlighting and markdown validation.

📝 Suggested fix
 `mlflow 3.13.0` (installed in the image) fails on Python 3.12 with:
-```
+```python
 ImportError: attempted relative import beyond top-level package

</details>

<details>
<summary>🤖 Prompt for AI Agents</summary>

Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In @diagnose_1_6_release.md around lines 259 - 263, Update the fenced code block
that contains the ImportError message so it includes a language identifier;
replace the opening "" before the "ImportError: attempted relative import beyond top-level package" line with "python" (the block referencing
mlflow.utils.uv_utils and the relative import error) to enable proper syntax
highlighting and markdown validation.


</details>

<!-- cr-comment:v1:a0bf915188f7b1372abe3425 -->

---

`54-66`: _⚡ Quick win_

**Minor documentation gap: second notebook not listed.**

The PR objectives state that both `msd_crossval_datalist_generator.ipynb` and `hovernet_infer_compare.ipynb` were added to the `doesnt_contain_max_epochs` exemption list, but this Category 2 section only documents `msd_crossval_datalist_generator.ipynb`. Line 438 in the "Fixes Applied" section confirms both notebooks were added to the exemption list.

Consider adding `hovernet_infer_compare.ipynb` to the table in this section for completeness, or add a note explaining why it's not listed here (e.g., if it didn't fail in the initial run).

<details>
<summary>🤖 Prompt for AI Agents</summary>

```
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@diagnose_1_6_release.md` around lines 54 - 66, The Category 2 —
MissingKeyword table is missing hovernet_infer_compare.ipynb even though the
"Fixes Applied" (line ~438) shows both msd_crossval_datalist_generator.ipynb and
hovernet_infer_compare.ipynb were added to the doesnt_contain_max_epochs
exemption; update the Category 2 table to include hovernet_infer_compare.ipynb
with the same detail entry (or add a clarifying note why it was omitted), and
ensure the documentation references the runner.sh doesnt_contain_max_epochs
exemption so readers can reconcile the table with the applied fixes.
```

</details>

<!-- cr-comment:v1:7bda2fd71a0aac0f57c28c85 -->

</blockquote></details>

</blockquote></details>

<details>
<summary>🤖 Prompt for all review comments with AI agents</summary>

Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In @diagnose_1_6_release.md:

  • Around line 444-450: Remove the duplicate "PEP8 in 3 notebooks" entry from the
    "Still pending" section and ensure the "Recommended Next Steps" section keeps
    the existing "PEP8 autofix — all three notebooks autofixed with runner.sh --autofix. ✓ DONE" text; specifically delete the table row or bullet that
    contains the exact phrase "PEP8 in 3 notebooks" (and any associated action text)
    so the document no longer shows PEP8 fixes as both pending and done, keeping
    references to the affected notebooks
    (surgtoolloc/preprocess_detect_scene_and_split_fold.ipynb,
    deep_atlas/deep_atlas_tutorial.ipynb,
    modules/interpretability/class_lung_lesion.ipynb) only in the completed note
    if needed.

Nitpick comments:
In @bundle/05_spleen_segmentation_lightning.ipynb:

  • Line 41: Replace the notebook installation line string "!pip install -q
    pytorch-lightning>=2.1" with a constrained version to avoid Python 3.12 mlflow
    import issues; update the command in the cell that currently contains "!pip
    install -q pytorch-lightning>=2.1" to either "!pip install -q
    'pytorch-lightning>=2.1,<3.0'" for a conservative pin or keep ">=2.1" if you
    accept the permissive range, ensuring the cell is updated accordingly.

In @diagnose_1_6_release.md:

  • Around line 259-263: Update the fenced code block that contains the
    ImportError message so it includes a language identifier; replace the opening
    "" before the "ImportError: attempted relative import beyond top-level package" line with "python" (the block referencing mlflow.utils.uv_utils and
    the relative import error) to enable proper syntax highlighting and markdown
    validation.
  • Around line 54-66: The Category 2 — MissingKeyword table is missing
    hovernet_infer_compare.ipynb even though the "Fixes Applied" (line ~438) shows
    both msd_crossval_datalist_generator.ipynb and hovernet_infer_compare.ipynb were
    added to the doesnt_contain_max_epochs exemption; update the Category 2 table to
    include hovernet_infer_compare.ipynb with the same detail entry (or add a
    clarifying note why it was omitted), and ensure the documentation references the
    runner.sh doesnt_contain_max_epochs exemption so readers can reconcile the table
    with the applied fixes.

</details>

<details>
<summary>🪄 Autofix (Beta)</summary>

Fix all unresolved CodeRabbit comments on this PR:

- [ ] <!-- {"checkboxId": "4b0d0e0a-96d7-4f10-b296-3a18ea78f0b9"} --> Push a commit to this branch (recommended)
- [ ] <!-- {"checkboxId": "ff5b1114-7d8c-49e6-8ac1-43f82af23a33"} --> Create a new PR with the fixes

</details>

---

<details>
<summary>ℹ️ Review info</summary>

<details>
<summary>⚙️ Run configuration</summary>

**Configuration used**: Organization UI

**Review profile**: CHILL

**Plan**: Pro

**Run ID**: `a3e94dda-8fe0-49e3-9b18-8009fe13d5e2`

</details>

<details>
<summary>📥 Commits</summary>

Reviewing files that changed from the base of the PR and between 22cb7bc89c659084d8288f01d6c74391d2e057e6 and f2e31eadb78677e35c1bb004cc6de52a66aaf3a7.

</details>

<details>
<summary>📒 Files selected for processing (5)</summary>

* `bundle/05_spleen_segmentation_lightning.ipynb`
* `competitions/MICCAI/surgtoolloc/preprocess_detect_scene_and_split_fold.ipynb`
* `deep_atlas/deep_atlas_tutorial.ipynb`
* `diagnose_1_6_release.md`
* `modules/interpretability/class_lung_lesion.ipynb`

</details>

<details>
<summary>✅ Files skipped from review due to trivial changes (2)</summary>

* competitions/MICCAI/surgtoolloc/preprocess_detect_scene_and_split_fold.ipynb
* deep_atlas/deep_atlas_tutorial.ipynb

</details>

<details>
<summary>👮 Files not reviewed due to content moderation or server errors (1)</summary>

* modules/interpretability/class_lung_lesion.ipynb

</details>

</details>

<!-- This is an auto-generated comment by CodeRabbit for review status -->

Comment thread diagnose_1_6_release.md
garciadias and others added 5 commits June 11, 2026 14:09
…lity

Add msd_crossval_datalist_generator.ipynb and hovernet_infer_compare.ipynb to
doesnt_contain_max_epochs (inference/datalist notebooks with no training loop).
Skip image_restoration.ipynb until monai.networks.nets.Restormer is merged into
the dev branch.

Fix endoscopic_inbody_classification notebook: pass return_state_dict=False to
monai.bundle.load so it returns an nn.Module rather than a raw OrderedDict, which
caused AttributeError on .train() with MONAI 1.6 API.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Signed-off-by: R. Garcia-Dias <rafaelagd@gmail.com>
for more information, see https://pre-commit.ci

Signed-off-by: R. Garcia-Dias <rafaelagd@gmail.com>
- competitions/MICCAI/surgtoolloc/preprocess_detect_scene_and_split_fold.ipynb: E225
- deep_atlas/deep_atlas_tutorial.ipynb: E225
- modules/interpretability/class_lung_lesion.ipynb: E231 in f-string indexing

Signed-off-by: R. Garcia-Dias <rafaelagd@gmail.com>
…g pin

pytorch-lightning~=2.0.0 (2.0.9) imports mlflow at module level via
pytorch_lightning.loggers.mlflow; mlflow 3.13.0 fails to initialize
under Python 3.12, making `import pytorch_lightning` fail in the
training subprocess.

pytorch-lightning>=2.1 uses lazy mlflow imports; confirmed working
with 2.6.5: training and evaluation run to completion.

Also documents the root cause in diagnose_1_6_release.md: two-part
R7 issue (fd-limit download truncation + mlflow/pl import chain).

Signed-off-by: R. Garcia-Dias <rafaelagd@gmail.com>
- Revert return_state_dict=False from endoscopic_inbody_classification.ipynb:
  the upstream MONAI dev (≥1.5) removed the deprecated param entirely and
  load() now returns nn.Module by default. The extra kwarg caused a TypeError
  in CI. The original notebook is correct for MONAI ≥1.5.

- Update diagnose_1_6_release.md:
  - R5: clarify it is a local-only issue (our MONAI @ 19cab577 still has the
    deprecated return_state_dict=True default; upstream dev does not)
  - R8: mark confirmed fixed — isolated run with --ulimit nofile=65536:65536
    completed all 39 cells in 3m1s with no ancdata error (2026-06-11)

Signed-off-by: R. Garcia-Dias <rafaelagd@gmail.com>
@garciadias garciadias force-pushed the fix/monai_1_6_release_notebooks branch from 9f83ff4 to f3f49ff Compare June 11, 2026 13:09
Signed-off-by: R. Garcia-Dias <rafaelagd@gmail.com>

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

♻️ Duplicate comments (1)
diagnose_1_6_release.md (1)

452-452: ⚠️ Potential issue | 🟡 Minor | ⚡ Quick win

Duplicate finding: PEP8 entry should be removed from "Still pending" section.

Line 452 lists "PEP8 in 3 notebooks" as an action still needed, but lines 398 and 420 both mark PEP8 autofix as "✓ DONE". The review stack context confirms that PEP8 f-string spacing fixes were applied to all three notebooks in this PR.

This inconsistency was already flagged in a previous review comment.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@diagnose_1_6_release.md` at line 452, Remove the duplicate "PEP8 in 3
notebooks | Run `bash runner.sh --autofix` for
`surgtoolloc/preprocess_detect_scene_and_split_fold.ipynb`,
`deep_atlas/deep_atlas_tutorial.ipynb`,
`modules/interpretability/class_lung_lesion.ipynb`" row from the "Still pending"
section in diagnose_1_6_release.md (the entry that lists "PEP8 in 3 notebooks"),
since those notebooks are already marked "✓ DONE" elsewhere; keep the completed
entries and ensure only the completed PEP8 autofix rows remain.
🧹 Nitpick comments (1)
diagnose_1_6_release.md (1)

259-261: 💤 Low value

Add language specifier to fenced code block.

The fenced code block at line 259 is missing a language specifier. Consider adding text or python to improve readability and satisfy Markdown linting rules.

📝 Proposed fix
-```
+```text
 ImportError: attempted relative import beyond top-level package
</details>

<details>
<summary>🤖 Prompt for AI Agents</summary>

Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In @diagnose_1_6_release.md around lines 259 - 261, The fenced code block
containing "ImportError: attempted relative import beyond top-level package" is
missing a language specifier; update the opening fence from totext (or

change the opening fence to ```text and leave the content and closing fence
unchanged).

Source: Linters/SAST tools

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Duplicate comments:
In `@diagnose_1_6_release.md`:
- Line 452: Remove the duplicate "PEP8 in 3 notebooks | Run `bash runner.sh
--autofix` for `surgtoolloc/preprocess_detect_scene_and_split_fold.ipynb`,
`deep_atlas/deep_atlas_tutorial.ipynb`,
`modules/interpretability/class_lung_lesion.ipynb`" row from the "Still pending"
section in diagnose_1_6_release.md (the entry that lists "PEP8 in 3 notebooks"),
since those notebooks are already marked "✓ DONE" elsewhere; keep the completed
entries and ensure only the completed PEP8 autofix rows remain.

---

Nitpick comments:
In `@diagnose_1_6_release.md`:
- Around line 259-261: The fenced code block containing "ImportError: attempted
relative import beyond top-level package" is missing a language specifier;
update the opening fence from ``` to ```text (or ```python if preferred) so the
block becomes a labeled fenced code block (e.g., change the opening fence to
```text and leave the content and closing fence unchanged).

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 0bb72274-f31b-4261-9885-6fd6814a3de1

📥 Commits

Reviewing files that changed from the base of the PR and between 9f83ff4 and a581217.

📒 Files selected for processing (7)
  • bundle/05_spleen_segmentation_lightning.ipynb
  • competitions/MICCAI/surgtoolloc/preprocess_detect_scene_and_split_fold.ipynb
  • computer_assisted_intervention/endoscopic_inbody_classification.ipynb
  • deep_atlas/deep_atlas_tutorial.ipynb
  • diagnose_1_6_release.md
  • modules/interpretability/class_lung_lesion.ipynb
  • runner.sh
✅ Files skipped from review due to trivial changes (1)
  • deep_atlas/deep_atlas_tutorial.ipynb
🚧 Files skipped from review as they are similar to previous changes (3)
  • runner.sh
  • bundle/05_spleen_segmentation_lightning.ipynb
  • competitions/MICCAI/surgtoolloc/preprocess_detect_scene_and_split_fold.ipynb
👮 Files not reviewed due to content moderation or server errors (2)
  • modules/interpretability/class_lung_lesion.ipynb
  • computer_assisted_intervention/endoscopic_inbody_classification.ipynb

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>
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>
…ax_epochs; fix stale pending table

- runner.sh: hovernet_infer_compare.ipynb does not exist in the repo;
  the exemption was a dead entry that could never match. Removed.
- diagnose_1_6_release.md: PEP8 row removed from the 'Still pending'
  table (autofix was already applied and marked done at line 401).
  Also updated runner.sh change summary to reflect the actual skip list
  entries (deep_atlas_tutorial, 05_spleen_segmentation_lightning).

Signed-off-by: R. Garcia-Dias <rafaelagd@gmail.com>
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.

1 participant