AGI-Edgerunners / LLM-Adapters

Code for our EMNLP 2023 Paper: "LLM-Adapters: An Adapter Family for Parameter-Efficient Fine-Tuning of Large Language Models"
https://arxiv.org/abs/2304.01933
Apache License 2.0
1.05k stars 99 forks source link

Can not find BottleneckConfig #68

Open 1148514800 opened 4 months ago

1148514800 commented 4 months ago

ImportError: cannot import name 'BottleneckConfig' from 'peft' (/home/hpclp/anaconda3/envs/adapter/lib/python3.10/site-packages/peft/init.py)

HZQ950419 commented 4 months ago

Hi, Please uninstall peft and rerun.

1148514800 commented 4 months ago

Thank you for your answer! I can't run it still after i uninstall peft. But it runs after i import peft packages using absolute paths.