Significantly Lower Context Tokens (nctx) Compared to preview-v1 Variant?

#2
by neoresin - opened

I have been eagerly awaiting this model for so long! Thank you and Kyle Hessling so very much for performing this work and creating this model! πŸ™‡ It's truly awesome.

I've been using the preview-v1 model for a fair bit with Opencode and I was able to hit 166400 tokens before compaction pretty reliably which gave a good size context window to work with. With this model, though, same Q4_K_M quantization, I only hit ~104000 tokens before it OOMs on my 4090.

Here's my commandline for both models:
/usr/bin/llama-server --port 7996 --ctx-size 166400 --fit on --cache-type-k q8_0 --cache-type-v q8_0 -fa on --api-key 'XXX' --repeat-penalty 1.0 --temp 0.6 --top-p 0.95 --min-p 0.0 --top-k 20 --presence-penalty 0.0 --image-min-tokens 1024 --chat-template-kwargs '{"preserve_thinking":true}' --reasoning on --jinja --chat-template-file '/dir/Qwen-Fixed-Chat-Templates/chat_template.jinja' --mmproj '/models/Qwopus3.6-27B-v1-preview-mmproj.gguf' --model '/models/Qwopus3.6-27B-v1-preview-Q4_K_M.gguf'
/usr/bin/llama-server --port 8076 --ctx-size 166400 --fit on --cache-type-k q8_0 --cache-type-v q8_0 -fa on --api-key 'XXX' --repeat-penalty 1.0 --temp 0.6 --top-p 0.95 --min-p 0.0 --top-k 20 --presence-penalty 0.0 --image-min-tokens 1024 --chat-template-kwargs '{"preserve_thinking":true}' --reasoning on --jinja --chat-template-file '/dir/Qwen-Fixed-Chat-Templates/chat_template.jinja' --mmproj '/models/Qwopus3.6-27B-v2-mmproj.gguf' --model '/models/Qwopus3.6-27B-v2-Q4_K_M.gguf'

I'm not claiming to know everything when it comes to all this, but it just seems strange that it would drop by so much if it's nearly the same model as the preview-v1. Is there an explanation for this? Thanks in advance for any time spent! Sorry if I missed anything in your Model card that should explain this.

i am thinking to use this model Q4_K_M with https://github.com/TheTom/llama-cpp-turboquant
hoping to get 196k context, i have 2 X T4 (15 GB VRAM each) do you think i should use this model ?
did you saw any quality difference in the output?
i have never used these models before
i am thinking of testing these
also did you found out anything about the context problem you are facing ?

I just bailed and went back to the v1-preview, which still seems to work for me. It gets stuck in loops sometimes so I have to babysit it (playing with the --repeat-penalty at the moment [set to 1.1 seems to work, though the evaluation is ever-evolving]), but darn it: it's a good model. πŸ˜€ Using normal llama-server, though I'm intrigued by explorations into the turboquant or rotorquant arena. MTP didn't really do it for me, personally (while generation might be higher, the prompt processing tanked for me, so I didn't go that route), not that they're the same.
Have you seen good results with turboquant elsewhere?
I should say that I'm interested in getting this working with the context window that v1-preview has, if that's possible or if anyone has any good ideas why it changed from v1-preview to v2.

Sign up or log in to comment