OpenBMB / MiniCPM-V

MiniCPM-Llama3-V 2.5: A GPT-4V Level Multimodal LLM on Your Phone
Apache License 2.0
7.82k stars 543 forks source link

[Issue] AttributeError: 'LoraModel' object has no attribute '_enable_peft_forward_hooks' #310

Open ssuncheol opened 1 week ago

ssuncheol commented 1 week ago

When I try to fine-tune MiniCPM-Llama3-V 2.5 in my workspace, the following error occurs. How do I solve it?

LDLINGLINGLING commented 3 days ago

你使用的是lora微调么?可以是试着更新peft和transformer版本试试

ssuncheol commented 3 days ago

你使用的是lora微调么?可以是试着更新peft和transformer版本试试

I would appreciate it if you could tell me the version of Peft and Transformer you are using.

LDLINGLINGLING commented 1 day ago

transformers 4.41.2 peft 0.11.1