You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat(models): add BitNet (1.58-bit ternary) support #252
BitNet replaces standard Linear with BitLinear (ternary {-1, 0, 1} weights plus activation quantization). This is the heaviest item in the new-model batch: it needs a ternary-weight linear path that does not exist in mlxcel today, so it touches the quantized-op / core layer level, not just a new model file. Validate output parity carefully against the reference.
Acceptance criteria
BitLinear (ternary weight plus activation quantization) implemented in the core layer / quantized-op path.
src/models/bitnet.rs implemented and registered in src/models/detection.rs.
bf16 / f16 handling consistent with mlxcel's quantized-weight policy (do not promote quantized scales / biases).
Unit tests for BitLinear numerics; docs/supported-models.md updated.
Validated with a real mlx-community BitNet checkpoint.
Effort
High (new ternary linear path in the core ops layer).
Activity
feat(models): add BitNet b1.58 (1.58-bit ternary) support (#252) (#287)
feat(models): add BitNet b1.58 (1.58-bit ternary) support (lablup#252) (