BitNet transformer optimisation for FPGA

BitNet Transformer Optimisation for FPGA

View Code on GitHub
LLM BitNet Ternary Weights Lookup Tables FPGA

This project explores efficient inference for Microsoft’s BitNet b1.58 2B4T transformer. I converted its 2.08 billion ternary parameters into lookup-table operations designed for FPGA implementation.

What I Built

Tech Stack

Python, PyTorch, BitNet b1.58, ternary neural networks, lookup tables, fixed-point arithmetic and FPGA-oriented inference.