nixos: gen 123 @ lilac — 2026-11-06 09:15 26.05.20261031.fa13731 (Yarara) -----
This commit is contained in:
+7
-3
@@ -237,11 +237,15 @@ in
|
|||||||
baseURL = "http://localhost:11434/v1";
|
baseURL = "http://localhost:11434/v1";
|
||||||
};
|
};
|
||||||
models = {
|
models = {
|
||||||
"qwen3-coder-next:q4_K_M" = {
|
|
||||||
name = "Qwen3 Coder Next";
|
|
||||||
};
|
|
||||||
"qwen3.6:35b-a3b-q4_K_M" = {
|
"qwen3.6:35b-a3b-q4_K_M" = {
|
||||||
name = "Qwen3.6 35B Thinker";
|
name = "Qwen3.6 35B Thinker";
|
||||||
|
limit = {
|
||||||
|
context = 32768;
|
||||||
|
output = 32768;
|
||||||
|
};
|
||||||
|
options = {
|
||||||
|
num_predict = 32768;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -85,18 +85,12 @@ in
|
|||||||
|
|
||||||
environmentVariables = {
|
environmentVariables = {
|
||||||
OLLAMA_IGPU_ENABLE = "1";
|
OLLAMA_IGPU_ENABLE = "1";
|
||||||
|
|
||||||
# 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";
|
OLLAMA_NUM_PARALLEL = "1";
|
||||||
|
|
||||||
OLLAMA_KEEP_ALIVE = "-1";
|
OLLAMA_KEEP_ALIVE = "-1";
|
||||||
|
OLLAMA_NUM_PREDICT = "32768";
|
||||||
# Optional: Set flash attention or high context limits if desired
|
OLLAMA_CONTEXT_LENGTH = "32768";
|
||||||
#OLLAMA_FLASH_ATTENTION = "1";
|
OLLAMA_FLASH_ATTENTION = "1";
|
||||||
#OLLAMA_CONTEXT_LENGTH = "16384";
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user