mirror of
https://github.com/ollama/ollama.git
synced 2026-10-22 03:22:02 +00:00
Merge pull request #1874 from dhiltgen/correct_cuda_min
Set corret CUDA minimum compute capability version
This commit is contained in:
commit
e89dc1d54b
1 changed files with 2 additions and 2 deletions
|
|
@ -26,8 +26,8 @@ type handles struct {
|
|||
var gpuMutex sync.Mutex
|
||||
var gpuHandles *handles = nil
|
||||
|
||||
// TODO verify this is the correct min version
|
||||
const CudaComputeMajorMin = 5
|
||||
// With our current CUDA compile flags, 5.2 and older will not work properly
|
||||
const CudaComputeMajorMin = 6
|
||||
|
||||
// Note: gpuMutex must already be held
|
||||
func initGPUHandles() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue