peft
peft copied to clipboard
cannot import name 'get_peft_config' from 'peft' (unknown location)
System Info
cannot import name 'get_peft_config' from 'peft' (unknown location)
Who can help?
No response
Information
- [ ] The official example scripts
- [ ] My own modified scripts
Tasks
- [ ] An officially supported task in the
examplesfolder - [ ] My own task or dataset (give details below)
Reproduction
from peft import get_peft_config, get_peft_model, PrefixTuningConfig, TaskType, PeftType cannot import name 'get_peft_config' from 'peft' (unknown location)
Expected behavior
from peft import get_peft_config, get_peft_model, PrefixTuningConfig, TaskType, PeftType cannot import name 'get_peft_config' from 'peft' (unknown location)
This probably means that your PEFT installation is broken. Can you import anything else successfully from PEFT?
This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.