Overview of OnnxRuntime GenAI (OGA) Flow for Ryzen AI
The OnnxRuntime GenAI (OGA) API is the lowest-level API for building LLM applications on Ryzen AI PCs. It supports two primary execution modes:
- Hybrid execution mode: Utilizes both the NPU and iGPU to optimize Time To First Token (TTFT) and Tokens Per Second (TPS) during prefill and decode phases.
- NPU-only execution mode: Uses the NPU exclusively for both prefill and decode phases.
Supported Hardware: Strix and Krackan Point processors. (Phoenix (PHX) and Hawk (HPT) are not supported).
Compatible API Version: OGA version 0.11.2 (associated with Ryzen AI 1.7).