01-server: ollama native CUDA 12.9 backend (sm_50) — carry-over of #23 into main #24
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/ollama-cuda12"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The CUDA swap (commit
e750cc2) was merged into its base branchfeat/ollama-vulkan-fixesvia PR #23, but that base branch had already been merged into main (PR #22) before #23 landed — so main never received the change. Running generation on 01 is stillpkgs.ollama-vulkan(journalctl showsOLLAMA_VULKAN:true).This PR carries the same single-file change into main:
package = pkgs.ollama.override { acceleration = "cuda"; cudaPackages = pkgs.cudaPackages_12; cudaArches = [ "sm_50" "sm_52" ]; }.After merge: pull
~/.nixon the build machine andnixos-rebuild switch01, then verify withjournalctl -u ollama -n 30 | grep -iE "cuda|vulkan"— expect the cuda_v12 runner and noOLLAMA_VULKANenv.