Skip to content

Commit 6b0c260

Browse files
authored
Update nvidia-monitor.py
1 parent b62a86c commit 6b0c260

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nvidia-monitor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
1+
#!/usr/bin/awk BEGIN{a=ARGV[1];sub(/[a-z_.]+$/,".venv/bin/python",a);system(a"\t"ARGV[1])}
22
import time
33
from pynvml import *
44
from pynvml.smi import nvidia_smi

0 commit comments

Comments
 (0)