You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
from huggingface_hub import cached_download
Traceback (most recent call last):
File "", line 1, in
ImportError: cannot import name 'cached_download' from 'huggingface_hub' (/global/panfs01/users/mengfeil/miniforge3/envs/test/lib/python3.10/site-packages/huggingface_hub/init.py)
xpu train stable_diffusion_text_encoder
Traceback (most recent call last):
File "/home/sdp/actions-runner/_work/torch-xpu-ops/pytorch/benchmarks/dynamo/common.py", line 4886, in run
) = runner.load_model(
File "/home/sdp/actions-runner/_work/torch-xpu-ops/pytorch/benchmarks/dynamo/torchbench.py", line 246, in load_model
module = importlib.import_module(c)
File "/home/sdp/miniforge3/envs/e2e_ci/lib/python3.10/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1050, in _gcd_import
File "", line 1027, in _find_and_load
File "", line 1006, in _find_and_load_unlocked
File "", line 688, in _load_unlocked
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "/home/sdp/actions-runner/_work/torch-xpu-ops/benchmark/torchbenchmark/models/stable_diffusion_text_encoder/init.py", line 11, in
from diffusers import StableDiffusionPipeline, EulerDiscreteScheduler
File "/home/sdp/miniforge3/envs/e2e_ci/lib/python3.10/site-packages/diffusers/init.py", line 3, in
from .configuration_utils import ConfigMixin
File "/home/sdp/miniforge3/envs/e2e_ci/lib/python3.10/site-packages/diffusers/configuration_utils.py", line 34, in
from .utils import (
File "/home/sdp/miniforge3/envs/e2e_ci/lib/python3.10/site-packages/diffusers/utils/init.py", line 37, in
from .dynamic_modules_utils import get_class_from_dynamic_module
File "/home/sdp/miniforge3/envs/e2e_ci/lib/python3.10/site-packages/diffusers/utils/dynamic_modules_utils.py", line 28, in
from huggingface_hub import HfFolder, cached_download, hf_hub_download, model_info
ImportError: cannot import name 'cached_download' from 'huggingface_hub' (/home/sdp/miniforge3/envs/e2e_ci/lib/python3.10/site-packages/huggingface_hub/init.py)
Versions
huggingface-hub==0.26.0
The text was updated successfully, but these errors were encountered:
🐛 Describe the bug
from huggingface_hub import cached_download
Traceback (most recent call last):
File "", line 1, in
ImportError: cannot import name 'cached_download' from 'huggingface_hub' (/global/panfs01/users/mengfeil/miniforge3/envs/test/lib/python3.10/site-packages/huggingface_hub/init.py)
xpu train stable_diffusion_text_encoder
Traceback (most recent call last):
File "/home/sdp/actions-runner/_work/torch-xpu-ops/pytorch/benchmarks/dynamo/common.py", line 4886, in run
) = runner.load_model(
File "/home/sdp/actions-runner/_work/torch-xpu-ops/pytorch/benchmarks/dynamo/torchbench.py", line 246, in load_model
module = importlib.import_module(c)
File "/home/sdp/miniforge3/envs/e2e_ci/lib/python3.10/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1050, in _gcd_import
File "", line 1027, in _find_and_load
File "", line 1006, in _find_and_load_unlocked
File "", line 688, in _load_unlocked
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "/home/sdp/actions-runner/_work/torch-xpu-ops/benchmark/torchbenchmark/models/stable_diffusion_text_encoder/init.py", line 11, in
from diffusers import StableDiffusionPipeline, EulerDiscreteScheduler
File "/home/sdp/miniforge3/envs/e2e_ci/lib/python3.10/site-packages/diffusers/init.py", line 3, in
from .configuration_utils import ConfigMixin
File "/home/sdp/miniforge3/envs/e2e_ci/lib/python3.10/site-packages/diffusers/configuration_utils.py", line 34, in
from .utils import (
File "/home/sdp/miniforge3/envs/e2e_ci/lib/python3.10/site-packages/diffusers/utils/init.py", line 37, in
from .dynamic_modules_utils import get_class_from_dynamic_module
File "/home/sdp/miniforge3/envs/e2e_ci/lib/python3.10/site-packages/diffusers/utils/dynamic_modules_utils.py", line 28, in
from huggingface_hub import HfFolder, cached_download, hf_hub_download, model_info
ImportError: cannot import name 'cached_download' from 'huggingface_hub' (/home/sdp/miniforge3/envs/e2e_ci/lib/python3.10/site-packages/huggingface_hub/init.py)
Versions
huggingface-hub==0.26.0
The text was updated successfully, but these errors were encountered: