CPU tests compare BitNet and Bonsai GGUFs against references

Community discussion Reddit r/LocalLLaMA · Individual views, not representative.

According to the Reddit community, a comparison of BitNet and Ternary-Bonsai files found that correct CPU output and speed depend heavily on the model format, runtime and processor. The tests used an ARM server with a Neoverse-N1 and x86 virtual machines with AVX2.

In the measurements, the main bitnet.cpp version produced perplexity about six times higher than the Transformers reference for BitNet b1.58 2B4T on x86; on ARM, it printed “????”. A fix to the activation function and an ARM kernel corrected the output in a tested change. As an option without patches, the report lists ik_llama.cpp after converting the file to iq2_bn_r4.

The 1.7-billion-parameter Bonsai files produced correct output in the tested runtimes wherever they loaded. For prompt processing on x86, PQ2_0 reached 71 tokens per second in ik_llama.cpp with -rtr enabled; the option is off by default. The tests also document files that would not load and performance differences between formats and runtimes.

The author asks other CPU users to share their processor, runtime and experience with -rtr. Measurements are still missing for, among others, AVX-512, newer Graviton processors and Raspberry Pi 5. The report includes measurement details, scripts and a notebook subset: Reddit post and linked benchmark report.

🇬🇧 https://www.reddit.com/r/LocalLLaMA/comments/1xa3yqk/i_checked_bitnet_and_bonsai_on_cpu_against

Leave a Comment

The weekly brief: selected developments, projects and videos