Skip to content

Commit c0a3500

Browse files
fix: init pricing overwrite vram to 0 (#351)
* support dedicated gpus * support dedicated GPU * support dedicated GPU * fix test issue * fix init pricing override vran * Revert "fix init pricing override vran" This reverts commit d0bea18. * fix init pricing override vram
1 parent 0389852 commit c0a3500

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

internal/cloudprovider/pricing/pricing.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,9 @@ func SetTflopsMapAndInitGPUPricingInfo(ctx context.Context, gpuInfos *[]config.G
9494
return
9595
}
9696
for _, gpuInfo := range *gpuInfos {
97+
if tflopsMap[gpuInfo.FullModelName] != nil {
98+
continue
99+
}
97100
completeInfo := &CompleteGPUInfo{
98101
GpuInfo: &gpuInfo,
99102
}

0 commit comments

Comments
 (0)