dylanyunlon/neuron_sp/cicd
Claude Code and agent skill by dylanyunlon/neuron_sp
- community
Checking that the SKILL.md file is still in the repository.
CI/CD reference for Megatron-LM. Covers CI pipeline structure, PR scope labels, triggering internal GitLab CI, and CI failure investigation.
Install
npx vskill@latest install dylanyunlon/neuron_sp/cicdSKILL.md
The same SKILL.md was published earlier as yo-steven/skills-exploration-20260522/cicd.
CI/CD Guide
CI Pipeline Structure
The main workflow is .github/workflows/cicd-main.yml. It triggers on pushes to branches matching pull-request/[0-9]+ and deploy-release/*, on merge groups, on a daily schedule, and on manual dispatch.
Images are pushed to:
- AWS ECR:
766267172432.dkr.ecr.us-east-1.amazonaws.com/… - GCP Artifact Registry:
us-east4-docker.pkg.dev/nv-projdgxchipp-20260113193621/megatron-lm/…
CI Test Scope Labels
The CI pipeline reads PR labels to decide test scope, n_repeat, and container image.
Decision tree (first match wins):
| Condition | scope | n_repeat | lightweight | Notes | |
|---|---|---|---|---|---|
| Merge group | mr-github | 1 | false | Automatic, no label needed | |
| Label: `Run tests` | mr-github | 1 | true | Trains 4 steps, no golden-value compare | |
| Label: `Run functional tests` | mr-github | 5 | false | Trains 100 steps, golden-value compare | |
| _(no label)_ | mr-github-slim | 5 | false | Slim subset only |
Orthogonal image label:
| Label | Effect | |
|---|---|---|
| `container::lts` | Use the LTS base image instead of dev (combinable with any scope label) | |
| `Run MBridge tests` | Also triggers the MBridge L1 test suite |
Which label to attach when opening a PR
| Changed paths / nature of change | Label to attach | |
|---|---|---|
Docs only (docs/, *.md, docstrings) | _(none)_ | |
CI/tooling only (.github/, tools/, Makefile) | _(none)_ | |
Test files only (tests/) — existing tests, no new golden values | Run tests | |
| New test cases added (no golden values exist yet) | Run functional tests | |
Re-enabling a disabled test (scope -broken → active) | Run functional tests | |
| Non-numerical library code (logging, error handling, CLI flags, refactors) | Run tests | |
| Could affect training numerics (model arch, attention, optimizer, distributed, MoE routing) | Run functional tests | |
Container or dependency changes (docker/, pyproject.toml, uv.lock) | Run tests + container::lts | |
| Touches MBridge integration | add Run MBridge tests |
Rule of thumb: default to Run tests. Always use Run functional tests when the PR adds new test cases (golden values must be generated) or when the change could plausibly shift loss curves.
Triggering Internal CI
Use tools/trigger_internal_ci.py to push the current branch to the internal GitLab remote and trigger a pipeline — without touching the GitLab UI. Full setup and usage details: @tools/trigger_internal_ci.md.
Prerequisites (one-time):
Usage:
The script force-pushes the current branch as pull-request/<branch> and prints the resulting pipeline URL.
CI Failure Investigation
CI branches always follow the pattern pull-request/<number>.
Locating the PR from a CI Branch
Reading CI Job Logs
Full per-rank logs are not in the runner stdout. They are uploaded as GitHub artifacts named logs-<test_case>-<run_id>-<uuid>.
Identifying Failure Root Cause
- Linting failure — re-run
tools/autoformat.shlocally; the diff shows exactly what needs to change. - Container build failure — inspect the
cicd-container-buildjob log. - Unit test failure — the failing bucket is in the
cicd-unit-tests-latestjob matrix. - Functional test failure — look at the
cicd-integration-tests-*job. Start withstdout.logfor rank 0. - Flaky test — the runner retries automatically up to 3 times. If all retries exhausted and the pattern matches a known transient (NCCL, ECC, segfault), it is infrastructure noise.
Correlating a Failure with the PR Changeset
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingMegatron-LM/skills/cicd/SKILL.md
Popularity
- Repository stars
- 47
- Repository forks
- 44
- 7-day trend score
- 19
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 28 Jul 2026, 3 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/dylanyunlon/neuron_sp/cicd)