facebookincubator/AITemplate
AITemplate is a Python framework which renders neural network into high performance CUDA/HIP C++ code. Specialized for FP16 TensorCore (NVIDIA GPU) and MatrixCore (AMD GPU) inference. observed · 2026-08-28
Health v2 · maintenance only
66/100
- Activity 96
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 1510
- days_rel: n/a
- days_push: 26
- n_releases_24m: 0
Adoption not part of the score
4724 stars · 388 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
AITemplate is a Python framework that compiles deep neural networks into high-performance CUDA (NVIDIA) or HIP (AMD) C++ code for fast fp16 inference. It generates self-contained binaries with advanced horizontal, vertical, and memory kernel fusions without depending on third-party libraries like cuDNN or TensorRT.
Use cases
- serve fp16 transformer models like BERT or Stable Diffusion at near-roofline GPU performance
- compile neural networks into portable self-contained inference binaries
- run the same model efficiently on both NVIDIA and AMD GPUs
- fuse GEMM, LayerNorm, and elementwise ops into single GPU kernels
- deploy inference without PyTorch or CUDA runtime library dependencies
- add custom fused operators via simple Python codegen extensions
When to choose
- you need maximum fp16 inference throughput on NVIDIA or AMD GPUs
- you want self-contained binaries free of cuDNN/cuBLAS/TensorRT dependencies
- your models (ResNet, BERT, ViT, Stable Diffusion) benefit from aggressive kernel fusion
- you need one framework targeting both CUDA and HIP
When to avoid
- you need training or gradient support - it is inference-only
- you need fp32/int8 quantization or CPU inference
- you want a mature, actively evolving ecosystem - consider alternatives like TensorRT or torch.compile
- your workflow depends on dynamic shapes beyond its supported range
Facets
framework · maturity maintenance
deep-learning llm-inference compiler gpu-computing deep-learning machine-learning gpu-computing performance python cuda hip amd-gpu nvidia-gpu fp16 tensorcore inference-serving code-generation kernel-fusion linux gpu
1 source
- readme: https://github.com/facebookincubator/AITemplate · fetched 2026-08-28 · 665f06a48a04
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| facebookincubator/AITemplate | main | 66 |
For agents
markdown · JSON · MCP: product_card(name="facebookincubator/AITemplate")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem