Ternix: Learning and Deploying Ternary Language Models with Shared Scaling
Abstract
Demand for running large language models (LLMs) on edge devices has continued to grow recently. CPU-centric deployment extends on-device intelligence to hardware without dedicated GPUs, as CPUs are the most ubiquitous processors across these systems. We present Ternix-9B, which jointly learns ternary connections and shared group and source scales across all text parameters through online distillation from Qwen3.5-9B. To improve CPU inference efficiency, we combine compact weight encoding, table-lookup computation, and parallel scheduling. Evaluations across seven full benchmarks and nine x86 and ARM CPUs show that Ternix-9B achieves a 50.16% mean score (76.9% of the BF16 teacher) with a 2.53 GB CPU execution weight file, while decoding at 32.19 tokens/s on an Intel Core Ultra 5 laptop and 51.85 tokens/s on Apple M6.
Community
Introducing Ternix-9B, a ternary language model designed for efficient on-device CPU inference.
- 2.53 GB CPU execution weights for a 9B language model.
- 51.85 tokens/s on Apple M6.
- 32.19 tokens/s on an Intel Core Ultra 5 laptop.
- 76.9% of the BF16 teacher's average benchmark score.
- Evaluated across 7 full benchmarks and 9 x86/ARM CPUs.
Ternix jointly learns ternary connections and shared group/source scales through online distillation. Our CPU runtime combines compact 1.67-bit connection encoding, SIMD table lookup, and dependency-aware parallel scheduling.
We aim to make capable language models practical on everyday devices without dedicated GPUs or NPUs.
This is an automated message from the Librarian Bot. I found the following papers similar to this paper.
The following papers were recommended by the Semantic Scholar API
- N-Gram Memories at Two Bits: Quantizing Lookup Tables in Large Language Models (2026)
- StrataFlux: Memory-Hierarchy-Native Low-Bit LLM Inference (2026)
- PACT: NVFP4 Data-Flow LoRA Fine-Tuning on Consumer GPUs (2026)
- How Far Are We From On-Device VLM Inference? A Measurement Study on Edge NPUs (2026)
- Transformer-FSQ: Discrete Latents for Extreme KV-Cache Compression (2026)
- Cascadia: Resident 975B MoE Inference on Eleven AI PCs (2026)
- BitLLM: Efficient Low-Bit, Conversion-Hiding LLM Decoding on Mobile GPUs (2026)
Please give a thumbs up to this comment if you found it helpful!
If you want recommendations for any Paper on Hugging Face checkout this Space
You can directly ask Librarian Bot for paper recommendations by tagging it in a comment: @librarian-bot recommend
Models citing this paper 0
No model linking this paper
Datasets citing this paper 0
No dataset linking this paper
Spaces citing this paper 0
No Space linking this paper
