AWS Neuron 2.30.0 now available with NKI 0.4.0 and 22 new NKI Library kernels
22 new NKI kernels, Trn3 FP8 support, AI-driven model porting, and Kubernetes topology-aware scheduling land in one release.
View original announcement →Visual Summary
What's New
AWS Neuron 2.30.0 is now generally available, delivering NKI 0.4.0 with Trainium3-specific hardware capabilities, 22 new NKI Library kernels spanning production-ready and experimental workloads, and two new Neuron Agentic Development skills for automated model porting and validation. The release also introduces the Neuron DRA Driver for Kubernetes Dynamic Resource Allocation, enabling topology-aware scheduling of Trainium accelerators alongside Elastic Fabric Adapter interfaces. Additional improvements include significant Neuron Graph Compiler compile-time reductions and zero-copy host-device transfers enabled by default in the Neuron Runtime.
How It Works
- NKI 0.4.0 hardware extensions: Introduces the
activate2Scalar Engine instruction specifically for Trn3, OCP FP8 input support for matrix multiplication operations, and bytes-aware tile-size constants that reduce boilerplate and simplify kernel authoring. - NKI Library kernel additions: Adds 3 new production-grade core kernels (segmented attention, KV-parallel prefill, FP8 quantization) and 19 experimental kernels covering context parallelism, MXFP8 training, state-space models, and fused optimizers; PyTorch reference implementations are now available for 29 total kernels.
- Neuron Agentic Development skills:
neuron-framework-autoportorchestrates end-to-end porting of HuggingFace transformer models to NxD Inference—handling architecture analysis, compilation, and inference testing—whileneuron-framework-equivalencevalidates numerical equivalence between the original and ported model; both skills ship by default in all Neuron DLAMIs and Deep Learning Containers. - Neuron DRA Driver for Kubernetes: Implements the Kubernetes Dynamic Resource Allocation API to publish structured, attribute-rich descriptions of Trainium accelerators and EFA interfaces, allowing the Kubernetes scheduler to make topology-aware placement decisions (NUMA locality, PCIe proximity) rather than relying on count-based device plugins.
- Compiler and runtime improvements: The Neuron Graph Compiler delivers significant compile-time reductions through enhanced optimization passes, and the Neuron Runtime now enables zero-copy host-to-device transfers by default, reducing data movement overhead during inference and training.
- NKI kernel bypass architecture: NKI kernels bypass the first three compiler optimization stages (graph-level, loop-level, hardware intrinsics mapping) and feed directly into the compiler back-end, giving developers fine-grained control over NeuronCore ISA instructions from a Python/NumPy-like programming environment.
Why It's Important
- Unlocks Trainium3 hardware potential: The
activate2instruction and OCP FP8 matrix multiplication support expose Trn3-specific silicon capabilities that were previously inaccessible, enabling developers to extract maximum performance from the latest generation of AWS AI chips. - Accelerates custom kernel development: With 22 new library kernels and PyTorch reference implementations for 29 kernels, ML engineers have a rich, validated starting point for building high-performance attention, quantization, and optimizer kernels without starting from scratch.
- Reduces model porting friction: The agentic autoport and equivalence skills automate what was previously a multi-day manual process of analyzing model architecture, rewriting layers for NxD Inference, compiling, and validating numerical correctness.
- Simplifies Kubernetes AI infrastructure: The DRA driver eliminates weeks of custom scheduler tuning and init-container workarounds by making topology-aware accelerator and EFA co-location a native Kubernetes scheduling concern, directly improving distributed training throughput.
- Improves iteration speed: Compile-time improvements in the Neuron Graph Compiler shorten the edit-compile-test loop, which is a critical bottleneck when iterating on large model architectures or custom kernels.
- Lowers inference latency overhead: Zero-copy host-device transfers reduce CPU-to-accelerator data movement costs by default, benefiting latency-sensitive inference workloads without requiring any code changes.
How It's Different
- Hardware-specific ISA access vs. framework abstraction: Unlike CUDA or standard PyTorch, NKI gives developers direct, Python-based access to the NeuronCore ISA, bypassing compiler front-end stages for maximum control—comparable to Triton for GPUs but tailored to NeuronCore's tensorized memory access model.
- Agentic automation vs. manual porting guides: Competing SDK ecosystems typically provide documentation and code examples for model porting; Neuron Agentic Development provides autonomous AI agents that execute the porting workflow end-to-end inside coding environments like Claude Code and Kiro, including compilation and accuracy validation.
- DRA-native scheduling vs. device plugin model: The Neuron DRA Driver uses Kubernetes' structured resource description API rather than the legacy count-based device plugin model, enabling the scheduler to understand topology relationships between accelerators and EFA interfaces—a capability not available with standard device plugins.
- Integrated kernel library with reference implementations: The NKI Library ships PyTorch reference implementations alongside hardware kernels, allowing developers to verify correctness and benchmark against a known baseline, which is uncommon in low-level kernel SDKs.
- Unified stack from chip to framework: Neuron covers the full stack—compiler, runtime, kernel interface, distributed training libraries, and inference serving via vLLM—on a single SDK, whereas GPU-based stacks typically require assembling multiple third-party components.
When to Prefer It
- Building custom attention or quantization kernels: When standard framework operators are insufficient and you need segmented attention, KV-parallel prefill, or FP8 quantization kernels tuned to NeuronCore hardware, the new NKI Library kernels provide production-ready starting points.
- Training with FP8 or MXFP8 precision on Trn3: When targeting Trainium3 for mixed-precision or microscaling FP8 training workloads, NKI 0.4.0's OCP FP8 matrix multiplication support and MXFP8 experimental kernels provide the necessary hardware primitives.
- Porting HuggingFace models to Trainium at scale: When your team needs to migrate a portfolio of transformer models to NxD Inference and wants to minimize manual engineering effort, the
neuron-framework-autoportandneuron-framework-equivalenceagentic skills automate the workflow. - Running distributed training on Kubernetes: When managing multi-node Trainium training jobs in Kubernetes and struggling with accelerator-EFA topology mismatches or custom scheduler complexity, the Neuron DRA Driver provides native topology-aware scheduling.
- Optimizing inference latency for agentic AI workloads: When deploying latency-sensitive inference pipelines (e.g., agentic AI, RL inference) on Inf2 or Trn2 instances, the zero-copy host-device transfer default and compiler improvements reduce overhead without code changes.
- Experimenting with state-space models or context parallelism: When researching SSM architectures (e.g., Mamba-style models) or long-context parallelism strategies, the 19 new experimental NKI kernels provide hardware-optimized building blocks to accelerate research.
Availability
- General availability: AWS Neuron 2.30.0 is generally available as of May 26, 2026; Neuron Agentic Development (version 1.1) was launched in beta in April 2026 and is now included by default in all Neuron DLAMIs and Deep Learning Containers.
- Supported instance types: Available on Amazon EC2 Trn1, Trn2, Trn3, Inf1, and Inf2 instances; NKI 0.4.0 Trn3-specific features (e.g.,
activate2instruction) are exclusive to Trn3 hardware. - Regional availability: Available in all AWS Regions where EC2 Trn1, Trn2, Inf2, and Inf1 instances are offered; refer to the AWS Regional Services table for the current list of supported regions.
- Pricing model: AWS Neuron SDK is available at no additional charge; customers pay standard EC2 instance pricing for Trainium and Inferentia instances.
- Kubernetes DRA requirement: The Neuron DRA Driver requires a Kubernetes cluster configured with Dynamic Resource Allocation support; compatibility with specific Kubernetes versions should be verified against the release notes.
- Experimental kernels caveat: 19 of the 22 new NKI Library kernels are marked experimental, meaning APIs and behavior may change in future releases and they are not recommended for production use without validation.
Related Resources
- https://aws.amazon.com/blogs/containers/simplify-ai-infrastructure-for-aws-trainium-and-elastic-fabric-adapter-with-kubernetes-dynamic-resource-allocation/
- https://aws.amazon.com/about-aws/global-infrastructure/regional-product-services/
- https://awsdocs-neuron.readthedocs-hosted.com/en/latest/release-notes/index.html
- https://awsdocs-neuron.readthedocs-hosted.com/en/latest/nki/index.html
- https://awsdocs-neuron.readthedocs-hosted.com/en/latest/tools/neuron-agentic-development/index.html
- https://aws.amazon.com/ai/machine-learning/neuron/