This document is relevant for: Inf1, Inf2, Trn1, Trn2, Trn3

Developer Guides#

These guides explain how Neuron Agentic Development skills work internally. Read them to understand the architecture, decision logic, and validation strategies that the agents use.

Note

The NxD Inference variant of the Autoport skill (neuron-framework-autoport) is archived. Neuron 2.33.0 is the last release that supports NxD Inference on Trn2 and Trn3. See Deep dive: Port HuggingFace models to NxD Inference with the Autoport skill (archived).

Deep dive: Port GPU-compatible models to vLLM Neuron with the Autoport skill

How the Autoport vLLM Neuron skill researches model architectures, generates vLLM Neuron implementations for Trn2 and Trn3, registers them, and validates logits and equivalence against the GPU-compatible reference implementation.

Deep dive: Validate model ports with the Equivalence skill

How the Equivalence skill compares numerical output between a reference model and its vLLM Neuron port, with a legacy section for NxD Inference ports.

Deep dive: Capture device and system profiles from a vLLM Neuron server with the Profiling skill

How the Profiling skill isolates the prefill and decode phases into separate device traces, manages the server lifecycle so a capture does not orphan device-holding workers, and records a reproducible input and output contract for the analysis skill.

Deep dive: Localize performance bottlenecks with the Profile Analysis skill

How the Profile Analysis skill reads a capture’s system and device traces together: session workload timing, roofline bounds, a collective breakdown, and a per-component attribution, and which of those outputs are measured rather than approximate.

Deep dive: Plan inference parallelism with the Parallelism Planner skill

How the Parallelism Planner skill turns a model config and hardware constants into a TP, CP, and DP recommendation using an analytic entitlement model, before you run on hardware.

Deep dive: Find the binding operator with the Hardware Entitlement skill

How the Hardware Entitlement skill computes per-operator compute and HBM floors for a chosen config, and attributes a deployed graph’s resident HBM back to those floors.

Deep dive: Optimize a model to meet its SLA with the Framework Optimization skill

How the Framework Optimization skill reconciles a latency and throughput target into one single-node serving config, enforces the stage order behind two decision gates, and decides what counts as a measurement before a verdict is allowed.

This document is relevant for: Inf1, Inf2, Trn1, Trn2, Trn3