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).
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.
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.
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.
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