After tweaking the llamacpp settings, this model is a goat (crazy good)

#23
by lolren - opened

docker run -d --gpus all
--name llama-cpp-ornith-35b-q8
--restart unless-stopped
--shm-size 32g
-p 8090:8000
-v "$MODEL_DIR:/models:ro"
ghcr.io/ggml-org/llama.cpp:server-cuda
--host 0.0.0.0
--port 8000
-m /models/ornith-1.0-35b-gguf-q8/ornith-1.0-35b-Q8_0.gguf
-c 262144
-n 16384
-b 2048
-ub 256
-ngl 99
-ts 0.55,0.45
-fa on
--cache-type-k q8_0
--cache-type-v q8_0
-np 1
--jinja
--reasoning auto
--reasoning-format deepseek
--reasoning-budget 4096
--reasoning-preserve
--chat-template-kwargs '{"preserve_thinking":true}'
--temp 0.6
--top-p 0.95
--top-k 20
--min-p 0.0
--repeat-penalty 1.08
--repeat-last-n 4096
--presence-penalty 0.0
--frequency-penalty 0.0

this works amazing for me!
2x3090
Try it!

Have you been able to get MTP to work during your testing?

The model is fast enough to care about MTPπŸ˜…

Why are you running on llama. cpp? Is it because of Q8 quantization? What are your respective speeds for prefill and decode?
I use VLLM to run it, although it can only run Q4 quantization to maintain the 262144 context.
When I was running Llama.cpp, I found that the prefill prompt could not hit the cache, which would take a long time for long context TTFT, and decoding speed was not worth the cost.

Is there any actual use case you tested with the config you shared here?

Sign up or log in to comment