What problem does it solve?
This Skill helps you add reliable Megatron-Bridge support for a new HuggingFace LLM or VLM by guiding the end-to-end work from model discovery to bridge/provider implementation, recipes, tests, and validation.
Core Features & Use Cases
- Model discovery & config analysis: Extracts critical HF config fields (model_type, architectures, dimensions, RoPE/MoE/MLA specifics) and determines whether the target is an LLM or VLM.
- Bridge + provider implementation guidance: Describes the correct file/folder layout, registration strategy, provider settings, and where model-specific modules belong.
- Weight conversion correctness for quantized checkpoints: Detects FP8/FP4/INT4 quantized safetensors and explains required dequantization approaches to prevent silently broken models.
- Recipe, test, and doc deliverables: Provides a checklist for adding training recipes, unit/functional tests, and docs/examples so onboarding is verifiable and maintainable.
Quick Start
Ask an AI to “help me add Qwen4 support to Megatron-Bridge by analyzing the HF config and safetensors, identifying whether it is an LLM or VLM, planning the required bridge/provider/model code structure, and outlining the dequantization and test steps needed for a correct import-export roundtrip.”