We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 02b47fd commit 8186fa9Copy full SHA for 8186fa9
1 file changed
src/MaxText/utils/ckpt_conversion/to_maxtext.py
@@ -840,7 +840,7 @@ def _eager_getter(key):
840
# Reconstruct model_args (script name + the args MaxText needs)
841
model_args = [sys.argv[0]] + remaining_args
842
843
- if local_args.use_from_pretrained_api:
+ if not local_args.use_from_pretrained_api:
844
assert local_args.hf_model_path != ""
845
assert local_args.mode != "default"
846
0 commit comments