How matheus-c-feitosa/lowbit-atlas works
This repository is a reproducible CPU benchmark and correctness study for low-bit LLM formats and runtimes. Its main workflow is to run measurements on supported CPUs, parse runtime logs into structured records, retain published results, and compare reruns against those results; separate analysis produces summary charts. The README documents the measurement and reproduction scope, while the sampled scripts show parsing, comparison, and chart generation. The run, measure, and build scripts and the methodology were not sampled, so their internal calls are not inferred.
Main entry points: run.sh Run measurements · compare.py Rerun comparison · chart.py Summary charts · bitnet-b1.58-2b-4t.json BitNet measurements
Components 14
Measurement workflow
- Run measurements
scripts/run.sh - Measure suite
scripts/measure.sh - Runtime builds
scripts/build.sh - Shared helpers
scripts/common.sh - Log parser
scripts/parse_log.py
Results and methodology
- Methodology
METHOD.md - BitNet measurements
results/bitnet-b1.58-2b-4t.json - Bonsai measurements
results/bonsai-1.7b.json - 27B measurements
results/ternary-bonsai-2-27b.json - Reproduction notebook
notebooks/reproduce.ipynb
Analysis tools
- Rerun comparison
scripts/compare.py - Summary charts
scripts/chart.py
Other components
- Researcher
- LLM runtimes
Connections 15
- Researcher → Run measurements: starts rerun
README.md - Run measurements → LLM runtimes: runs benchmarks
- LLM runtimes → Log parser: produces logs
- Log parser → Run measurements: emits JSON
- Researcher → Reproduction notebook: reproduces study
- Run measurements → BitNet measurements: records measurements
README.md - Run measurements → Bonsai measurements: records measurements
README.md - Run measurements → 27B measurements: records measurements
README.md - Rerun comparison → BitNet measurements: reads reference
scripts/compare.py - Rerun comparison → Bonsai measurements: reads reference
scripts/compare.py - Rerun comparison → 27B measurements: reads reference
scripts/compare.py - Summary charts → BitNet measurements: reads measures
scripts/chart.py - Summary charts → Bonsai measurements: reads measures
scripts/chart.py - Researcher → Rerun comparison: checks rerun
scripts/compare.py - Researcher → Summary charts: views findings
README.md