"git@developer.sourcefind.cn:change/sglang.git" did not exist on "f24fc5b86da061c0e6fe5a659952711f5bb8b651"
Commit 1961a81f authored by Daniel Hiltgen's avatar Daniel Hiltgen
Browse files

Set corret CUDA minimum compute capability version

If you attempt to run the current CUDA build on compute capability 5.2
cards, you'll hit the following failure:
cuBLAS error 15 at ggml-cuda.cu:7956: the requested functionality is not supported
parent 8a8c7e7f
...@@ -26,8 +26,8 @@ type handles struct { ...@@ -26,8 +26,8 @@ type handles struct {
var gpuMutex sync.Mutex var gpuMutex sync.Mutex
var gpuHandles *handles = nil var gpuHandles *handles = nil
// TODO verify this is the correct min version // With our current CUDA compile flags, 5.2 and older will not work properly
const CudaComputeMajorMin = 5 const CudaComputeMajorMin = 6
// Note: gpuMutex must already be held // Note: gpuMutex must already be held
func initGPUHandles() { func initGPUHandles() {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment