OpenTPU开源AI加速器可在FPGA运行模型
FeSens发布了OpenTPU,这是一个开源AI加速器项目,将硬件设计、指令集、模拟器、编译器和主机软件集中在同一个代码库中。项目称其已在FPGA卡上运行LFM2.5-230M、Qwen3、Qwen3.5、Gemma 4、SmolLM3和Phi-4-mini等模型,并实现模拟器与硬件逐位一致。
该项目为研究AI加速器设计以及在FPGA上运行模型提供了端到端实例。
An open-source AI accelerator, developed by AI.
openTPU brings the lessons of auto-arch-tournament to AI accelerators. It asks two questions: how far can AI agents go at hardware design, and can they build the chip that runs their own inference?
otpu-chat running LFM2.5-230M on the FPGA card (left), with otpu-smi showing the card's utilization and DRAM bandwidth (right).
A place to learn
openTPU is also a learning project. The whole accelerator lives in one small monorepo that you can read end to end: the hardware design (SystemVerilog), the instruction set, a bit-exact simulator, a kernel language and its compiler, and the host software that drives a real PCIe card. If you want to understand how an AI accelerator works, from a matmul in Python down to the wires, this is a good place to start.
Results
The design runs ten modern models with their real weights on an Inspur YPCB-00338 card (Xilinx Kintex-7 xc7k480t, two DDR3 channels), and the card produces the same tokens as the simulator, bit for bit.
#OpenTPU#FeSens#Liquid AI#Qwen3#Qwen3.5#Gemma 4#SmolLM3#Phi-4-mini