[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-116591":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":15,"subscribersCount":15,"size":15,"stars1d":16,"stars7d":17,"stars30d":17,"stars90d":15,"forks30d":15,"starsTrendScore":18,"compositeScore":19,"rankGlobal":10,"rankLanguage":10,"license":20,"archived":21,"fork":21,"defaultBranch":22,"hasWiki":21,"hasPages":21,"topics":23,"createdAt":10,"pushedAt":29,"updatedAt":30,"readmeContent":31,"aiSummary":32,"trendingCount":15,"starSnapshotCount":15,"syncStatus":16,"lastSyncTime":33,"discoverSource":34},116591,"BitDecoding-FP4","OpenBitSys\u002FBitDecoding-FP4","OpenBitSys","Accurate, fast FP4 KV-cache decoding through algorithm-system co-design.","",null,"Python",60,6,55,0,2,5,9,49.54,"MIT License",false,"main",[24,25,26,27,28],"cuda","kv-cache-quantization","llm-inference","low-bit-quantization","vllm","2026-11-09 08:57:54","2026-11-22 21:13:59","\u003Cp align=\"center\">\n  \u003Cimg src=\"imgs\u002Ftitle.svg\" alt=\"BitDecoding-FP4\" width=\"550\">\n\u003C\u002Fp>\n\n\u003Cp align=\"center\">\n  \u003Ca href=\"https:\u002F\u002Farxiv.org\u002Fabs\u002F2611.09825\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FarXiv-2611.09825-b31b1b.svg\" alt=\"arXiv:2611.09825\">\u003C\u002Fa>\n  \u003Ca href=\"LICENSE\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FLicense-MIT-green.svg\" alt=\"License: MIT\">\u003C\u002Fa>\n  \u003Ca href=\"https:\u002F\u002Fgithub.com\u002FOpenBitSys\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FOpenBitSys-181717.svg?logo=github&amp;logoColor=white\" alt=\"OpenBitSys\">\u003C\u002Fa>\n\u003C\u002Fp>\n\nBitDecoding-FP4 delivers accurate, high-performance LLM decoding through\n**algorithm-system co-design**, combining **FP4 KV-cache quantization** with\nnative FP4 attention kernels. It integrates into vLLM as an out-of-tree `CUSTOM`\nbackend.\n\n## Overview\n\n![BitDecoding-FP4 system overview: accuracy-aware FP4 quantization, native FP4 decoding kernels, and a custom vLLM backend with paged FP4 KV storage and separate BF16 sink and recent-token buffers.](imgs\u002Foverview.svg)\n\n## Loss-less Accuracy\n\nBitDecoding-NVFP4 achieves **near-lossless accuracy**: across seven benchmarks,\nthe average score stays within **0.5 percentage points of BF16 KV** on\nQwen3-4B-Thinking-2507 and Qwen3-30B-A3B-Thinking-2507.\n\n![Paper accuracy table: scores on seven benchmarks and their average for both Qwen3 models.](imgs\u002Faccuracy.svg)\n\nResults on larger FP8-weight models:\n\n![Accuracy and KV-cache memory table for GLM-4.7 (GQA) and Hy4-preview (MLA).](imgs\u002Flarge-model-accuracy.svg)\n\n## Higher Serving Throughput.\n\nOn **NVIDIA B300**, BitDecoding-NVFP4 delivers **3.00×** (Qwen3-4B) and\n**2.62×** (Qwen3-30B-A3B) the BF16 KV throughput:\n\n![Paper serving throughput on B300: 64K input with TP=1 in the top row, and 128K input with TP=2 in the bottom row; each row compares both Qwen3 models.](imgs\u002Fe2e-serving-throughput.svg)\n\n> Concurrency: 1, 8, 16, 32, 64.\n\n## Setup\n\n### Requirements\n\n- 1 × NVIDIA B200 or B300 GPU (SM100 \u002F SM103)\n- CUDA 13.0 or newer (NVIDIA driver 580+)\n- Python 3.12 and [uv](https:\u002F\u002Fdocs.astral.sh\u002Fuv\u002F) (`pip install uv`)\n\n### Install\n\n```bash\ngit clone --recurse-submodules https:\u002F\u002Fgithub.com\u002FOpenBitSys\u002FBitDecoding-FP4.git\ncd BitDecoding-FP4\nbash tools\u002Fbootstrap_env.sh\n```\n\nAll the required packages are then installed in `_local\u002Fenvs\u002Fbd_fp4`.\n\n## Benchmark\n\nSee the [performance benchmark guide](benchmark\u002FREADME.md) for kernel and e2e-serving options.\n\n## Evaluation\n\nSee the [accuracy evaluation guide](evaluation\u002FREADME.md) for dataset installation and the evaluation benchmarks used in the paper.\n\n## License\n\nOriginal code is licensed under the [MIT License](LICENSE).\nThird-party components retain their own licenses; see [NOTICE](NOTICE).\n\n## Citation\n\nIf you use BitDecoding-FP4 in your research, please cite:\n\n```bibtex\n@misc{du2026bitdecodingfp4nativefp4kv,\n      title={BitDecoding-FP4: Native FP4 KV Cache Decoding via Algorithm-System Co-Design},\n      author={Dayou Du and Woon Yee Ng and Guangming Sheng and Nick Lau and Jianyi Cheng and Luo Mai},\n      year={2026},\n      eprint={2611.09825},\n      archivePrefix={arXiv},\n      primaryClass={cs.AI},\n      url={https:\u002F\u002Farxiv.org\u002Fabs\u002F2611.09825},\n}\n```\n","BitDecoding-FP4 是一个面向大语言模型（LLM）推理优化的 FP4 KV 缓存解码加速库。它通过算法与硬件协同设计，实现高精度、低开销的 FP4 量化 KV 缓存存储与原生 FP4 注意力解码核，并以自定义后端形式无缝集成至 vLLM。核心特点包括近无损精度（平均误差仅 ±0.5%）、在 B300 GPU 上达 2.6–3.0 倍 BF16 KV 吞吐提升，以及支持分页式 FP4 KV 存储与 BF16 沉降缓冲区。适用于对延迟和显存敏感的大规模 LLM 在线服务场景。","2026-11-24 04:53:57","CREATED_QUERY"]