runtime error
Exit code: 1. Reason: n _call_with_frames_removed File "<frozen importlib._bootstrap>", line 1050, in _gcd_import File "<frozen importlib._bootstrap>", line 1027, in _find_and_load File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 688, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 883, in exec_module File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed File "/usr/local/lib/python3.10/site-packages/diffusers/models/autoencoders/__init__.py", line 25, in <module> from .autoencoder_rae import AutoencoderRAE File "/usr/local/lib/python3.10/site-packages/diffusers/models/autoencoders/autoencoder_rae.py", line 31, in <module> from transformers import ( ImportError: cannot import name 'Dinov2WithRegistersConfig' 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 "/app/app.py", line 18, in <module> from pipeline import InstantCharacterFluxPipeline File "/app/pipeline.py", line 7, in <module> from diffusers.pipelines.flux.pipeline_flux import * File "/usr/local/lib/python3.10/site-packages/diffusers/pipelines/flux/pipeline_flux.py", line 31, in <module> from ...models import AutoencoderKL, FluxTransformer2DModel File "<frozen importlib._bootstrap>", line 1075, in _handle_fromlist File "/usr/local/lib/python3.10/site-packages/diffusers/utils/import_utils.py", line 1042, in __getattr__ module = self._get_module(self._class_to_module[name]) File "/usr/local/lib/python3.10/site-packages/diffusers/utils/import_utils.py", line 1054, in _get_module raise RuntimeError( RuntimeError: Failed to import diffusers.models.autoencoders.autoencoder_kl because of the following error (look up to see its traceback): cannot import name 'Dinov2WithRegistersConfig' from 'transformers' (/usr/local/lib/python3.10/site-packages/transformers/__init__.py)
Container logs:
Fetching error logs...