Skip to content

Commit

Permalink
Add debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
Joeri Hermans committed Oct 15, 2020
1 parent de241a6 commit e8e8444
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gpus.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ func ParseTotalGPUs() float64 {
descriptor = strings.TrimPrefix(descriptor, "gpu:")
descriptor = strings.Split(descriptor, "(")[0]
node_gpus, err := strconv.ParseFloat(descriptor, 64)
log.Infof("Number of GPUs %f", node_gpus)
if err != nil {
num_gpus += node_gpus
}
Expand Down

0 comments on commit e8e8444

Please sign in to comment.