Skip to content

Commit

Permalink
fix iluvatar ixsmi monitor bug (#183)
Browse files Browse the repository at this point in the history
  • Loading branch information
forestlee95 authored Aug 4, 2023
1 parent 3700d04 commit 71ffe6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion training/iluvatar/iluvatar_monitor.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def run(self):

def gpu_mon(file):
TIMESTAMP = datetime.datetime.now().strftime('%Y-%m-%d-%H:%M:%S')
cmd = "ixsmi |grep 'Default'|awk '{print $3,$5,$9,$11,$13}'"
cmd = "export PATH=/usr/local/corex/bin:$PATH; export LD_LIBRARY_PATH=/usr/local/corex/lib; ixsmi |grep 'Default'|awk '{print $3,$5,$9,$11,$13}'"
process = subprocess.Popen(cmd,
shell=True,
stdout=subprocess.PIPE,
Expand Down

0 comments on commit 71ffe6e

Please sign in to comment.