You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
File "/data/users/felipemello/torchtune/recipes/lora_finetune_single_device.py", line 679, in train
self.save_checkpoint(epoch=curr_epoch)
File "/data/users/felipemello/torchtune/recipes/lora_finetune_single_device.py", line 539, in save_checkpoint
self._checkpointer.save_checkpoint(
File "/data/users/felipemello/torchtune/torchtune/utils/_checkpointing/_checkpointer.py", line 526, in save_checkpoint
state_dict[utils.MODEL_KEY] = convert_weights.tune_to_hf(
File "/data/users/felipemello/torchtune/torchtune/models/convert_weights.py", line 198, in tune_to_hf
new_key = get_mapped_key(key, inverted_mapping_dict)
File "/data/users/felipemello/torchtune/torchtune/models/convert_weights.py", line 59, in get_mapped_key
raise Exception(
Exception: Error converting the state dict. Found unexpected key: "_orig_mod.tok_embeddings.weight". Please make sure you're loading a checkpoint with the right format.
with this command:
in this PR: #1390
environment:
The text was updated successfully, but these errors were encountered: