[BUG] check_env_specs
+ PixelRenderTransform
does not tolerate "cuda" device
#2236
Closed
3 tasks done
Labels
bug
Something isn't working
Describe the bug
Running
check_env_specs
on aTransformedEnv
which contains thePixelRenderTransform
fails.To Reproduce
Expected behavior
check_env_specs
succeeds and program terminates.System info
Describe the characteristic of your environment:
Reason and Possible fixes
A strict check appears to be conducted on the device strings, which results in the error.
For consistency with
PyTorch
in general, can consider substituting "cuda" with f"cuda:{torch.cuda.current_device()}"Depending on availability of
current_device()
on other devices, can consider implementing checks for those too.Checklist
The text was updated successfully, but these errors were encountered: