runtime error
Exit code: 1. Reason: ite-packages/peft/auto.py", line 32, in <module> from .mapping import MODEL_TYPE_TO_PEFT_MODEL_MAPPING File "/usr/local/lib/python3.10/site-packages/peft/mapping.py", line 25, in <module> from .mixed_model import PeftMixedModel File "/usr/local/lib/python3.10/site-packages/peft/mixed_model.py", line 29, in <module> from .peft_model import PeftModel File "/usr/local/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' (/usr/local/lib/python3.10/site-packages/transformers/__init__.py) The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/home/user/app/app.py", line 10, in <module> from llava.serve.gradio_utils import (Chat, block_css, learn_more_markdown, File "/home/user/app/llava/serve/gradio_utils.py", line 10, in <module> from llava.model.builder import load_pretrained_model File "/home/user/app/llava/model/builder.py", line 27, in <module> from llava.train.train import smart_tokenizer_and_embedding_resize File "/home/user/app/llava/train/train.py", line 37, in <module> from llava.train.llava_trainer import LLaVATrainer File "/home/user/app/llava/train/llava_trainer.py", line 7, in <module> from transformers import Trainer File "<frozen importlib._bootstrap>", line 1075, in _handle_fromlist File "/usr/local/lib/python3.10/site-packages/transformers/utils/import_utils.py", line 1354, in __getattr__ module = self._get_module(self._class_to_module[name]) File "/usr/local/lib/python3.10/site-packages/transformers/utils/import_utils.py", line 1366, in _get_module raise RuntimeError( RuntimeError: Failed to import transformers.trainer because of the following error (look up to see its traceback): cannot import name 'EncoderDecoderCache' from 'transformers' (/usr/local/lib/python3.10/site-packages/transformers/__init__.py)
Container logs:
Fetching error logs...