Skip to content

Add mixed-device LabelStats handling and tests#1

Merged
benediktjohannes merged 2 commits intobenediktjohannes:patch-1from
garciadias:pr-8708-mixed-device-labelstats
Mar 17, 2026
Merged

Add mixed-device LabelStats handling and tests#1
benediktjohannes merged 2 commits intobenediktjohannes:patch-1from
garciadias:pr-8708-mixed-device-labelstats

Conversation

@garciadias
Copy link
Copy Markdown

Summary

  • align label tensors to the image tensor device in LabelStats
  • add parameterized mixed-device coverage for LabelStats
  • cover CPU-only, GPU-only, and mixed CPU/CUDA paths

Context

This is a follow-up stacked PR for Project-MONAI#8708.

Validation

  • /home/rd24/kcl/MONAI/.venv/bin/python -m unittest tests.apps.test_auto3dseg

@benediktjohannes
Copy link
Copy Markdown
Owner

Thank You very much @garciadias!

@benediktjohannes benediktjohannes merged commit 1a2598b into benediktjohannes:patch-1 Mar 17, 2026
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