nixos: gen 117 @ lilac — 2026-11-05 13:33 26.05.20261031.fa13731 (Yarara) -----
This commit is contained in:
@@ -83,14 +83,18 @@ in
|
|||||||
enable = true;
|
enable = true;
|
||||||
package = unstable.ollama-vulkan;
|
package = unstable.ollama-vulkan;
|
||||||
|
|
||||||
# Environment tweaks to manage Vulkan layers and memory boundaries
|
|
||||||
environmentVariables = {
|
environmentVariables = {
|
||||||
|
# Ensure the Vulkan loader can locate the Intel ICD driver json file
|
||||||
|
VK_ICD_FILENAMES = "${pkgs.intel-compute-runtime}/share/vulkan/icd.d/intel_icd.x86_64.json";
|
||||||
|
|
||||||
# Forces Ollama to strictly leverage Vulkan device routing
|
# Forces Ollama to strictly leverage Vulkan device routing
|
||||||
GGML_VULKAN_DEVICE = "0";
|
GGML_VULKAN_DEVICE = "0";
|
||||||
|
|
||||||
|
# Prevents multi-model concurrency thrashing on unified memory
|
||||||
|
OLLAMA_NUM_PARALLEL = "1";
|
||||||
|
|
||||||
# Hints the runner to allocate maximum context buffers in unified memory
|
# Optional: Set flash attention or high context limits if desired
|
||||||
# Adjust this if your desktop environment + apps feel constrained, but with 64GB you're safe.
|
OLLAMA_FLASH_ATTENTION = "1";
|
||||||
OLLAMA_NUM_PARALLEL = "1";
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-1
@@ -49,7 +49,7 @@ in
|
|||||||
networkmanagerapplet
|
networkmanagerapplet
|
||||||
nitrogen
|
nitrogen
|
||||||
nix-direnv
|
nix-direnv
|
||||||
unstable.ollama
|
unstable.ollama-vulkan
|
||||||
osv-scanner
|
osv-scanner
|
||||||
pasystray
|
pasystray
|
||||||
pkg-config
|
pkg-config
|
||||||
|
|||||||
Reference in New Issue
Block a user