openTPU is an open-source AI accelerator project that exposes an entire inference hardware stack in one readable repository. It includes SystemVerilog RTL, a custom instruction set, a bit-exact simulator, a kernel language, compiler tooling, host software, and profiling utilities. The hardware design runs on a Xilinx Kintex-7 PCIe FPGA card and has been demonstrated with modern language models including Qwen, LFM, Gemma, SmolLM, and Phi variants. Both int8 and compact 4-bit weight formats are supported to trade memory use, accuracy, and throughput. Validation tools compare simulator, RTL, FPGA, and Hugging Face reference outputs to detect implementation differences. The included Lens profiler exposes timelines, roofline information, and per-instruction behavior. Command-line chat, monitoring tools, diagnostics, and an OpenAI-compatible inference server make the accelerator usable beyond low-level hardware experiments.

Features

  • SystemVerilog AI accelerator RTL
  • Custom ISA and bit-exact simulator
  • Kernel language and compiler
  • Int8 and 4-bit model execution
  • Hardware profiler and diagnostic tools
  • OpenAI-compatible inference server

Project Samples

Project Activity

See All Activity >

License

Apache License V2.0

Follow openTPU

openTPU Web Site

Other Useful Business Software
Earn up to 16% annual interest with Nexo. Icon
Earn up to 16% annual interest with Nexo.

Let your crypto work for you

Put idle assets to work with competitive interest rates, borrow without selling, and trade with precision. All in one platform. Geographic restrictions, eligibility, and terms apply.
Get started with Nexo.
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of openTPU!

Additional Project Details

Programming Language

VHDL/Verilog

Related Categories

VHDL/Verilog Artificial Intelligence Software

Registered

2 hours ago