Files
OBLITERATUS/scripts
Joseph MaglyandClaude Opus 5.5 260674a9fa fix(gpu): canonicalize GPU UUIDs in the module-placement qualification driver
torch reports device UUIDs without the "GPU-" prefix that nvidia-smi,
CUDA_VISIBLE_DEVICES and schedulers use. The driver (#356) compared raw
strings, so on real NVIDIA hardware:

- model workers were masked with the bare UUID, which CUDA does not
  accept ("No CUDA GPUs are available");
- select_uuids rejected nvidia-smi-form --uuids;
- visible_device_records could not join the nvidia-smi inventory, leaving
  pci_bus_id, physical_ordinal and topology empty.

Add normalize_uuid (bare or GPU- prefixed, case-insensitive, to
GPU-<lowercase>; MIG identifiers left distinct) and use it at discovery,
selection, inventory join, worker UUID checks and evidence validation.
Found on an A100 run of module-placement-gpu at 7fee696.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 08:20:10 -04:00
..