Views
No views yet
convert_hf_to_gguf.py --outtype auto--spec-type draft-mtp --spec-draft-n-max 2 in llama.cpp for speculative decodingmmproj-F16.gguf vision projector (from unsloth/Qwen3.8-27B-GGUF)huihui-qwen3.8-27b-abliterated-nvfp4-mtp.gguf (~19 GB)1# Builds llama.cpp with NVFP4/MTP support, downloads source safetensors,
2# runs the conversion, and verifies the result. Everything installs to ~/.local.
3git clone https://gitlab.com/felippeburk/rtx-5090-cachyos-testing
4cd rtx-5090-cachyos-testing
5bash llama/setup-mtp.sh --model huihuillama.cpp/convert_hf_to_gguf.py <source-safetensors-dir> --outfile huihui-qwen3.8-27b-abliterated-nvfp4-mtp.gguf --outtype auto, run with torch + transformers in an isolated venv. Reproducible from the source safetensors at any time.-m huihui-qwen3.8-27b-abliterated-nvfp4-mtp.gguf \
--mmproj mmproj-F16.gguf \
-fitt 8192 -c 196608 -n 65536 -fa on -ngl 99 -np 1 -t 16 -tb 16 \
-ctk q8_0 -ctv q8_0 -ctkd q4_1 -ctvd q4_1 -ctxcp 16 -cram 6144 \
--cache-idle-slots --no-warmup \
--spec-type draft-mtp --spec-draft-n-max 2 \
--temp 1.0 --top-p 0.95 --top-k 20 --min-p 0.0 \
--presence-penalty 0.0 --repeat-penalty 1.0 \
--jinja --chat-template-file config/chat_template.jinja \
--reasoning on --reasoning-format deepseek --reasoning-budget 4096 \
--reasoning-budget-message "I have reached my reasoning budget. I will now provide my final answer or take the most appropriate action based on my analysis so far." \
--chat-template-kwargs '{"reasoning_effort":"medium"}'reasoning_effort medium. This abliterated fine-tune was validated at medium — at xhigh the think phase can run away past the token budget and never terminate. --chat-template-kwargs forces medium above; a patched chat template may default to xhigh.max_tokens budget with the answer. Set the client's max_tokens to at least 65536 (-n 65536 above) and give the server a --reasoning-budget (here 4096) so the thinking phase can't eat the entire output. With a too-small max_tokens, long prompts can produce reasoning but an empty final answer.--reasoning-budget-message tells the model to wrap up and answer once the budget is hit; without it, long tool-calling sessions can stall in thinking.presence_penalty 0.0 (the 0.7 / 1.5 values in some older configs are for instruct mode and hurt thinking-mode output).reasoning_effort only accepts xhigh / medium / low — there is no high level.--mmproj mmproj-F16.gguf (downloaded from unsloth/Qwen3.8-27B-GGUF).config/models.yaml of that GitLab repo.