nemo_rl.utils.nvml
#
Module Contents#
Functions#
Context manager for NVML initialization and shutdown. |
|
Convert a logical device ID to a physical device ID considering CUDA_VISIBLE_DEVICES. |
|
Get the UUID of a CUDA device using NVML. |
API#
- nemo_rl.utils.nvml.nvml_context()[source]#
Context manager for NVML initialization and shutdown.
- Raises:
RuntimeError – If NVML initialization fails