This document is relevant for: Inf1, Inf2, Trn1, Trn2, Trn3
Tutorials#
Step by step guides for using Neuron Agentic Development agents and skills on real tasks.
Note
The NxD Inference autoport tutorial is archived. Neuron 2.33.0 is the last release that supports NxD Inference on Trn2 and Trn3. See Tutorial: Port a HuggingFace model to NxD Inference using the Autoport skill (archived).
Capture two device profiles of a vLLM Neuron model on Trainium, one containing only prefill and one containing only steady-state decode, and confirm from the manifest that each trace is real before handing it to the analysis skill.
Work interactively with the analysis agent to find where the time goes: which graphs ran, a step’s roofline floors, its binding engine, its collective share, and which model component is responsible, with five checks that catch a plausible but wrong answer.
Walk through computing per-operator floors for the planner’s recommended config using the Hardware Entitlement agent. Covers decode and prefill floors, how the binding moves with batch and context, and actual-versus-floor HBM attribution.
Drive a served model to a joint latency and throughput target on one trn2 instance. Covers reconciling the SLA into a single serving config, the feasibility and capture gates, the config sweep that usually pays most, and reading the final verdict.
This document is relevant for: Inf1, Inf2, Trn1, Trn2, Trn3