You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home_data/home/geyx2023/.conda/envs/llava/lib/python3.10/site-packages/peft/__init__.py", line 22, in <module>
from .auto import (
File "/home_data/home/geyx2023/.conda/envs/llava/lib/python3.10/site-packages/peft/auto.py", line 32, in <module>
from .mapping import MODEL_TYPE_TO_PEFT_MODEL_MAPPING
File "/home_data/home/geyx2023/.conda/envs/llava/lib/python3.10/site-packages/peft/mapping.py", line 25, in <module>
from .mixed_model import PeftMixedModel
File "/home_data/home/geyx2023/.conda/envs/llava/lib/python3.10/site-packages/peft/mixed_model.py", line 29, in <module>
from .peft_model import PeftModel
File "/home_data/home/geyx2023/.conda/envs/llava/lib/python3.10/site-packages/peft/peft_model.py", line 37, in <module>
from transformers import Cache, DynamicCache, EncoderDecoderCache, PreTrainedModel
ImportError: cannot import name 'EncoderDecoderCache' from 'transformers' (/home_data/home/geyx2023/.conda/envs/llava/lib/python3.10/site-packages/transformers/__init__.py)
Screenshots:
You may attach screenshots if it better explains the issue.
The text was updated successfully, but these errors were encountered:
Describe the issue
Issue:
As title. Better set peft==0.13.2
Command:
Log:
Screenshots:
You may attach screenshots if it better explains the issue.
The text was updated successfully, but these errors were encountered: