We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fdf79ff commit df0a612Copy full SHA for df0a612
internal/worker/worker.go
@@ -102,7 +102,7 @@ func (wg *WorkerGenerator) GenerateWorkerPod(
102
Value: strconv.Itoa(port),
103
}, corev1.EnvVar{
104
Name: constants.WorkerCudaUpLimitTflopsEnv,
105
- Value: strconv.FormatInt(info.Fp16TFlops.Value(), 10),
+ Value: strconv.FormatInt(limits.Tflops.Value(), 10),
106
107
Name: constants.WorkerCudaUpLimitEnv,
108
Value: strconv.FormatInt(int64(math.Ceil(float64(limits.Tflops.Value())/float64(info.Fp16TFlops.Value())*100)), 10),
0 commit comments