Re-training PEFT model fails after loading with Linear4bit
error
#3833
Labels
llm
Large Language Model related
Linear4bit
error
#3833
Describe the bug
When attempting to train on top of an already trained model (with new data), loading the model with Python throws the error:
after attempting to load the model as so:
To Reproduce
Steps to reproduce the behavior:
Config:
Expected behavior
The training should resume without failure. Thanks to @geoffreyangus for helping me find a workaround by adding the previous training's weights to
adapter.pretrained_adapter_weights
in the config file.Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: