SkillCheatSheet
How to install

pytorch/torchtitan

C

AI skills in the GitHub repository pytorch/torchtitan, each scored out of 100 by fixed code checks, no AI.

A PyTorch native platform for training generative AI models
Repository score58/100
Skills13
Verified0 of 13
Average code score62/100
GitHub stars6k

BSD-3-Clause · Snapshot of 2026-11-23

How the repository score works

Repository score out of 100: 60 from the average code score of its skills, 15 from skills that meet the spec, 10 from verified skills, 10 for a license and 5 for an update in the last 90 days. Stars are shown but do not count.

kernel-numerics-verifier

Unverified
pytorch/torchtitan / .claude/skills/kernel-numerics-verifier
6k

Verify forward and backward numerical correctness of a handwritten low-precision GPU kernel against a high-precision oracle and an eager same-dtype baseline. Use for Triton or CUDA kernel correctness; use numerics_debugging to locate an unknown whole-model divergence.

BCode 76/100Builder 1/10
npx skills add pytorch/torchtitan --skill kernel-numerics-verifier

pr-review

Unverified
pytorch/torchtitan / .claude/skills/pr-review
6k

Review torchtitan pull requests the way the maintainers do -- question the problem and design first, push for minimal code, explain the change with a concrete example, then check correctness. Use when reviewing a PR or branch, when asked to "review", "review again", "review my review", or to evaluate a maintainer's comments.

BCode 75/100Builder 1/10
npx skills add pytorch/torchtitan --skill pr-review

local-compile-perf

Unverified
pytorch/torchtitan / .claude/skills/local_compile_perf
6k

Make a torchtitan model train faster with `local_compile` regions and compile-friendly rewrites: measure, find the slow glue, rewrite it, verify. Use when asked to speed up a model, layer or op with torch.compile, or to review such a change.

BCode 72/100Builder 3/10
npx skills add pytorch/torchtitan --skill local-compile-perf

autokernel

Unverified
pytorch/torchtitan / torchtitan/experiments/graph_trainer/.claude/skills/autokernel
6k

Coordinate an agent swarm to optimize GPU kernel problem sets in CuTe DSL through operator fusion, schedule tuning, and profiling, while preserving bitwise parity and the complete input/output contract. Use when given kernel problems and reference implementations, or a substitute-kernels `cache_dir`, to optimize on available GPUs.

CCode 68/100Builder 0/10
npx skills add pytorch/torchtitan --skill autokernel

add_moe_model

Needs fixing
pytorch/torchtitan / torchtitan/experiments/transformers_modeling_backend/.claude/skills/add_moe_model
6k

Add a new HF MoE model to the transformers_modeling_backend experiment. Use when the user provides a HuggingFace model ID and wants to integrate it with Titan's MoE, or invokes /add_moe_model.

CCode 67/100Builder 1/10
npx skills add pytorch/torchtitan --skill add_moe_model
2 spec problems

torch_bisect

Needs fixing
pytorch/torchtitan / .claude/skills/torch_bisect
6k

Bisect PyTorch commits to find the regression that breaks TorchTitan. Use when the user wants to bisect PyTorch or invokes /torch_bisect.

CCode 64/100Builder 1/10
npx skills add pytorch/torchtitan --skill torch_bisect
1 spec problem

inference_perf_hillclimb

Needs fixing
pytorch/torchtitan / torchtitan/rl/.claude/skills/inference_perf_hillclimb
6k

Profiler-driven hill-climbing to close the inference throughput gap between TorchTitan's unified model (running inside vLLM) and vLLM's native model. Benchmark with generate.py --benchmark, climb optimization rungs (compile / cudagraph / fused kernels), profile torchtitan vs the native target, then patch the single biggest gap at a time and re-measure. Use when the user wants to benchmark or opti…

CCode 63/100Builder 0/10
npx skills add pytorch/torchtitan --skill inference_perf_hillclimb

parallel_autokernel

Needs fixing
pytorch/torchtitan / torchtitan/experiments/graph_trainer/.claude/skills/parallel_autokernel
6k

Run many autokernel runs concurrently on disjoint problem subsets of one substitute-kernels cache_dir, as independent, resumable workers (for example one preemptible cluster job per pattern), then monitor them and collect the promoted kernels. Use when asked to tune a whole kernel cache in parallel, on a cluster, or across many GPUs or jobs.

CCode 62/100Builder 0/10
npx skills add pytorch/torchtitan --skill parallel_autokernel

numerics_debugging

Needs fixing
pytorch/torchtitan / .claude/skills/numerics_debugging
6k

Capture and compare per-op activations between two TorchTitan runs to spot numerics divergence (eager vs aot_fx_trace, FSDP vs no-FSDP, before vs after a refactor). Use when the user wants to debug bitwise / numeric drift in training, or invokes /numerics_debugging.

CCode 59/100Builder 1/10
npx skills add pytorch/torchtitan --skill numerics_debugging

pr-description

Unverified
pytorch/torchtitan / .claude/skills/pr-description
6k

Write a torchtitan PR description that convinces a human reviewer -- concrete problem with a simple example, what changed, user-facing before/after, numerics, testing. Use when opening or updating a PR, or when asked to write or improve a PR summary.

CCode 58/100Builder 0/10
npx skills add pytorch/torchtitan --skill pr-description

fake_distributed_backend

Needs fixing
pytorch/torchtitan / .claude/skills/fake_distributed_backend
6k

Run TorchTitan with fully fake communication or real pipeline communication plus fake SPMD axes, especially for logical-rank memory debugging. Use for fake process groups, real-PP/fake-SPMD runs, large-model dry runs, or comparing rank-local CUDA memory ownership without launching the full logical world.

DCode 52/100Builder 1/10
npx skills add pytorch/torchtitan --skill fake_distributed_backend

fusion_finder

Needs fixing
pytorch/torchtitan / torchtitan/experiments/graph_trainer/.claude/skills/fusion_finder
6k

Profile one GraphTrainer training step with every FX node labelled, attribute each GPU kernel to its node, group the memory-bound glue ops (norms, casts, RoPE, routing, permutes, residual adds) into fusion regions that one kernel could replace, rank the regions by time above their HBM roofline, lift each region into a call_module with a compile.extra_passes graph pass, and write the lifted region…

DCode 50/100Builder 0/10
npx skills add pytorch/torchtitan --skill fusion_finder
1 spec problem

cuda_graph_trace_compaction

Needs fixing
pytorch/torchtitan / .claude/skills/cuda_graph_trace_compaction
6k

Make a CUDA-graph PyTorch profiler trace readable in Perfetto by packing replay streams into semantic lanes, and optionally merge per-rank pipeline-parallel traces into one aligned timeline with send/recv flow arrows. Use when a trace captured with CUDA graphs shows hundreds of one-kernel stream rows, or when the user wants to view several PP rank traces together.

DCode 46/100Builder 0/10
npx skills add pytorch/torchtitan --skill cuda_graph_trace_compaction

Maintain this repository? Open a skill and import it into the Builder, free and without an account, to see what to fix to reach 80.

Open the Builder

Occupations: this page includes information from the O*NET 31.0 Database by the U.S. Department of Labor, Employment and Training Administration (USDOL/ETA). Used under the CC BY 4.0 license. O*NET® is a trademark of USDOL/ETA. SkillCheatSheet has modified all or some of this information. USDOL/ETA has not approved, endorsed, or tested these modifications. The areas are SkillCheatSheet’s own grouping, not O*NET’s.