Skip to content

fix: nvidia-smi failure aborts script before GPU fallback - #80

Open
andrewwhitecdw wants to merge 1 commit into
NVlabs:mainfrom
andrewwhitecdw:bugfix/run-eval-fad4398d
Open

fix: nvidia-smi failure aborts script before GPU fallback#80
andrewwhitecdw wants to merge 1 commit into
NVlabs:mainfrom
andrewwhitecdw:bugfix/run-eval-fad4398d

Conversation

@andrewwhitecdw

@andrewwhitecdw andrewwhitecdw commented Jul 27, 2026

Copy link
Copy Markdown

Problem

fix: nvidia-smi failure aborts script before GPU fallback

Fix

Replace:

NUM_GPUS="${NUM_GPUS:-$(nvidia-smi --list-gpus 2>/dev/null | wc -l | tr -d '[:space:]')}"

with:

NUM_GPUS="${NUM_GPUS:-$(nvidia-smi --list-gpus 2>/dev/null | wc -l | tr -d '[:space:]' || true)}"

Files changed

  • fast_ddrive/run_eval.sh

@andrewwhitecdw
andrewwhitecdw marked this pull request as ready for review August 3, 2026 22:12
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