Loading KingLand…

AMD IA

The open-source software and hardware suite to democratize AI from local PCs to the cloud

Dev & Tech · Developer Tools

Visit the official site

Version française

About AMD IA

The AMD AI platform combines the open-source ROCm software suite and the Ryzen AI ecosystem to optimize the execution of artificial intelligence models on GPUs, APUs, and NPUs. Compatible with PyTorch, TensorFlow, and ONNX, it accelerates local inference for large language models such as LLaMA and DeepSeek. Designed for high-performance computing (HPC) and autonomous agent development, this unified infrastructure spans from Windows laptops to cloud servers.

Visual guide to AMD IA

User guide V2 – AMD IA
User guide V2 – AMD IA

Open the full-size guide · WebP

User guide V2: AMD IA

Use Ryzen AI Software 1.9 on Windows to prepare and quantize a ResNet model, then classify ten CIFAR-10 images on the local NPU.

Before you start

  • A PC with a supported AMD processor containing an NPU, running Windows 11 build 26100 or later.
  • CMake 3.26 or later and Python with venv support; add Python and its Scripts directory to the system PATH.
  • The NPU driver and Ryzen AI Software 1.9 installed using AMD’s instructions; reboot after installing the driver. Have Git and internet access to retrieve the example and data.
  1. Get the ResNet example

    From AMD’s tutorial, clone the RyzenAI-SW repository, then open its CNN-examples/getting_started_resnet/int8 directory.

    Check: The directory contains requirements.txt, prepare_model_data.py, and predict.py.

  2. Activate the environment and install dependencies

    In Command Prompt, activate Scripts\activate.bat in the Ryzen AI 1.9 installation folder, then run python -m pip install -r requirements.txt.

    Check: Package installation finishes without an error.

  3. Prepare the data and ONNX model

    In the example directory, run python prepare_model_data.py to download CIFAR-10 and export the supplied model to ONNX.

    Check: The data directory and models/resnet_trained_for_cifar10.onnx exist.

  4. Quantize the model

    Run python resnet_quantize.py; AMD Quark uses CIFAR-10 calibration data to create an INT8 version of the model.

    Check: The file models/resnet_quantized.onnx appears.

  5. Test predictions on the CPU

    Run python predict.py without options: the script classifies the first ten test images using the quantized model.

    Check: Ten output lines each show an actual label and a predicted label.

  6. Run inference on the NPU

    Run python predict.py --ep npu to select VitisAIExecutionProvider and classify the same images using the NPU.

    Check: Ten predictions appear; provider logs can be used to verify execution on the NPU.

Useful features

  • Export of the supplied PyTorch model to ONNX, followed by INT8 quantization with AMD Quark.
  • Local inference of the same model on CPU or NPU through ONNX Runtime.
  • Python and C++ deployment examples for the ResNet model.

Practical tips

  • Compare actual and predicted labels: a successful run can still contain incorrect classifications.
  • After upgrading Ryzen AI Software, delete the modelcachekey folder before running the example again.
  • To inspect NPU activity, open Task Manager, then Performance and NPU while inference is running.

Limits and precautions

  • This particular walkthrough is documented for Windows; its instructions are not interchangeable with Linux instructions.
  • The compiler fixes this example’s batch size at 1. Compatibility also depends on the processor and model operators.
  • For PHX/HPT devices, the tutorial requires additional compiler and NPU binary options.

Documentation consulted: 2026-11-30

Guide sources

Overview and pricing

Pricing models: Free.

Available free of charge.

Check current pricing and terms on the official site.

Features

  • Inference optimization

    Hardware acceleration of AI models on NPUs, GPUs, and APUs via ONNX Runtime

  • ROCm software stack

    Complete open-source suite for high-performance computing and LLM training

  • Multi-framework compatibility

    Seamless integration with PyTorch and TensorFlow to facilitate code portability

  • Precision quantification

    Conversion of models into optimized formats (BF16, INT8) via the Vitis AI quantifier

Highlights

  • A fully open-source ecosystem based on the ROCm and Ryzen AI runtimes
  • Native compatibility with major frameworks like PyTorch and ONNX
  • Optimizing local inference on XDNA NPU and Radeon GPU architectures

Technology and platforms

  • API available
  • Open source
  • Platforms: Windows, Linux
  • Supported languages: Anglais, Multilingue

Recent news

Announcing the ROCm Certification Program

Announcement date:

AMD is launching a ROCm certification program to validate the skills of developers and engineers on its open source software stack, with an Associate level available from July 24, 2026.

YouTube videos about AMD IA

Community reviews

KingLand Score : 71/100.

Community votes: 1 up · 0 down.

The KingLand Score is a community index. Participating can earn points. Methodology.

Explore similar tools

Dev & Tech · Developer Tools