Hugging Face's logo
laceymac
/
Runtime error

runtime error

site-packages/diffusers/utils/__init__.py", line 21, in <module> from .accelerate_utils import apply_forward_hook File "/home/user/.local/lib/python3.10/site-packages/diffusers/utils/accelerate_utils.py", line 24, in <module> import accelerate File "/home/user/.local/lib/python3.10/site-packages/accelerate/__init__.py", line 3, in <module> from .accelerator import Accelerator File "/home/user/.local/lib/python3.10/site-packages/accelerate/accelerator.py", line 31, in <module> from .checkpointing import load_accelerator_state, load_custom_state, save_accelerator_state, save_custom_state File "/home/user/.local/lib/python3.10/site-packages/accelerate/checkpointing.py", line 24, in <module> from .utils import ( File "/home/user/.local/lib/python3.10/site-packages/accelerate/utils/__init__.py", line 116, in <module> from .megatron_lm import ( File "/home/user/.local/lib/python3.10/site-packages/accelerate/utils/megatron_lm.py", line 32, in <module> from transformers.modeling_outputs import ( File "/home/user/.local/lib/python3.10/site-packages/transformers/__init__.py", line 26, in <module> from . import dependency_versions_check File "/home/user/.local/lib/python3.10/site-packages/transformers/dependency_versions_check.py", line 57, in <module> require_version_core(deps[pkg]) File "/home/user/.local/lib/python3.10/site-packages/transformers/utils/versions.py", line 117, in require_version_core return require_version(requirement, hint) File "/home/user/.local/lib/python3.10/site-packages/transformers/utils/versions.py", line 111, in require_version _compare_versions(op, got_ver, want_ver, requirement, pkg, hint) File "/home/user/.local/lib/python3.10/site-packages/transformers/utils/versions.py", line 44, in _compare_versions raise ImportError( ImportError: accelerate>=0.20.3 is required for a normal functioning of this module, but found accelerate==0.18.0. Try: pip install transformers -U or pip install -e '.[dev]' if you're working with git main

Container logs:

Fetching error logs...