quark-torch-llm-eval

Evaluate LLM accuracy on AMD ROCm with vLLM, SGLang, or ATOM serving.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill removes the complexity of setting up and running end-to-end LLM accuracy evaluations on AMD ROCm, from container prep and server launch to benchmark execution and reporting.

Core Features & Use Cases

  • Model deployment for eval: Launch vLLM, SGLang, or ATOM serving for a local or HuggingFace model and validate readiness with smoke tests.
  • Benchmark execution: Run common LLM evaluations such as gsm8k, mmlu, mmlu_pro, gpqa, hellaswag, arc, math_500, and related accuracy checks.
  • Comparison and diagnostics: Compare results against reference scores, detect anomalies, and guide troubleshooting when launch, smoke, or accuracy issues appear.

Quick Start

Use this skill to evaluate my local LLM on gsm8k with the recommended ROCm backend and produce a full accuracy report.

Frequently Asked Questions about quark-torch-llm-eval

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

FAQPage Schema
How do I run LLM accuracy benchmarks like gsm8k and mmlu on AMD ROCm?

You can run LLM accuracy benchmarks on AMD ROCm by orchestrating model inspection, backend serving, and benchmark execution. This Skill automates evaluating models across tasks like gsm8k and mmlu using vLLM, SGLang, or ATOM serving with structured reporting.

Does vLLM and SGLang work with AMD ROCm for LLM evaluation?

Yes, vLLM and SGLang work with AMD ROCm for LLM evaluation by providing OpenAI-compatible serving. The Skill validates readiness with smoke tests before executing accuracy checks using lm-eval or lighteval frameworks.

What is the best way to evaluate quantized LLM models on ROCm?

The best way to evaluate quantized LLM models on ROCm is using an automated pipeline that handles backend serving and smoke testing. This Skill applies to quantized and base models, executing benchmarks and detecting reference-score anomalies for diagnostics.

Can I compare my LLM benchmark results against reference scores on AMD GPUs?

Yes, you can compare LLM benchmark results against reference scores on AMD GPUs. The Skill generates structured reports with reference-score anomaly detection to guide troubleshooting when accuracy issues appear.

Why does my LLM evaluation fail smoke tests before running benchmarks on ROCm?

LLM evaluation smoke tests may fail on ROCm due to backend serving issues or improper ROCm-aware GPU selection. The Skill validates readiness with smoke tests and provides diagnostics to guide troubleshooting when launch issues appear.

Do I need OpenAI-compatible serving to run mmlu_pro and gpqa evaluations?

Yes, you need OpenAI-compatible serving to run mmlu_pro and gpqa evaluations. The Skill requires OpenAI-compatible serving from vLLM, SGLang, or ATOM to execute benchmarks using lm-eval or lighteval frameworks.