tune-golden

Re-tune and validate GPU matmul golden configuration YAMLs via the emmy CLI.

75|8|Updated Aug 2, 2025
One-click install
npx skills add https://github.com/cloudrift-ai/emmy --skill tune-golden
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tune-golden
Source: https://github.com/cloudrift-ai/emmy/tree/main/.claude/skills/tune-golden
Command: npx skills add https://github.com/cloudrift-ai/emmy --skill tune-golden

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Manually maintaining and updating per-GPU matmul golden configuration YAMLs is error-prone, time-consuming, and often leaves stale configs that underperform compared to newly tuned greedy kernel picks. This skill eliminates that manual overhead by automating full golden dataset re-tuning, live A/B validation, and auditable update reporting.

Core Features & Use Cases

  • Full Golden Dataset Re-tuning: Automatically re-tunes all matmul shapes in a target GPU's golden config set using the emmy CLI's built-in tune workflow, training the learned prior across all shapes in one pass.
  • Live A/B Validation: Benchmarks the deployable greedy kernel pick against each recorded golden config in the same run to identify genuine performance wins, accounting for benchmark noise with reproducible re-runs.
  • Hand-Safe YAML Updates: Edits the hand-maintained golden YAML files while preserving their required flow-style knob formatting and key order, avoiding destructive auto-serialization.
  • Detailed Findings Reports: Generates structured reports analyzing prior shortfalls, knob mismatches, and workflow friction, with actionable recommendations for improving the tuning pipeline.
  • Use Case: ML compiler teams maintaining emmy's GPU kernel performance can use this skill to regularly refresh golden configs, validate that deployed greedy picks outperform recorded goldens, and track systematic gaps in the search prior's performance.

Quick Start

Use the tune-golden skill to re-tune all matmul golden configs for your target GPU, validate greedy pick performance against recorded goldens, and generate a findings report of updates and performance gaps.

Frequently Asked Questions about tune-golden

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

FAQPage Schema
How do I automate GPU matmul golden config tuning to avoid manual YAML errors?

Automating GPU matmul golden config tuning requires re-tuning the full dataset via the emmy CLI to train the learned prior across all shapes, which eliminates manual YAML maintenance errors and ensures deployed kernel configs are optimally tuned.

What is A/B benchmarking for GPU kernel performance validation?

A/B benchmarking for GPU kernel performance validation compares deployable greedy kernel picks against recorded golden configs in a live run, identifying genuine performance wins while accounting for benchmark noise through reproducible re-runs.

How do I update matmul golden YAML files without breaking flow-style knob formatting?

Updating matmul golden YAML files without breaking formatting requires hand-safe edits that preserve required flow-style knob formatting and key order, avoiding destructive auto-serialization that would corrupt the configuration structure.

Does the emmy compiler support dynamic symbolic-axis matmul goldens during re-tuning?

The emmy compiler supports dynamic symbolic-axis matmul goldens during re-tuning, allowing the automated workflow to handle flexible matmul shapes while applying full golden dataset re-tuning and performance validation.

How do I track prior search shortfalls in my CUDA performance tuning workflow?

Tracking prior search shortfalls in CUDA performance tuning involves generating detailed findings reports that analyze knob mismatches and workflow friction, providing actionable recommendations for improving the tuning pipeline.

What's the best way to validate greedy kernel picks against recorded goldens?

The best way to validate greedy kernel picks against recorded goldens is running live A/B benchmarks within the same tuning pass, using reproducible re-runs to account for benchmark noise and confirm genuine performance improvements.