skillZs
★ LIVE SKILL TAGS ★
>>> LIVE SKILLS INDEX <<<
* OPEN SOURCE *
NO LOGIN, NO TRACKING
※ REAL INSTALL DATA ※
← back to all skills
jurgendn/agent-skills70 installs

pytorch-training-recipe

Produce an implementable PyTorch or PyTorch Lightning training recipe with dataset handling, optimization, logging, checkpointing, and debugging checks. Use when turning a paper idea into runnable training code — including new experiments, reproductions, fine-tuning setups, scaling recipes, and debugging unstable training.

How do I install this agent skill?

npx skills add https://github.com/jurgendn/agent-skills --skill pytorch-training-recipe
view source ↗

Is this agent skill safe to install?

  • Gen Agent Trust Hubpass

    The skill provides a conceptual framework and template for developing machine learning training scripts using PyTorch. It contains no executable logic, network requests, or credential handling.

  • Socketpass

    No alerts

  • Snykpass

    Risk: LOW · No issues

What does this agent skill do?

PyTorch Training Recipe

Translate a research idea into a training setup that can fail loudly, debug quickly, and scale only after correctness is verified.

For concrete implementation checklists and templates, read references/training-recipe-details.md when needed.

Intake

Specify:

  • task, dataset, and split protocol;
  • model family and input/target format;
  • loss and metrics;
  • baseline or reproduction target;
  • hardware/compute budget;
  • framework preference: raw PyTorch or Lightning.

Workflow

  1. Define the experiment and claim it supports.
  2. Define the data pipeline, including leakage checks.
  3. Choose the simplest training stack that supports the experiment.
  4. Set optimization choices: optimizer, schedule, batch size, precision, clipping.
  5. Add first-run safety checks.
  6. Define metrics and error slices.
  7. Define logging, checkpoints, seeds, and config recording.
  8. Flag likely failure modes.
  9. Recommend a staged rollout from tiny sanity run to full experiment.

Non-Negotiable Checks

  • Run a shape/dtype/device check.
  • Verify loss is finite at initialization.
  • Overfit a tiny batch.
  • Run one deterministic seed twice if reproducibility matters.
  • Compare against a simple baseline before scaling.
  • Save config, commit, seed, and command with each run.

Rules

  • Do not start with distributed training.
  • Do not tune hyperparameters before the tiny-batch check passes.
  • Do not trust a metric until its implementation is checked.
  • Keep the first runnable version boring.

Output

Return:

  • training recipe;
  • data pipeline;
  • model/loss/optimizer choices;
  • minimal config;
  • first-run checks;
  • logging/checkpointing plan;
  • likely failure modes;
  • scale-up plan.

Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.

<a href="https://skillzs.dev/skills/jurgendn/agent-skills/pytorch-training-recipe">View pytorch-training-recipe on skillZs</a>