Skip to content

Commit da2599c

Browse files
minor
Signed-off-by: Keval Morabia <28916987+kevalmorabia97@users.noreply.github.com>
1 parent f3d90a3 commit da2599c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

examples/megatron_bridge/distill.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -332,6 +332,7 @@ def _build_model_provider(hf_path):
332332
export_bridge = AutoBridge.from_hf_pretrained(
333333
args.student_hf_model, trust_remote_code=args.trust_remote_code
334334
)
335+
# Copy weights and remote code
335336
export_bridge.export_ckpt(
336337
megatron_path=f"{checkpoint_dir}/iter_{args.train_iters:07d}",
337338
hf_path=args.hf_export_path,

0 commit comments

Comments
 (0)