pith-train
MoE model training, profiling, memory estimation, and validation
All Skills in This Repository (8)
Pure Emerald Level Indicatorsanalyze-nsys-profile
Query Nsight Systems profiles to measure compute/communication overlap and inspect per-rank streams.
capture-nsys-profile
Capture Nsight Systems traces for PithTrain runs across parallelism configurations.
add-memory-prints
Add memory profiling instrumentation to distributed MoE training workflows.
setup-benchmark-inputs
Prepare tokenized corpus shards and HF-DCP checkpoints for MoE benchmarks.
estimate-memory
Estimate peak GPU memory usage for DualPipeV MoE training runs.
add-new-model
Create MoE model skeletons for PithTrain and wire them into training and inference workflows.
validate-correctness
Run paired base and feature branch training validations and diff per-step metrics.
launch-with-slurm
Dispatch SLURM workloads by wrapping srun inside the current allocation.
Frequently Asked Questions
FAQPage SchemaHow to install PithTrain?โผ
Run `npx skills add mlc-ai/pith-train --all -g -y` in your terminal to install all skills in this suite globally.
How to estimate GPU memory before training?โผ
The estimate-memory skill simulates the full training schedule and reports peak memory, per-component breakdown, and whether your config fits on your GPUs.
How to profile MoE training performance?โผ
The capture-nsys-profile and analyze-nsys-profile skills record a GPU trace and measure compute-communication overlap per pipeline stage to find bottlenecks.
Can I add a new model to PithTrain?โผ
Yes. The add-new-model skill walks through a gated, phase-by-phase workflow covering the model file, framework wiring, correctness tests, and checkpoint conversion.
How to check if code changes break training?โผ
The validate-correctness skill runs identical short trainings on both branches and diffs per-step loss curves, failing if divergence exceeds tolerance.
Related Repositories in Software Engineering
View All in Software Engineeringโopenclaw
Run a personal AI assistant across your devices and chat apps
superpowers
Gives coding agents a disciplined workflow from idea to merged code
react
AI agent skills for building, testing, and porting React core