Closed jambonne closed 8 months ago
A recent update to PEFT deprecates and removes references to prepare_model_for_8bit_training. Since AnglE's dependencies are unversioned and it references the deprecated method here, the model breaks when its constructor is invoked.
prepare_model_for_8bit_training
AnglE
You can install older version of PEFT to fix this temporarily
pip install peft==0.7.1
Thank you! I will update the code to support the latest peft.
@ganeshkrishnan1 fixed this issue in angle_emb==0.3.10
angle_emb==0.3.10
A recent update to PEFT deprecates and removes references to
prepare_model_for_8bit_training
. SinceAnglE
's dependencies are unversioned and it references the deprecated method here, the model breaks when its constructor is invoked.