Skip to content

feat(megatron-bridge): add pretrain trainer, hooks, and configs#647

Open
WangLingxun wants to merge 1 commit intomainfrom
feat/megatron-bridge-pretrain-support
Open

feat(megatron-bridge): add pretrain trainer, hooks, and configs#647
WangLingxun wants to merge 1 commit intomainfrom
feat/megatron-bridge-pretrain-support

Conversation

@WangLingxun
Copy link
Copy Markdown
Collaborator

  • Add Megatron-Bridge pretrain support by implementing MegatronBridgePretrainTrainer and wiring it to the Bridge pretrain entrypoint.
  • Introduce Megatron-Bridge pretrain module config and example YAMLs (qwen3_32b_pretrain, qwen3_8b_pretrain) with recipe-compatible overrides.
  • Add framework-local pretrain hooks for Megatron-Bridge (prepare.py, 00_install_requirements.sh, requirements file) to align with runner hook conventions.

@WangLingxun WangLingxun force-pushed the feat/megatron-bridge-pretrain-support branch 2 times, most recently from 78200a6 to a0cbab7 Compare April 7, 2026 08:00
- Add Megatron-Bridge pretrain support by implementing MegatronBridgePretrainTrainer and wiring it to the Bridge pretrain entrypoint.
- Introduce Megatron-Bridge pretrain module config and example YAMLs (qwen3_32b_pretrain, qwen3_8b_pretrain) with recipe-compatible overrides.
- Add framework-local pretrain hooks for Megatron-Bridge (prepare.py, 00_install_requirements.sh, requirements file) to align with runner hook conventions.
@WangLingxun WangLingxun force-pushed the feat/megatron-bridge-pretrain-support branch from a0cbab7 to 16480d6 Compare April 7, 2026 08:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant