[AMD] Add Claude skills for AMD CI workflows#20116
[AMD] Add Claude skills for AMD CI workflows#20116michaelzhang-ai wants to merge 1 commit intosgl-project:mainfrom
Conversation
Summary of ChangesHello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request introduces three new Claude Code skills specifically designed to streamline and support AMD-related continuous integration (CI) workflows. These skills aim to empower developers to efficiently enable new models for AMD nightly testing, diagnose and resolve CI regressions, and author robust accuracy and performance tests for AMD MI30x and MI35x GPUs. The addition of these skills enhances the maintainability and reliability of AMD CI by providing structured, automated guidance for common development tasks. Highlights
🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console. Changelog
Activity
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
There was a problem hiding this comment.
Code Review
This pull request introduces three comprehensive Claude skills designed to streamline AMD-specific CI workflows. These skills provide detailed, step-by-step guides for enabling new models, debugging CI regressions, and authoring new tests, complete with code snippets and best practices. The documentation is well-structured and will be a valuable resource for developers working on AMD integration. I've identified a minor inconsistency in one of the new skill files regarding the setup of the HuggingFace cache environment, and I've provided a suggestion to align it with the other documentation and existing code.
Note: Security Review has been skipped due to the limited scope of the PR.
bb5f306 to
47109f9
Compare
Add two Claude Code skills under .claude/skills/amd/ that encode AMD-specific development workflows, complementing the existing upstream skills: - enable-amd-nightly-model: End-to-end workflow for enabling a new model in AMD nightly CI (architecture research, backend selection with auto-detection logic, test files for MI30x/MI35x, CI YAML updates, validation) - write-amd-nightly-test: Guide for writing AMD nightly accuracy and performance tests covering all test patterns (standalone GSM8K, shared evaluator, LMEvalMixin, VLM MMMU, NightlyBenchmarkRunner), CI registration, runner labels, and platform variants All backend choices, runner labels, suite names, and test patterns verified against the current codebase.
47109f9 to
4836f76
Compare
Motivation
AMD model enablement and CI debugging workflows follow repeatable patterns that have been applied to 15+ models (MiniMax-M2.5, GLM-5, Kimi-K2.5, DeepSeek-V3.2, Qwen-3.5, etc.). Formalizing them as Claude Code skills lets AI agents execute these workflows consistently without rediscovering patterns each time.
Modifications
Add two Claude Code skills under
.claude/skills/amd/, complementing the existing upstream skills (add-jit-kernel,add-sgl-kernel,sglang-bisect-ci-regression,write-sglang-test):enable-amd-model_get_default_attn_backend), accuracy test files for MI30x + MI35x, CI YAML updates (2 files x 3 edit locations), docs, local validationwrite-amd-nightly-testfew_shot_gsm8kevaluator,LMEvalMixin, VLM MMMU,NightlyBenchmarkRunnerperf tests. Coversregister_amd_cisuites, all 6 runner labels, MI30x/MI35x variants, and backend args by architecture (MHA/MLA/MoE/NSA/mixed prefill-decode)Key details verified against codebase
ATTENTION_BACKEND_CHOICESlist fromserver_args.py; auto-selection logic for MHA (aiteron HIP), MLA (depends onnum_kv_heads / tp_sizebeing 16 or 128), NSA (tilelangdefault on HIP)linux-mi325-{1,2,8}gpu-sglang,linux-mi35x-gpu-{1,8},linux-mi35x-gpu-8.fabric)MLAandMHAexist (frommodel_config.py); NSA is a backend, not an architectureregister_amd_ci()calls across the codebaseFiles
Checklist
server_args.py(ATTENTION_BACKEND_CHOICES,NSA_CHOICES)register_amd_ci()calls in test files.claude/skills/SKILL.md format