What problem does it solve?
Adding support for a new model in Megatron Bridge requires recording conversion, inference, training, and performance verification results in a consistent, auditable format. This Skill produces concise, agent-readable YAML verification cards that follow a strict schema, enforce privacy boundaries, and stay comparable across models.
Core Features & Use Cases
- Structured card authoring: Generates
card.yaml files with a required twelve-item core inventory covering conversion, forward-pass correlation, inference, pretraining, SFT, PEFT, and checkpoint resume, plus optional performance, FSDP, and weak-scaling items.
- Schema and privacy validation: Uses
scripts/validate_card.py to enforce status values, hardware allowlists, metric fields, verification-index consistency, and to reject private cluster details, credentials, paths, and job metadata.
- Deterministic HF inference verification: Uses
scripts/verify_hf_inference.py to run greedy generation from an exported Hugging Face checkpoint and confirm strict checkpoint reload.
- Use Case: When preparing a model-support PR for a new LLM or VLM, use this Skill to draft the verification card, record public Slurm launcher commands and training metrics, and validate the card before submission.
Quick Start
Create a model verification card for the new model I am adding to Megatron Bridge and validate it with the card validator script.