quark-onnx-router

Routes Quark ONNX user requests to the smallest correct downstream workflow.

154|27|Updated Jun 19, 2024
One-click install
npx skills add https://github.com/amd/Quark --skill quark-onnx-router
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: quark-onnx-router
Source: https://github.com/amd/Quark/tree/main/.claude/skills-impl/l1-atomic/onnx/quark-onnx-router
Command: npx skills add https://github.com/amd/Quark --skill quark-onnx-router

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill routes Quark ONNX user requests to the correct atomic workflow so users do not waste time on the wrong installation, analysis, planning, execution, or validation step.

Core Features & Use Cases

  • Intent classification: Distinguishes ONNX quantization, model intake, install, debug, validation, and preflight needs from plain-language requests.
  • Workflow routing: Selects the smallest correct downstream skill for tasks like planning a PTQ run, checking model compatibility, or validating a quantized ONNX output.
  • Guardrail enforcement: Prevents cross-backend mixing and ensures required context such as hardware facts or workspace paths is collected before routing.
  • Use Case: A user says they want to quantize a YOLO ONNX model for Ryzen AI; this Skill routes them into the ONNX PTQ workflow and explains the next steps clearly.

Quick Start

Use the quark-onnx-router skill to interpret my ONNX quantization goal and tell me which Quark skill should run first.

Frequently Asked Questions about quark-onnx-router

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I start ONNX model quantization from a plain-language request?

ONNX model quantization starts by classifying your intent from a plain-language request and routing it to the correct downstream workflow. The router gathers required hardware facts and workspace paths before selecting the smallest correct skill.

What is the best way to route a YOLO ONNX model for Ryzen AI quantization?

Routing a YOLO ONNX model for Ryzen AI involves classifying the quantization goal and directing it into the appropriate PTQ workflow. The router enforces guardrails to prevent cross-backend mixing and ensures prerequisite facts are collected.

Does ONNX Runtime setup require backend disambiguation before model intake?

ONNX Runtime setup requires backend disambiguation to ensure correct model intake. The router determines your specific runtime environment and gathers necessary workspace paths before handing off to the smallest correct installation or inspection workflow.

Can I check model compatibility before running a Quark ONNX PTQ workflow?

Checking model compatibility before a Quark ONNX PTQ workflow is supported through preflight routing. The router directs your model inspection request to the correct atomic skill, ensuring all prerequisite hardware facts are validated first.

Why does my ONNX quantization workflow fail without prerequisite fact gathering?

ONNX quantization workflows fail without prerequisite fact gathering because guardrails prevent execution when required context is missing. The router enforces collection of hardware facts and workspace paths before allowing handoff into any downstream execution skill.

How do I validate a quantized ONNX output after execution?

Validating a quantized ONNX output after execution is handled by routing your validation request to the correct atomic skill. The router interprets your result checking intent and directs it to the specific validation workflow in the Quark ONNX flow.