project-baize / baize-chatbot

Let ChatGPT teach your own chatbot in hours with a single GPU!
https://arxiv.org/abs/2304.01196
GNU General Public License v3.0
3.16k stars 282 forks source link

TypeError: init() got an unexpected keyword argument 'torch_dtype #52

Open lidongxing opened 1 year ago

lidongxing commented 1 year ago

when execute: "python -m fastchat.model.apply_lora --base huggyllama/llama-7b --target ./model_weights/baize-7b --lora project-baize/baize-lora-7B" ,the error "TypeError: init() got an unexpected keyword argument 'torch_dtype'" focus.

JetRunner commented 1 year ago

Maybe try to upgrade your PyTorch version to a newer one.