shuxueslpi / chatGLM-6B-QLoRA

使用peft库,对chatGLM-6B/chatGLM2-6B实现4bit的QLoRA高效微调,并做lora model和base model的merge及4bit的量化(quantize)。
350 stars 46 forks source link

base_model merge with lora fault #6

Closed cheney369 closed 1 year ago

cheney369 commented 1 year ago

AttributeError: 'PeftModelForCausalLM' object has no attribute 'merge_and_upload' During handling of the above exception, another exception occurred: AttributeError: 'ChatGLMForConditionalGeneration' object has no attribute 'merge_and_upload'

包环境已经更新成最新的,调了一天这个问题,来求助!

cheney369 commented 1 year ago

函数看错了,真的白痴了