Skip to content

Commit e8e8444

Browse files
author
Joeri Hermans
committed
Add debugging
1 parent de241a6 commit e8e8444

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

gpus.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ func ParseTotalGPUs() float64 {
6969
descriptor = strings.TrimPrefix(descriptor, "gpu:")
7070
descriptor = strings.Split(descriptor, "(")[0]
7171
node_gpus, err := strconv.ParseFloat(descriptor, 64)
72+
log.Infof("Number of GPUs %f", node_gpus)
7273
if err != nil {
7374
num_gpus += node_gpus
7475
}

0 commit comments

Comments
 (0)