Posts tagged announce-nki-specialization-change
Announcing changes to NKI specialization
- 16 October 2026
Starting with Neuron Release 2.33.0 (NKI 0.7.0), NKI specializes kernels by tracing them with Python. During tracing, each NKI API call records an operation in an intermediate representation (IR), which NKI then compiles. Previous versions specialized kernels with dedicated compiler lowering passes. Compilation and execution are unchanged. For how specialization, compilation, and execution fit together, see the NKI Language Guide.
Kernel developers can now use the full Python language during specialization, including generators and class inheritance. NKI meta-programming follows standard Python semantics.