[Hardware][AMD][CI] Toggle test coredumps on ROCm debug agent (#47222)

Signed-off-by: Matthew Wong <Matthew.Wong2@amd.com>
This commit is contained in:
Matt
2026-06-30 23:30:10 -05:00
committed by GitHub
parent 9969466a59
commit 3c1396bab6
2 changed files with 16 additions and 1 deletions
+1 -1
View File
@@ -62,7 +62,7 @@ def _get_ray_assigned_device() -> torch.device:
def _set_ray_assigned_device() -> torch.device:
device = _get_ray_assigned_device()
torch.accelerator.set_device(device)
torch.accelerator.set_device_index(device)
return device