Skip to content

Commit

Permalink
removing dcgm code cant test on actions container
Browse files Browse the repository at this point in the history
  • Loading branch information
Trenton White committed Oct 30, 2023
1 parent d3cf823 commit a2c60e4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions gpus_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,19 +53,19 @@ func TestGPUsMetrics(t *testing.T) {
t.Logf("Total GPUs: %v", totalGPUs)
}
}

/*
func TestGPUsGetMetrics(t *testing.T) {
metrics := GPUsGetMetrics()
t.Logf("Allocated GPUs: %v", metrics.alloc)
t.Logf("Idle GPUs: %v", metrics.idle)
t.Logf("Other GPUs: %v", metrics.other)
t.Logf("Total GPUs: %v", metrics.total)
t.Logf("Utilization: %v", metrics.utilization)
/* t.Logf("User GPUs DCGM: %v", metrics.UserGPUsDCGM)
t.Logf("User GPUs DCGM: %v", metrics.UserGPUsDCGM)
t.Logf("User GPUs SLURM: %v", metrics.UserGPUsSLURM)
*/
}
/*
func TestUserGPUsDCGM(t *testing.T) {
if os.Getenv("RUN_DCGM_TESTS") == "1" {
userGPUs := ParseUserGPUsDCGM()
Expand Down

0 comments on commit a2c60e4

Please sign in to comment.