runtime error

ages/transformers/generation/utils.py", line 85, in <module> from accelerate.hooks import AlignDevicesHook, add_hook_to_module File "/usr/local/lib/python3.10/site-packages/accelerate/__init__.py", line 16, in <module> from .accelerator import Accelerator File "/usr/local/lib/python3.10/site-packages/accelerate/accelerator.py", line 34, in <module> from huggingface_hub import split_torch_state_dict_into_shards ImportError: cannot import name 'split_torch_state_dict_into_shards' from 'huggingface_hub' (/usr/local/lib/python3.10/site-packages/huggingface_hub/__init__.py) The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/home/user/app/gradio_app_sdxl_specific_id_low_vram.py", line 11, in <module> from utils.gradio_utils import ( File "/home/user/app/utils/__init__.py", line 1, in <module> from .model import PhotoMakerIDEncoder File "/home/user/app/utils/model.py", line 6, in <module> from transformers.models.clip.modeling_clip import CLIPVisionModelWithProjection File "/usr/local/lib/python3.10/site-packages/transformers/models/clip/modeling_clip.py", line 28, in <module> from ...modeling_utils import PreTrainedModel File "/usr/local/lib/python3.10/site-packages/transformers/modeling_utils.py", line 42, in <module> from .generation import GenerationConfig, GenerationMixin File "<frozen importlib._bootstrap>", line 1075, in _handle_fromlist File "/usr/local/lib/python3.10/site-packages/transformers/utils/import_utils.py", line 1372, 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 1384, in _get_module raise RuntimeError( RuntimeError: Failed to import transformers.generation.utils because of the following error (look up to see its traceback): cannot import name 'split_torch_state_dict_into_shards' from 'huggingface_hub' (/usr/local/lib/python3.10/site-packages/huggingface_hub/__init__.py)

Container logs:

Fetching error logs...