diff --git a/merge-hf-and-lora-to-hf.py b/merge-hf-and-lora-to-hf.py index ca8c68d5b..b75684072 100644 --- a/merge-hf-and-lora-to-hf.py +++ b/merge-hf-and-lora-to-hf.py @@ -48,7 +48,6 @@ model = LlamaForCausalLM.from_pretrained( device_map={"": "cpu"}, ) - # peft loaded. load lora. model = PeftModel.from_pretrained( model,