Skip to content

Commit 2915b25

Browse files
awelling2801jamesETsmith
authored andcommitted
Remove comments in gpu_affinity
1 parent a937498 commit 2915b25

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

  • DGLPyTorch/DrugDiscovery/SE3Transformer/se3_transformer/runtime

DGLPyTorch/DrugDiscovery/SE3Transformer/se3_transformer/runtime/gpu_affinity.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -534,10 +534,10 @@ def main():
534534
Launch the example with:
535535
python -m torch.distributed.launch --nproc_per_node <#GPUs> example.py
536536
"""
537-
#if(gpu_availible=='cuda'):
538-
# pynvml.nvmlInit()
539-
#elif(gpu_availible=='rocm'):
540-
pyrocmml.rocmmlInit()
537+
if(gpu_availible=='cuda'):
538+
pynvml.nvmlInit()
539+
elif(gpu_availible=='rocm'):
540+
pyrocmml.rocmmlInit()
541541

542542
if mode == 'all':
543543
set_all(gpu_id, nproc_per_node, scope, cores, min_cores, max_cores)

0 commit comments

Comments
 (0)