canhazgpu run automatically sets CUDA_VISIBLE_DEVICES. reserve includes a hint in the output about setting that same variable.
There is also NVIDIA_VISIBLE_DEVICES when working with containers.
https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/latest/docker-specialized.html
We should consider changes to make working with containers and GPU reservations easier.
canhazgpu runautomatically setsCUDA_VISIBLE_DEVICES.reserveincludes a hint in the output about setting that same variable.There is also
NVIDIA_VISIBLE_DEVICESwhen working with containers.https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/latest/docker-specialized.html
We should consider changes to make working with containers and GPU reservations easier.