We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f3d90a3 commit da2599cCopy full SHA for da2599c
examples/megatron_bridge/distill.py
@@ -332,6 +332,7 @@ def _build_model_provider(hf_path):
332
export_bridge = AutoBridge.from_hf_pretrained(
333
args.student_hf_model, trust_remote_code=args.trust_remote_code
334
)
335
+ # Copy weights and remote code
336
export_bridge.export_ckpt(
337
megatron_path=f"{checkpoint_dir}/iter_{args.train_iters:07d}",
338
hf_path=args.hf_export_path,
0 commit comments