GGUF
conversational

GGUF Quantization Process?

#1
by benjaminradio - opened

Hey cturan- I’m curious about how you converted this model to GGUF for quantization. I’m trying to quantize K2-Think-V2 and keep running into tokenizer issues, but according to the model card it uses the same tokenizer as this one. Did you have to do anything special to get this model converted? You quant of this model works great for me.

Thanks!

Owner

Hello, to make the tokenizer recognized, a two-line addition is required in the convert_hf_to_gguf.py file in llama.cpp. If you want, you can check it here: https://github.com/cturan/llama.cpp/commit/be310b1bba3354061e479597c201aae25480bbd8
Screenshot 2026-03-19 at 21.32.03
Alternatively, you can directly use this fork to create the gguf file.

Ah that’s what I was missing. Thanks. For thinking, I just created a separate jinja template for with a pre-populated tag which I can load with stock llama.cpp. Not as flexible as your version, but it works.

Sign up or log in to comment