fix CUDA version URL

This commit is contained in:
Thien Tran 2025-05-30 10:01:28 +08:00 committed by Louis
parent 27146eb5cc
commit f32ae402d5
No known key found for this signature in database
GPG Key ID: 44FA9F4D33C37DE2

View File

@ -105,7 +105,7 @@ export async function downloadBackend(backend: string, version: string): Promise
}) })
} else if (backend.includes('cu12.0') && (await _isCudaInstalled('12.0'))) { } else if (backend.includes('cu12.0') && (await _isCudaInstalled('12.0'))) {
downloadItems.push({ downloadItems.push({
url: `https://github.com/menloresearch/llama.cpp/releases/download/${version}/cudart-llama-bin-linux-cu12.4-x64.tar.gz`, url: `https://github.com/menloresearch/llama.cpp/releases/download/${version}/cudart-llama-bin-linux-cu12.0-x64.tar.gz`,
save_path: await joinPath([llamacppPath, 'lib', 'cuda.tar.gz']), save_path: await joinPath([llamacppPath, 'lib', 'cuda.tar.gz']),
}) })
} }