HF → GGUF / llama.cpp checklist¶
For normal (non-BitNet) HF LLMs on CPU, prefer GGUF + llama.cpp — not this repo’s XNOR wrap.
Steps¶
- Pick a base model with a compatible license.
- Convert with the current llama.cpp / Hugging Face GGUF conversion tooling for that model family.
- Quantize to
Q4_K_M(orQ5_K_Mif quality-sensitive). - Serve with
llama-cli/llama-server; set threads to physical cores. - Benchmark tokens/s at batch-1 (chat) separately from batch throughput.
Do not¶
- Expect this repo’s
binary_xnorwrap to make Llama chat-quality without QAT/distill. - Confuse GGUF INT4 with BitNet 1.58-bit (different format + runtime).
Related¶
- BitNet path:
docs/23_BITNET_CPP_BRIDGE.md - Decision tree:
docs/18_DECISION_TREE_AND_COMPLETE_ROADMAP.md - Recommend:
bnn recommend --goal cpu-llm