Skip to content

Commit

Permalink
Switch to pynvml_utils.smi for PyNVML 12
Browse files Browse the repository at this point in the history
  • Loading branch information
jakirkham authored Jan 13, 2025
1 parent 8507cbf commit de169b9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
def init_pytorch_worker(rank: int, use_rmm_torch_allocator: bool = False) -> None:
import cupy
import rmm
from pynvml.smi import nvidia_smi
from pynvml_utils.smi import nvidia_smi

smi = nvidia_smi.getInstance()
pool_size = 16e9 # FIXME calculate this
Expand Down

0 comments on commit de169b9

Please sign in to comment.