9 karma · joined Aug 11, 2025 (1y ago) · 2 submissions
comment 1y ago · link · parent
"GLM4-Air":
env:
- "CUDA_VISIBLE_DEVICES=1"
proxy: "http://127.0.0.1:9999"
cmd: >
/app/llama-server
--cache-type-k q8_0 --cache-type-v q8_0
--flash-attn
--ctx-size 32684
--jinja
-ngl 20
--model /modelfiles/GLM-4.5-Air-UD-Q4_K_XL-00001-of-00002.gguf
--port 9999
When run via docker this gets you a similar setup to ollama. The yaml file also needs TTL set if you want it to unload models after an idle period.Ollama native models in their marketplace have these params supposedly set correctly to save you having to do this config but in practice this is hit or miss and often these change from day 0 of the release.
comment 1y ago · link · parent
https://github.com/ollama/ollama/issues/5245
Sadly it is not and the issue still remains open after over a year meaning ollama cannot run the latest SOTA open source models unless they covert them to their proprietary format which they do not consistently do.
No surprise I guess given they've taken VC money, refuse to properly attribute the use things like llama.cpp and ggml, have their own model format for.. reasons? and have over 1800 open issues...
Llama-server, ramallama or whatever model switcher ggerganov is working on (he showed previews recently) feel like the way forward.