Repository navigation
[FEATURE] Windows: ship the CUDA 12.4 llama.cpp runtime for pre-Turing GPUs (Pascal / GTX 10-series) #987
samartomar
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Summary
FluidVoice's llama.cpp runtime is installed from
llama-b9870-bin-win-cuda-13.3-x64.zip. CUDA 13 dropped Pascal support — it requires compute capability 7.5+ — so on a GTX 1070 (CC 6.1)ggml-cuda.dllnever loads and Fluid Intelligence falls back toggml-cpu-haswell.dll, running all-core AVX2 on the CPU.Upstream publishes a CUDA 12.4 build at the same build number, and CUDA 12.4 supports
sm_61. Could the runtime resolver pick the CUDA 12.4 archives when it detects a GPU below CC 7.5?Evidence from a local install
%LOCALAPPDATA%\FluidVoice\Runtimes\llama-cpp\llama-b9870\cuda\.fluidvoice-runtime.json:{ "runtime": "llama-cpp", "version": "llama-b9870", "accelerator": "cuda", "archives": [ "llama-b9870-bin-win-cuda-13.3-x64.zip", "cudart-llama-bin-win-cuda-13.3-x64.zip", "fluidvoice-llama-b9870-argmax-v2-win-x64.zip" ] }That directory contains
cublas64_13.dll/cublasLt64_13.dll/cudart64_13.dll— CUDA 13 only.Release
b9870upstream also ships:Same source revision, only the toolkit differs.
The two engines disagree
The parakeet runtime already ships CUDA 12:
So on this machine transcription accelerates on the GPU while the LLM cannot — the two bundled engines target different CUDA generations. Aligning llama.cpp with what parakeet already does would be internally consistent.
Not a VRAM problem
Both fit comfortably in the 1070's 8 GB with room for context. The card is blocked by build target, not capacity.
Proposal
cuda-12.4archives when the detected GPU is below CC 7.5,cuda-13.3at or above, and CPU only when neither fits. The FluidVoiceargmax-v2llama.dlloverlay should apply unchanged, since it linksggml.dll, not CUDA directly.llama-b9870-bin-win-vulkan-x64.zipas a fallback accelerator. Vulkan covers Pascal plus older AMD and Intel GPUs in one backend.Why the CPU fallback is worth avoiding
On this machine the fallback wasn't merely slow. Sustained all-core AVX2 on a Ryzen 9 3900X produced transient current spikes that tripped an ageing PSU — Kernel-Power 41,
BugcheckCode 0x0, no minidump — hard-powering the machine off every time Fluid Intelligence ran. Replacing the PSU with an ATX 3.0 unit (which must tolerate 200% excursions for 100 µs) fixed it, and Intelligence now runs stably on CPU.So the fallback path can surface as a whole-system power fault on older hardware, which is exactly the hardware most likely to have a pre-Turing GPU. Running on the GPU would have sidestepped it entirely.
Environment
llama-b9870, acceleratorcuda(13.3)parakeet-v0.4.0, acceleratorcuda(12)Related: #585 (Maxwell GPU-path crashes) and #586 (inference device setting with CPU fallback). That request covers falling back to CPU gracefully; this one is the complementary direction — letting pre-Turing cards use the GPU at all.
All reactions