Open DavidFarago opened 1 year ago
I'm having the same issue
Please make sure your input model path is correct
According to my experience, the probability is that the problem is due to the version of peft, please take a look at /peft/tuners/lora.py
The current installation from git is version 0.3.0.dev0, there is a problem in merge_peft_adapter, need to switch to peft==0.2.0 (0.3.0.dev0 does not have _get_submodules() this function)
Calling
python merge_peft_adapter.py --model_name ./reward_model_vicuna-7b
yieldsWhen calling
python -m bitsandbytes
, I do getSUCCESS! Installation was successful!
.When calling
python merge_peft_adapter.py --model_name ./reward_model_vicuna-7b_100_2e-05/
, I get the errorafter loading checkpoint shards.