perform-sweep

Automate GRPO training ablation sweeps with YAML configuration and Modal orchestration.

1|Updated Dec 2, 2025
One-click install
npx skills add https://github.com/bglick13/diplomacy-v2 --skill perform-sweep
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: perform-sweep
Source: https://github.com/bglick13/diplomacy-v2/tree/main/.claude/skills/perform-sweep
Command: npx skills add https://github.com/bglick13/diplomacy-v2 --skill perform-sweep

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

End-to-end workflow for running ablation experiments on the Diplomacy GRPO training pipeline.

Core Features & Use Cases

  • Fire-and-forget: Launch sweeps in Modal cloud and monitor progress remotely.
  • Auto-resume: If Modal times out (24hr max), sweep automatically respawns.
  • Sequential execution: Runs one training at a time (infra constraint) to preserve resources.
  • Progress tracking: State is saved after each run for easy recovery and rerun.

Quick Start

Create your sweep configuration under experiments/sweeps/<name>/sweep.yaml, then launch with: python scripts/launch_sweep.py experiments/sweeps/<name>/

Frequently Asked Questions about perform-sweep

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

FAQPage Schema
How do I run ablation sweeps to optimize hyperparameters in GRPO training?

Ablation sweeps systematically test different hyperparameter combinations to identify optimal settings. Create a sweep configuration in experiments/sweeps/<name>/sweep.yaml, then launch with python scripts/launch_sweep.py experiments/sweeps/<name>/. The Skill automates the full pipeline including Modal orchestration, WandB tracking, and result analysis.

Can I automate hypothesis testing and hyperparameter experiments for Diplomacy GRPO?

Yes. This Skill automates end-to-end ablation experiments for the Diplomacy GRPO pipeline, testing variations in horizon length, scoring, and KL settings. It handles sequential execution, state persistence across runs, and integrated post-sweep analysis to ensure reproducible, trackable experiments.

What happens if my Modal cloud job times out during a sweep?

The Skill implements auto-resume: if Modal times out (24-hour limit), the sweep automatically respawns from saved state. Progress is persisted after each training run, enabling easy recovery and rerun without restarting from scratch.

Does this support dry-run validation before running full sweeps?

Yes. The Skill includes built-in dry-run validation to test your configuration without launching expensive training jobs. This catches configuration errors early and confirms your sweep setup is correct before committing resources.

How does WandB integration help track ablation experiments?

WandB tagging tracks all ablation runs with consistent labels and metadata, enabling side-by-side comparison of results across sweeps. This provides visibility into experiment progress, reproducibility verification, and downstream analysis of which hyperparameter combinations perform best.

Can I run multiple sweeps in parallel or does this enforce sequential execution?

Sequential execution is enforced by design to preserve infrastructure resources. One training runs at a time; the Skill queues subsequent experiments in your sweep and executes them serially while tracking progress state for each.