← all publishers

xilinx

@xilinx source repo

41 published skills

  1. Vhls Opt · xilinx
    Vitis HLS command execution and code optimization. Use when: (1) running Vitis HLS commands (csim, csynth, cosim, pack, impl) from shorthand like 'run csynth config.cfg workdir', or (2) analyzing HLS C/C++ code for optimization (throughput, latency, II, fmax, resources). Trigger on mentions of 'vhls', 'hls run', 'run csynth/csim/cosim/pack/impl', 'hls optimize', 'baseline', or HLS performance analysis requests.
    0
    installs
  2. Xsct To Python Converter · xilinx bundle
    XSCT to Python API Converter
    0
    installs
  3. Aie Hw Bringup · xilinx
    Guide to bringing up a new IRON design on real AIE/NPU hardware for the first time — sequential block-by-block (and, for large models, dispatch-by-dispatch) bring-up against a reference, immediate output comparison against the numeric oracle/ONNX Runtime, methodical bisection when something hangs or mismatches, memory-budget tile splits, and validating the host-orchestration handoff between dispatches as its own step. Use this whenever the user is getting a new design running on real NPU hardware for the first time, debugging a hang/deadlock/wrong-output on real hardware (as opposed to in simulation), comparing NPU output against a reference to find where a design diverges, hitting an L1/tile memory budget overflow, or debugging a multi-dispatch handoff — even if they haven't framed it as "bring-up."
    0
    installs
  4. Aie Kernel Opt · xilinx
    Standalone guide to optimizing AIE / Peano-compiled kernels (INT8 conv, matmul, attention, elementwise). Covers the measure-first methodology (baseline, bit-exact gate, ablation, verify-in-.o) and the catalog of concrete levers in priority order — loop hints, compile-time constants, killing __divsi3, branch-splitting, vectorized epilogue, operand-layout pre-pack, explicit wide packing, wider mmul, DMA layout offload — each with the constraints to respect and a measured delta.
    0
    installs
  5. Aie Code Creator · xilinx bundle
    Write efficient IRON Python designs and C++ AIE kernels for AMD XDNA NPUs (AIE2 / AIE2P architectures, e.g., Ryzen AI Phoenix, Hawk, Strix, Krackan Point). Use whenever the user asks about IRON, ObjectFifo, Worker/Program/Runtime, NPU programming, AIE kernels, MLIR-AIE, iron.jit, iron.kernels or iron.algorithms, CompileTime/In/Out design signatures, vectorizing for AIE, MMUL or mac_dims, bfloat16/int8 on NPU, NPU1/NPU2 devices, AIE_PREPARE_FOR_PIPELINING, or wants help writing/debugging a design that targets AMD's XDNA NPU — even if they don't name "IRON" explicitly.
    0
    installs
  6. Aie Dataflow Opt · xilinx
    <!--
    0
    installs
  7. Aie Model Baseline · xilinx
    Guide to preparing an ML model for AIE/NPU deployment before any device or dataflow work begins — choosing/locking a quantization scheme, exporting ONNX, extracting a deployment manifest (per-op scales/zero-points/shifts/layout), and building a bit-exact numeric oracle. Use this whenever the user is quantizing a model for NPU/AIE deployment, exporting to ONNX, picking an INT8/XINT8 scheme, building a reference/oracle to validate a kernel or dataflow design against, or asking how to start porting a model to run on AIE — even if they haven't mentioned "oracle" or "manifest" by name.
    0
    installs
  8. Aie Dataflow Presim · xilinx
    Guide to validating an AIE/IRON dataflow design in software before it ever touches hardware — a threaded ObjectFifo/Worker mock for deadlock/FIFO-depth detection, bit-exact validation against a numeric oracle, tiny isolated probes to de-risk novel mechanisms, and capacity/bandwidth modeling to catch a compute-bound-vs-DRAM-bound mistake before it's baked into placement. Use this whenever the user is designing a new IRON dataflow (ObjectFifo topology, kernel wiring, a novel streaming/attention/pipeline mechanism) and hasn't run it on real NPU hardware yet, is debugging a hang/deadlock and wants to isolate it without hardware, or is asking how to validate a design "before/without the NPU" — even if they don't use the word "simulator."
    0
    installs
  9. Deploy New LLM · xilinx
    Entry point for deploying a new decoder-only LLM on AMD NPU2. Invoked by the user as `/deploy-new-llm <hf_model_id> [--name <dirname>] [--target npu2|npu1] [--dtype bf16|fp16]`. Bootstraps the per-model workspace, validates architecture is in scope, and dispatches the 7 per-phase skills with the gate of each phase enforced by that phase's skill.
    0
    installs
  10. Debug Bo Corruption · xilinx
    Purpose
    0
    installs
  11. Opt Layout Alignment · xilinx
    Purpose
    0
    installs
  12. Opt Buffer Object Reuse · xilinx
    Purpose
    0
    installs
  13. Debug Fa Runtime Failure · xilinx
    Use when NPU FlashAttention hangs (`ERT_CMD_STATE_TIMEOUT`) or produces NaN at head_dim ≥ 128. Discriminates the three known root causes (compile-flag mismatch, seq-first dk_chunks bug, true L1 overflow) via a symptom-classification table and applies the documented fix.
    0
    installs
  14. Debug Multi Launch Merge · xilinx
    Use when stitching kernels into a multi-launch ELF and the AIE compiler rejects the merged module (BD exhaustion, channel routing, herd shape conflict, IR validation error, DMA stride limitation). Discriminates the 6 known compile blockers via a symptom-classification table.
    0
    installs
  15. Phase 1 Kernel Validation · xilinx
    Purpose
    0
    installs
  16. Phase 6 Finalize And Learn · xilinx
    Phase 6 of LLM deployment — integrate Phase 4 prefill + Phase 5 decode into a clean `<model>_inference.py`, write the model's `verify_adapter.py` hooking into the shared `programming_examples/llms/verify/` subsystem + a Makefile (run / verify / verify-full / diagnosis / profile), and confirm `make verify` (top-k token-set gate vs HF bf16) PASSES. That gate is the production-readiness check. Capture lessons learned. Invoked after Phase 5 PASS.
    0
    installs
  17. Phase 0 Build Cpu Reference · xilinx
    Phase 0 of LLM deployment — produce `<model>_weights.py` (HF weight loader) and `<model>_cpu_helpers.py` (the few NumPy helpers production prefill/decode import), then confirm the HF bf16 reference baseline loads and runs via the shared `programming_examples/llms/verify/` subsystem's HfRunner. Downstream phases compare NPU against HF transformers in bf16 directly; there is no hand-written full-model FP32 oracle.
    0
    installs
  18. Phase 5 Decode Optimization · xilinx
    Phase 5 of LLM deployment — apply the shared optimization skillset to a Phase-4-correct decode pipeline (multi-launch merge with N-way extern rename, static weight BOs, on-device layout). Thin orchestrator that dispatches `opt-merge-multi-launch-kernels`, `opt-buffer-object-reuse`, and `opt-layout-alignment`. Each step preserves correctness by re-running the Phase 3 gate — `make verify` (token-set vs HF bf16) is the PASS/FAIL gate; `make diagnosis` per-layer cosine is the informational lens used to localize a regression. Invoked after Phase 4 PASS.
    0
    installs
  19. Phase 4 Prefill Optimization · xilinx
    Phase 4 of LLM deployment — apply the shared optimization skillset to a Phase-3-correct prefill pipeline (multi-launch merge, BO pre-loading + intermediate buffer reuse, seq-first layout). Thin orchestrator that dispatches `opt-merge-multi-launch-kernels`, `opt-buffer-object-reuse`, and `opt-layout-alignment`. Each step preserves correctness by re-running the Phase 3 gate — `make verify` (token-set vs HF bf16) is the PASS/FAIL gate; `make diagnosis` per-layer cosine is the informational lens used to localize a regression. Invoked after Phase 3 PASS.
    0
    installs
  20. Phase 3 Full Model Validation · xilinx
    Phase 3 of LLM deployment — wire all N layers and verify NPU matches the HF bf16 reference end-to-end (per-layer cosine via the shared `programming_examples/llms/verify/` diagnosis lens + token-level top-5 set-inclusion via its token-set gate) at canonical prompts. Catches accumulated drift, KV cache bugs, layer-indexed weight loading errors. Invoked after Phase 2 gate.
    0
    installs
  21. Phase 7 Independent Evaluator · xilinx
    Purpose
    0
    installs
  22. Opt Merge Multi Launch Kernels · xilinx
    Procedural recipe for fusing multiple `air.launch` kernels into one multi-launch ELF (single XRT invocation). Invoked by phase-4-prefill-optimization and phase-5-decode-optimization to fuse kernel groups when building NEW model-specific fused ELFs (kernel-first path). Reduces XRT dispatch overhead (~50–200 µs per call on NPU2).
    0
    installs
  23. Phase 2 Single Block Validation · xilinx
    Phase 2 of LLM deployment — wire the verified Phase 1 kernels into one transformer block on NPU and verify per-layer cosine vs the HF bf16 reference (the shared `programming_examples/llms/verify/` diagnosis lens, promoted to a gate at layer 0). Catches integration bugs (layout mismatches, missing transposes, type drops between kernel boundaries) before scaling to N layers.
    0
    installs
  24. Hostcodegen · xilinx bundle
    <!-- Copyright (C) 2025 Advanced Micro Devices, Inc. All Rights Reserved.
    0
    installs
  25. Kernelcodegen · xilinx bundle
    <!-- Copyright (C) 2025 Advanced Micro Devices, Inc. All Rights Reserved.
    0
    installs
  26. Xaieapiverify · xilinx bundle
    <!-- Copyright (C) 2025 Advanced Micro Devices, Inc. All Rights Reserved.
    0
    installs
  27. Routinghwdebug · xilinx bundle
    <!-- Copyright (C) 2025 Advanced Micro Devices, Inc. All Rights Reserved.
    0
    installs
  28. Aiesimloaddebug · xilinx
    <!-- Copyright (C) 2025 Advanced Micro Devices, Inc. All Rights Reserved.
    0
    installs
  29. Debugui LLM Reset · xilinx
    Diagnoses embedded debug UI LLM context loss and replies that stop mid-sentence during Connect, board changes, or target retargeting. Use when switching targets starts a new Claude session, a transcript ends with session end, or live tools keep using the previous board.
    0
    installs
  30. Debug UI Framework · xilinx bundle
    AIEHLC schedule debug UI — schedule_debug_server daemon, schedule_view browser UI, aiegdb/aiemcp live debug, session provenance, sim/hw capability detection, and UI feature map. Read when working on debug UI, live board or simulator debug, the embedded LLM tab, or changes to schedule_view.py or schedule_debug_server.py.
    0
    installs
  31. Aiesim Debug Socket · xilinx
    <!-- Copyright (C) 2026 Advanced Micro Devices, Inc. All Rights Reserved.
    0
    installs
  32. App Layout · xilinx
    <!-- Copyright (C) 2025 Advanced Micro Devices, Inc. All Rights Reserved.
    0
    installs
  33. Debugui Tools · xilinx
    <!-- Copyright (C) 2025 Advanced Micro Devices, Inc. All Rights Reserved.
    0
    installs
  34. Aiegdb Console · xilinx
    <!-- Copyright (C) 2025 Advanced Micro Devices, Inc. All Rights Reserved.
    0
    installs
  35. Aiedbg Reference · xilinx
    <!-- Copyright (C) 2025 Advanced Micro Devices, Inc. All Rights Reserved.
    0
    installs
  36. Dma Stall Triage · xilinx
    <!-- Copyright (C) 2025 Advanced Micro Devices, Inc. All Rights Reserved.
    0
    installs
  37. Source Grounding · xilinx
    <!-- Copyright (C) 2025 - 2026 Advanced Micro Devices, Inc. All Rights Reserved.
    0
    installs
  38. Live Scan Results · xilinx
    <!-- Copyright (C) 2026 Advanced Micro Devices, Inc. All Rights Reserved.
    0
    installs
  39. Session Provenance · xilinx
    <!-- Copyright (C) 2025 Advanced Micro Devices, Inc. All Rights Reserved.
    0
    installs
  40. Root Cause Workflow · xilinx
    <!-- Copyright (C) 2025 - 2026 Advanced Micro Devices, Inc. All Rights Reserved.
    0
    installs
  41. Simulator Vs Hardware · xilinx
    <!-- Copyright (C) 2025 Advanced Micro Devices, Inc. All Rights Reserved.
    0
    installs