quark-torch-export

Create export and evaluation plans for Quark quantized models.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps turn a completed or planned Quark post-training quantization run into a usable deployment export plan, so the model can be packaged for HuggingFace, ONNX Runtime, or GGUF-based inference without guessing the right settings.

Core Features & Use Cases

  • Export Planning: Select the correct export target for the deployment environment, including HuggingFace SafeTensors, ONNX, or GGUF.
  • Evaluation Configuration: Attach post-quantization evaluation settings such as perplexity, task-based evaluation, or ROUGE-style scoring.
  • Manifest Updates: Extend the existing workflow manifest with export and evaluation fields instead of creating conflicting artifacts.
  • Use Case: A team finishes quantizing an LLM and wants to package it for vLLM or llama.cpp while preserving the right weight format and evaluation options.

Quick Start

Ask for a deployment-ready export plan for your Quark quantized model, including the target format, output directory, and any post-quantization evaluation you want enabled.

Frequently Asked Questions about quark-torch-export

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

FAQPage Schema
How do I export a quantized model to ONNX or GGUF for deployment?

To export a quantized model, provide an existing quantization run manifest or plan to generate a deployment export plan. This process selects the correct target format, applies format-specific weight packing, and defines output paths for ONNX or GGUF inference.

What's the best way to set up post-quantization evaluation for a SafeTensors export?

Setting up post-quantization evaluation involves attaching perplexity, task-based, or ROUGE-style scoring parameters to your export plan. This updates the workflow manifest with evaluation fields, ensuring the SafeTensors export is validated before deployment.

Does Quark export support packaging models for vLLM or llama.cpp?

Yes, Quark export supports packaging models for vLLM or llama.cpp by generating format-specific export plans. It configures the appropriate HuggingFace SafeTensors or GGUF weight formats and output directories required by these inference engines.

Do I need an existing quantization context to create an export plan?

Yes, you need an existing quantization context such as a quant plan or run manifest to create an export plan. The Skill extends this existing workflow manifest with export and evaluation fields rather than creating conflicting artifacts from scratch.

How to update a workflow manifest with GGUF export and evaluation settings?

Updating a workflow manifest requires feeding your existing quantization run manifest into the export planning process. The Skill then extends this manifest with GGUF weight packing configurations, output paths, and downstream evaluation parameters for seamless deployment handoff.