quark-torch-router

Route AMD Quark user intents to the correct downstream skill or workflow.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill removes ambiguity when a user asks for help with AMD Quark by translating plain-language goals into the correct downstream skill or workflow. It prevents premature execution, wrong artifact selection, and unnecessary detours through the Quark skill stack.

Core Features & Use Cases

  • Intent Routing: Detects whether the user wants to install Quark, quantize a model, inspect a model, export a result, debug a failure, or validate environment/workspace prerequisites.
  • Workflow Guardrails: Enforces the Quark routing rule that any model quantization request must go through the full PTQ workflow rather than direct script execution.
  • Context Handoff: Produces and carries forward session context with references to environment, workspace, install, and workflow artifacts.
  • Use Case: A user says they want to quantize a model to FP8; this Skill routes them to the PTQ workflow and documents missing prerequisites instead of guessing hardware or paths.

Quick Start

Ask the quark-torch-router to interpret your Quark request and route it to the correct skill while documenting any missing environment or workspace facts.

Frequently Asked Questions about quark-torch-router

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

FAQPage Schema
How do I start AMD Quark model quantization without running scripts directly?

AMD Quark model quantization requires routing through the full PTQ workflow to prevent incorrect execution. The router intercepts your request, validates prerequisites, and directs you to the correct multi-step workflow instead of direct script execution.

Why does my Quark quantization request fail to execute immediately?

Quark quantization fails when bypassing the required PTQ workflow. The router enforces guardrails that prevent direct script execution, ensuring you follow the complete multi-step post-training quantization process for accurate results.

Can I inspect a model before planning quantization in AMD Quark?

Yes, AMD Quark supports model inspection before quantization. The router detects your intent to inspect model architecture or metadata and directs you to the appropriate workflow step before proceeding to quantization planning.

What environment checks are needed before starting a Quark PTQ workflow?

Quark PTQ workflows require environment checks and workspace validation before execution. The router evaluates your session context, documents missing prerequisites, and validates environment and workspace artifacts to ensure successful quantization.

How do I debug AMD Quark quantization failures and missing workspace artifacts?

Debugging Quark quantization failures requires the router to identify the failure point within the PTQ workflow. It validates environment and workspace artifacts, documents missing prerequisites, and routes you to the correct debugging skill.

Does the Quark router maintain session context across different quantization workflow steps?

Yes, the Quark router maintains session context across all workflow steps. It carries forward references to your environment, workspace, installation, and workflow artifacts to ensure continuity throughout the PTQ routing process.