AIE Model Baseline & Numeric Oracle

0•

Prepares ML models for AMD AIE and NPU deployment by establishing quantization schemes, deployment manifests, and bit-exact numeric oracles.

The AIE Model Baseline skill guides developers through the critical initial phase of porting machine learning models to AMD AI Engines (AIE) and NPUs before hardware or dataflow design begins. It helps lock in model quantization granularity (per-tensor, per-channel, or per-token), budget memory and activation footprints against single-dispatch NPU limits, extract structured deployment manifests from ONNX graphs, and build bit-exact software numeric oracles in NumPy. By catching scale, rounding, and overflow mismatches early in pure software, this skill prevents costly downstream debugging during dataflow simulation and hardware bring-up.

Key Features

010 GitHub stars
02Hardware memory budgeting against NPU tile, L1/L2, and dispatch ceilings
03Quantization scheme verification and granularity selection for CNNs and LLMs
04Deployment manifest extraction for per-op scales, zero-points, and memory layouts
05Bit-exact software numeric oracle generation mimicking target hardware arithmetic
06End-to-end model validation on real datasets against ONNX Runtime

Use Cases

01Creating bit-exact INT8/XINT8 software references to validate custom AIE compute kernels
02Preparing PyTorch or ONNX models for deployment on AMD Ryzen AI NPUs or Versal AI Engines
03Partitioning large models across multiple NPU execution dispatches at natural tensor boundaries