This document is relevant for: Trn2, Trn3
NKI API reference manual#
The NKI (Neuron Kernel Interface) API reference documents every module you use to write, compile, and run custom kernels on AWS Trainium and Inferentia. It covers the high-level kernel language, the low-level hardware ISA, multi-core collectives, and the decorators that compile and simulate kernels. Use the sections below to jump to the module you need.
Compile and run kernels#
Write kernels#
Hardware ISA#
Multi-core communication#
This document is relevant for: Trn2, Trn3