Autonomous agent for porting HuggingFace models to NeuronX Distributed Inference (NXDI) for AWS Trainium/Inferentia hardware. Accepts model parameters and executes the full porting workflow: knowledge base analysis, architecture analysis, implementation, compilation, inference testing, and validation. Context: User…
Autonomous agent for porting HuggingFace models to the vLLM-Neuron Trainium2 backend. Accepts a model name and HuggingFace model ID, then executes the full porting workflow: architecture research, code generation, model registration, and validation, including Disaggregated Inference (colocated and multi-node…
Verify functional equivalence between a source (reference) and target (ported) model implementation using the 8-stage equivalence pipeline. Covers model tree comparison, component-level R-ratio testing, E2E logit comparison, distributional checks, and downstream evaluation. Use when porting models between frameworks…
Unified NKI kernel development agent. CRITICAL: Before writing any NKI code, read the language constraint reference at skills/neuron-nki-writing/references/nki-language-constraint.md for the required API patterns and reference kernel template. Context: Kernel won't compile user: "Fix these compilation errors in my…
Use this agent for autonomously debugging and fixing NKI kernel compilation errors. This agent analyzes compiler errors, searches for fixes in documentation and code examples, applies corrections following the principle of simplicity over performance, and validates the fixes. Context: User has a kernel with…
Profile and analyze NKI kernels on Neuron hardware. Captures execution traces, ingests profiles, computes performance bounds, identifies bottleneck engines, and runs investigations to localize inefficiencies to NKI source lines. Context: User wants end-to-end profiling and analysis user: "Profile and analyze my matmul…
Use this agent for writing new NKI kernels or modifying existing ones. Handles translation from PyTorch/NumPy/natural language, adding shape/dtype support, refactoring tiling strategies, and implementing new features in NKI code. Follows Beta 2 API patterns. Context: User has PyTorch code and wants NKI version user…
Port a HuggingFace model architecture to the vLLM-Neuron Trainium2 backend. Handles architecture research, code generation, and validation, including Disaggregated Inference (DI) support, both colocated single-node and multi-node prefill/decode, and speculative decoding (the port as an EAGLE3 or native-MTP target).
Port a HuggingFace model to NeuronX Distributed Inference for AWS Trainium/Inferentia. Use when the user says "port model", "autoport", "convert to neuron", "compile for trainium", or invokes /neuron-framework-autoport. Handles the full workflow: knowledge base analysis, architecture analysis, NeuronX implementation…
Verifies functional equivalence between two implementations of the same model using a hierarchical 8-stage algorithm. Orchestrates model tree comparison, component-level R-ratio testing, E2E logit comparison, and distributional checks. Use when porting models between frameworks, hardware targets, or precision regimes…
This skill guides debugging NKI compilation errors on Neuron hardware. Use when encountering "compiler error on device", "debug NKI kernel", "test kernel on trn2/trn3", "neuronx-cc compilation failed", "validate kernel on hardware", "run kernel on trainium", or asking "how to debug NKI compilation errors on device".
Research NKI documentation for API lookups, tutorials, error codes, architecture, and optimization guides. Use when user asks "what does do", "how to do ", "what is error ", "NKI signature", "find NKI tutorial for ", "look up ", or needs any NKI documentation reference.
Query and analyze NKI kernel profile data from neuron-explorer parquet files. Supports SQL queries via the neuron-explorer API and Python on parquet for advanced analysis. Works locally on trainium with NEFF/NTFF files on disk. Querying: start neuron-explorer, ingest profiles, run SQL against tables (Summary…
This skill guides using the cli to generate NKI kernel profiles (NEFF + NTFF pairs) to analyze performance on Neuron hardware. Use when encountering "profile kernel", "capture execution trace", "generate NEFF", "get summary-json", or asking "how to profile NKI kernel".
Guide for writing and modifying NKI kernels. Covers new kernel creation from PyTorch/NumPy/natural language, editing existing kernels, adding shape/dtype support, refactoring tiling strategies, and implementing new features in NKI code. Use when user says "write NKI kernel", "convert PyTorch to NKI", "translate numpy…
Ingests vllm-neuron model execution artifacts (NEFF/NTFF/system-trace) into parquet using neuron-explorer and analyzes them: identifies prefill/decode NEFFs, segments by collective boundaries, computes per-engine bounds and DMA efficiency, localizes the binding bottleneck (compute/collective/host), and produces…
Profiles vllm-neuron models on Trainium: runs benchmarks with profiling env vars, identifies output artifacts (NEFFs, system traces), and captures device-level and host-level traces (NTFF, system trace .pb files) for a live vllm-neuron workload. Use when the user wants to profile/benchmark a vllm-neuron model, capture…
Computes the per-operator hardware-entitlement floor — the theoretical minimum per-device time and bytes each matmul-class operator MUST pay — for a chosen transformer-LLM inference parallelism config on AWS Neuron (Trainium trn1/trn2/trn3), and attributes a deployed graph's actual resident HBM back to those operator…
Plans tensor/pipeline/context-parallelism (TP/PP/CP) and data-parallelism (DP) replica configurations for transformer LLM inference on AWS Neuron (Trainium trn1/trn2/trn3), using an analytic hardware-entitlement model validated against a meta-device FLOP-counter oracle. Use when deciding how to shard a model for…
Ingests vllm-neuron model execution artifacts into parquet using neuron-explorer and guides profile analysis: identifies prefill/decode NEFFs, segments by collective boundaries, computes per-engine bounds and DMA efficiency, and produces structured workload reports. Use when encountering "analyze profile", "ingest…
Guides profiling vllm-neuron models on Trainium: capturing device (NTFF) and system traces from a live server via vLLM's /startprofile and /stopprofile endpoints (the primary method), or offline via vllm bench throughput + neuron-explorer capture (fallback). Covers the neuronprofiler config, steady-state decode…
Computes per-operator mandatory compute/HBM work and component-boundary activation HBM for a single transformer-LLM inference parallelism config on AWS Neuron (Trainium trn1/trn2/trn3), and attributes a deployed graph's actual resident HBM back to those operator floors. Use when localizing which operator or component…
Plans TP/CP/DP/EP and component-wise sharding for transformer inference on AWS Neuron using an analytic hardware-entitlement model. The required run-spec selects the serving planner automatically: colocated uses global sharding; disaggregated recommends both DI servers (the kvproducer prefill server and the…
Orchestrates the end-to-end AutoBridge model-optimization workflow on AWS Neuron: takes a model (or pre-ported bundle) plus a joint latency+throughput SLA and drives the specialized Neuron perf agents in a fixed order — parallelism planning, hardware entitlement, profiling, profile analysis, kernel/framework…
At most 3 mods per repository are shown here, and a mod shipped inside a plugin is left to that plugin's page — the rest are on their repository pages: