paper-with-me

Papers

Bitnet.cpp: Efficient Edge Inference for Ternary LLMs

2025-02-17 · Jinheng Wang, Hansong Zhou, Ting Song, Shijie Cao, Yan Xia, Ting Cao, Jianyu Wei, Shuming Ma, Hongyu Wang, Furu Wei

The advent of 1-bit large language models (LLMs), led by BitNet b1.58, has spurred interest in ternary LLMs. Despite this, research and practical applications focusing on efficient edge inference for ternary LLMs remain scarce. To bridge this gap, we introduce Bitnet.cpp, an inference system optimized for BitNet b1.58 and ternary LLMs. Given that mixed-precision matrix multiplication (mpGEMM) constitutes the bulk of inference time in ternary LLMs, Bitnet.cpp incorporates a novel mpGEMM library to facilitate sub-2-bits-per-weight, efficient and lossless inference. The library features two core solutions: Ternary Lookup Table (TL), which addresses spatial inefficiencies of previous bit-wise methods, and Int2 with a Scale (I2_S), which ensures lossless edge inference, both enabling high-speed inference. Our experiments show that Bitnet.cpp achieves up to a 6.25x increase in speed over full-precision baselines and up to 2.32x over low-bit baselines, setting new benchmarks in the field. Additionally, we expand TL to element-wise lookup table (ELUT) for low-bit LLMs in the appendix, presenting both theoretical and empirical evidence of its considerable potential. Bitnet.cpp is publicly available at https://github.com/microsoft/BitNet/tree/paper , offering a sophisticated solution for the efficient and practical deployment of edge LLMs.

📄 PDF Abstract BibTeX arXiv:2502.11880

Code (1)

microsoft/bitnet 공식 구현 pytorch

Methods 이 논문이 사용한 방법론

SPEED The monocular depth estimation (MDE) is the task of estimating depth from a single frame. This information is an essential knowledge in many computer vision tasks such as scene…
Library 설명 없음

Similar Papers 제목 키워드 기반

1-bit AI Infra: Part 1.1, Fast and Lossless BitNet b1.58 Inference on CPUs

2024-10-21 · Jinheng Wang, Hansong Zhou, Ting Song, Shaoguang Mao 외

Recent advances in 1-bit Large Language Models (LLMs), such as BitNet and BitNet b1.58, present a promising approach to enhancing the efficiency of LLMs in terms of speed and energy consumption. These developments also e…

BitNet Distillation

2025-10-15 · Xun Wu, Shaohan Huang, Wenhui Wang, Ting Song 외 arxiv

In this paper, we present BitNet Distillation (BitDistill), a lightweight pipeline that fine-tunes off-the-shelf full-precision LLMs (e.g., Qwen) into 1.58-bit precision (i.e., ternary weights {-1, 0, 1}) for specific do…

LLaVaOLMoBitnet1B: Ternary LLM goes Multimodal!

2024-08-23 · Jainaveen Sundaram, Ravi Iyer

Multimodal Large Language Models (MM-LLMs) have seen significant advancements in the last year, demonstrating impressive performance across tasks. However, to truly democratize AI, models must exhibit strong capabilities…

VibeVoice-ASR-BitNet Technical Report

2026-07-23 · Songchen Xu, Ting Song, Shaohan Huang, Zhiliang Peng 외 arxiv

We present VibeVoice-ASR-BitNet, a compressed variant of VibeVoice-ASR optimized for real-time inference on edge CPUs. We apply heterogeneous quantization tailored to the computational characteristics of each stage: the …

Direct Quantized Training of Language Models with Stochastic Rounding

2024-12-06 · Kaiyan Zhao, Tsuguchika Tabaru, Kenichi Kobayashi, Takumi Honda 외

Although recent quantized Large Language Models (LLMs), such as BitNet, have paved the way for significant reduction in memory usage during deployment with binary or ternary weights, training these models still demands s…