Skip to content

Commit

Permalink
fix: Fix --gpt-variant arg not being passed in checkpoint conversion …
Browse files Browse the repository at this point in the history
…script
  • Loading branch information
rmccorm4 committed Aug 30, 2024
1 parent 27aebea commit b5d6740
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,7 @@ def convert_and_save_rank(args, rank):
args.dtype,
mapping=mapping,
quant_config=quant_config,
gpt_variant=args.gpt_variant,
**override_fields)
model.save_checkpoint(args.output_dir, save_config=(rank == 0))
del model
Expand Down

0 comments on commit b5d6740

Please sign in to comment.