Get up and running with Kimi, GLM, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models.
gpu: Ensure driver version set before variant (#6480)
Daniel Hiltgen7a1e1c1cafe4
diff --git a/gpu/gpu.go b/gpu/gpu.goindex 72d237a6c..10afb1e3f 100644--- a/gpu/gpu.go+++ b/gpu/gpu.go@@ -264,6 +264,8 @@ func GetGPUInfo() GpuInfoList {gpuInfo.computeMajor = int(memInfo.major)gpuInfo.computeMinor = int(memInfo.minor)gpuInfo.MinimumMemory = cudaMinimumMemory+ gpuInfo.DriverMajor = driverMajor+ gpuInfo.DriverMinor = driverMinorvariant := cudaVariant(gpuInfo)if depPath != "" {gpuInfo.DependencyPath = depPath@@ -275,8 +277,6 @@ func GetGPUInfo() GpuInfoList {}}gpuInfo.Name = C.GoString(&memInfo.gpu_name[0])- gpuInfo.DriverMajor = driverMajor- gpuInfo.DriverMinor = driverMinorgpuInfo.Variant = variant// query the management library as well so we can record any skew between the two