Skip to content

Commit 5950bfe

Browse files
author
Joeri Hermans
committed
Update
1 parent ef02bb4 commit 5950bfe

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

gpus.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,7 @@ func ParseOtherGPUs() float64 {
4747

4848
func ParseTotalGPUs() float64 {
4949
args := []string{"-h", "-o \"%n %G\""}
50-
output := Execute("sinfo", args)
51-
log.Fatal(output)
50+
output := string(Execute("sinfo", args))
5251

5352
return 10.0 // TODO Implement
5453
}

0 commit comments

Comments
 (0)