Skip to content

fix: validate multi-GPU device selections - #786

Closed
nkbeast wants to merge 2 commits into
scverse:mainfrom
nkbeast:fix/validate-multi-gpu-device-selection
Closed

fix: validate multi-GPU device selections#786
nkbeast wants to merge 2 commits into
scverse:mainfrom
nkbeast:fix/validate-multi-gpu-device-selection

Conversation

@nkbeast

@nkbeast nkbeast commented Sep 2, 2026

Copy link
Copy Markdown

Summary

  • reject multi-GPU selections when no CUDA devices are available
  • validate list-based device IDs before comparing them with device bounds
  • add focused regression tests for both invalid states

Validation

  • ruff check — passed
  • python -m compileall — passed
  • git diff --check — passed
  • focused pytest collection is blocked because this environment lacks scanpy

Intron7 and others added 2 commits September 2, 2026 16:20
@Intron7

Intron7 commented Sep 2, 2026

Copy link
Copy Markdown
Member

RSC always needs GPUs cupy will fail earlier this defence is not needed

@Intron7 Intron7 closed this Sep 2, 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