CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

distributed-training-megatron-core

Trains large language models (2B-462B parameters) using NVIDIA Megatron-Core with advanced parallelism strategies. Use when training models >1B parameters, need maximum GPU efficiency (47% MFU on H100), or require tensor/pipeline/sequence/context/expert parallelism. Production-ready framework used for Nemotron, LLaMA, DeepSeek.

Quality

85%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Passed

No findings from the security scan

SKILL.md
Quality
Evals
Security

Quality

Content

78%Weight 40%Scale 1-5

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

A dense, highly actionable guide that appropriately splits overview from detail via four well-signaled one-level-deep reference files. Its weaknesses are modest: some duplicated parallelism-sizing guidance, a known-concept explanation, one pseudocode placeholder command, and no pre-launch validation checkpoint.

Suggestions

Remove the duplicated parallelism sizing content — the Workflow 1 model-size table and the Workflow 3 'Rules of thumb'/405B example overlap with each other and with references/parallelism-guide.md; keep one inline and point to the reference for the rest.

Replace the literal 'torchrun ... --micro-batch-size $MBS' placeholder in the micro-batch sweep with a complete runnable command (including the model/parallelism flags to use).

Add an explicit smoke-test checkpoint before full launches, e.g. run a short '--train-iters 100' dry run and verify loss decreases and MFU is in range before starting the 100k-iteration run.

DimensionReasoningScore

Conciseness

The body is dominated by executable commands, tables, and checklists rather than prose, but includes a few trims: "Expert parallelism distributes different experts across GPUs, reducing memory while maintaining capacity" explains a concept Claude already knows, and parallelism sizing is repeated across the Workflow 1 table, the Workflow 3 "Rules of thumb"/405B example, and references/parallelism-guide.md.

4 / 5

Actionability

Nearly copy-paste-ready guidance throughout — the full 70B torchrun script with every flag, docker/sbatch launch commands, and commented fix commands ("--recompute-granularity full # Gradient checkpointing") — with minor gaps: the micro-batch sweep uses a literal "torchrun ... --micro-batch-size $MBS" placeholder, and examples/run_simple_mcore_train_loop.py is not part of the skill bundle.

4 / 5

Workflow Clarity

Each workflow has a numbered, copyable checklist ("Step 1: Choose parallelism configuration ... Step 4: Monitor performance metrics") with concrete validation targets ("MFU: Target >40% on H100", "Loss: Should decrease steadily") and an extensive error-recovery section, but there is no smoke-test checkpoint before committing to a 100k-iteration launch.

4 / 5

Progressive Disclosure

The overview-level guidance (quick start, three core workflows, troubleshooting, hardware needs) lives in SKILL.md while all four real references/ files (parallelism-guide.md, benchmarks.md, production-examples.md, training-recipes.md) are one level deep and each signaled in "Advanced topics" with a one-line scope description.

5 / 5

Total

17

/

20

Passed

Description

87%Weight 40%Scale 1-5

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

A strong description: third-person, concrete, with an explicit 'Use when' clause covering scale, efficiency, and parallelism triggers. Its only gaps are synonym coverage (no 'distributed training'/'pretraining' variations) and single-action breadth.

DimensionReasoningScore

Specificity

"Trains large language models (2B-462B parameters) using NVIDIA Megatron-Core with advanced parallelism strategies" names the domain with concrete specifics (parameter range, framework, "tensor/pipeline/sequence/context/expert parallelism", "47% MFU on H100"), but coverage is limited to the single train action with no supporting operations (checkpointing, resume, evaluation), falling short of the multi-action comprehensiveness of the 5 anchor.

4 / 5

Completeness

It explicitly answers both parts: what ("Trains large language models (2B-462B parameters) using NVIDIA Megatron-Core with advanced parallelism strategies") and when, with concrete trigger conditions ("Use when training models >1B parameters, need maximum GPU efficiency (47% MFU on H100), or require tensor/pipeline/sequence/context/expert parallelism"), matching the 5 anchor exactly.

5 / 5

Trigger Term Quality

Natural phrases a user would say are present — "training models >1B parameters", "maximum GPU efficiency", "tensor/pipeline/sequence/context/expert parallelism" — but common synonyms like "distributed training", "pretraining", "fine-tuning", or "multi-node" are missing, so it sits between good (4) and comprehensive (5) coverage.

4 / 5

Distinctiveness Conflict Risk

The >1B parameter threshold, Megatron-Core naming, H100 MFU specifics, and production references ("Nemotron, LLaMA, DeepSeek") carve out a clear large-scale-LLM-training niche with minimal risk of triggering for small-model training or unrelated GPU work.

5 / 5

Total

18

/

20

Passed

Validation

93%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation — 15 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

metadata_field

'metadata' should map string keys to string values

Warning

Total

15

/

16

Passed

Repository

davila7/claude-code-templates

Path

cli-tool/components/skills/ai-research/distributed-training-megatron-core/SKILL.md

Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.