Fix: Add peft to requirements.txt for LoRA adapter support

PEFT (Parameter-Efficient Fine-Tuning) is required for loading LoRA
adapters with pipe.load_lora_weights(). Without it, LoRA loading fails
with: 'PEFT backend is required for this method.'
parent 2b570a0a
...@@ -16,6 +16,7 @@ ftfy>=6.1.0 ...@@ -16,6 +16,7 @@ ftfy>=6.1.0
Pillow>=10.0.0 Pillow>=10.0.0
safetensors>=0.4.0 safetensors>=0.4.0
huggingface-hub>=0.19.0 huggingface-hub>=0.19.0
peft>=0.7.0 # Required for LoRA adapter loading
# Audio Dependencies (Optional - for TTS and music generation) # Audio Dependencies (Optional - for TTS and music generation)
scipy>=1.11.0 scipy>=1.11.0
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment