1BitShit CPU is the CPU-first inference runtime for the BKG 1BitShit project. It combines a Rust runtime with a patched llama.cpp backend for GGUF, BitNet and ternary-model experiments.
The repository started as Cluaiz. Public product surfaces are being migrated to 1BitShit while existing cluaiz_* Rust crates, FFI symbols and data layouts remain temporarily available as a compatibility layer.
llama.cpp buildThis is an active engineering build, not a finished binary distribution. The CPU backend builds successfully on the current development server, but changes should still pass a release build and smoke test before merging.
The low-bit patches are experimental. Performance and numerical claims require reproducible benchmarks against pinned upstream sources and known models.
Requirements:
libgomp) on LinuxBuild the complete release workspace:
cargo build --release
Build only the CPU Llama driver:
cargo run -p cluaiz-builder -- driver llama --profile release
The primary CLI binary is:
target/release/bitshit
Open the terminal interface:
bitshit
Inspect hardware:
bitshit status
Rebuild the hardware profile:
bitshit calibrate
Download a GGUF model:
bitshit pull <model-id>
Run a model:
bitshit run <model-id>
Start the local API:
bitshit serve
The Llama driver explicitly disables CUDA, Metal, Vulkan, ROCm/HIP, OpenVINO, SYCL, QNN and CANN. The CPU backend and OpenMP remain enabled.
GPU-related modules still exist in the wider codebase for future hybrid editions, but they are not part of the CPU driver build contract.
The build currently obtains llama.cpp during compilation. A production release must pin an audited upstream commit and verify patch preconditions before modifying upstream sources. Building against a moving master branch is intentionally listed as unresolved technical debt.
During the first rebranding phase:
1BitShit CPUbitshiteyshoit-commits/cluaiz-cpucluaiz_* crate and FFI names remain validInternal namespace migration will be performed separately so dynamic drivers and persisted installations do not break in one theatrical explosion.
Persisted hardware and booster state is decoded with safe bincode deserialization. Archived model DNA is validated before access. Mutable files are never passed directly to unchecked rkyv::archived_root().
The Llama FFI boundary checks required pointers before dereferencing them, and driver initialization does not permanently redirect the host process's standard output streams.
cmd/ bitshit CLI and TUI
interface-engines/llama/ CPU llama.cpp driver
interface-engines/neural_core/ shared inference contracts
Inference-engine/engines/ orchestration runtime
Inference-engine/engines/
cluaiz-shared/ compatibility-layer shared crate
inference-drivers/ driver discovery and resolution
inference-cel/ CEL and WASM execution
tools/cluaize-builder/ build orchestrator (legacy crate name)
llama.cpp commit.Apache-2.0. See LICENSE.
2 commits
Rust
94.6%
JavaScript
1.8%
HTML
1.8%
1BitShit CPU is the CPU-first inference runtime for the BKG 1BitShit project. It combines a Rust runtime with a patched llama.cpp backend for GGUF, BitNet and ternary-model experiments.
The repository started as Cluaiz. Public product surfaces are being migrated to 1BitShit while existing cluaiz_* Rust crates, FFI symbols and data layouts remain temporarily available as a compatibility layer.
llama.cpp buildThis is an active engineering build, not a finished binary distribution. The CPU backend builds successfully on the current development server, but changes should still pass a release build and smoke test before merging.
The low-bit patches are experimental. Performance and numerical claims require reproducible benchmarks against pinned upstream sources and known models.
Requirements:
libgomp) on LinuxBuild the complete release workspace:
cargo build --release
Build only the CPU Llama driver:
cargo run -p cluaiz-builder -- driver llama --profile release
The primary CLI binary is:
target/release/bitshit
Open the terminal interface:
bitshit
Inspect hardware:
bitshit status
Rebuild the hardware profile:
bitshit calibrate
Download a GGUF model:
bitshit pull <model-id>
Run a model:
bitshit run <model-id>
Start the local API:
bitshit serve
The Llama driver explicitly disables CUDA, Metal, Vulkan, ROCm/HIP, OpenVINO, SYCL, QNN and CANN. The CPU backend and OpenMP remain enabled.
GPU-related modules still exist in the wider codebase for future hybrid editions, but they are not part of the CPU driver build contract.
The build currently obtains llama.cpp during compilation. A production release must pin an audited upstream commit and verify patch preconditions before modifying upstream sources. Building against a moving master branch is intentionally listed as unresolved technical debt.
During the first rebranding phase:
1BitShit CPUbitshiteyshoit-commits/cluaiz-cpucluaiz_* crate and FFI names remain validInternal namespace migration will be performed separately so dynamic drivers and persisted installations do not break in one theatrical explosion.
Persisted hardware and booster state is decoded with safe bincode deserialization. Archived model DNA is validated before access. Mutable files are never passed directly to unchecked rkyv::archived_root().
The Llama FFI boundary checks required pointers before dereferencing them, and driver initialization does not permanently redirect the host process's standard output streams.
cmd/ bitshit CLI and TUI
interface-engines/llama/ CPU llama.cpp driver
interface-engines/neural_core/ shared inference contracts
Inference-engine/engines/ orchestration runtime
Inference-engine/engines/
cluaiz-shared/ compatibility-layer shared crate
inference-drivers/ driver discovery and resolution
inference-cel/ CEL and WASM execution
tools/cluaize-builder/ build orchestrator (legacy crate name)
llama.cpp commit.Apache-2.0. See LICENSE.
2 commits
Rust
94.6%
JavaScript
1.8%
HTML
1.8%