runtime error
Exit code: 1. Reason: ile "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed File "/usr/local/lib/python3.10/site-packages/transformers/models/auto/modeling_auto.py", line 22, in <module> from .auto_factory import ( File "/usr/local/lib/python3.10/site-packages/transformers/models/auto/auto_factory.py", line 40, in <module> from ...generation import GenerationMixin File "<frozen importlib._bootstrap>", line 1075, in _handle_fromlist File "/usr/local/lib/python3.10/site-packages/transformers/utils/import_utils.py", line 1956, 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 1970, in _get_module raise RuntimeError( RuntimeError: Failed to import transformers.generation.utils because of the following error (look up to see its traceback): register_pytree_node() got an unexpected keyword argument 'flatten_with_keys_fn' The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/home/user/app/app.py", line 4, in <module> from transformers import AutoModelForCausalLM, AutoTokenizer, BitsAndBytesConfig File "<frozen importlib._bootstrap>", line 1075, in _handle_fromlist File "/usr/local/lib/python3.10/site-packages/transformers/utils/import_utils.py", line 1957, in __getattr__ value = getattr(module, name) File "/usr/local/lib/python3.10/site-packages/transformers/utils/import_utils.py", line 1956, 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 1970, in _get_module raise RuntimeError( RuntimeError: Failed to import transformers.models.auto.modeling_auto because of the following error (look up to see its traceback): Failed to import transformers.generation.utils because of the following error (look up to see its traceback): register_pytree_node() got an unexpected keyword argument 'flatten_with_keys_fn'
Container logs:
Fetching error logs...