forked from AUTOMATIC1111/stable-diffusion-webui
-
Notifications
You must be signed in to change notification settings - Fork 52
Open
Description
Is there an existing issue for this?
- I have searched the existing issues and checked the recent builds/commits
What happened?
There is no "Accelerate with OpenVINO" option.
It seems the Script had an error loading.
*** Error loading script: openvino_accelerate.py
Traceback (most recent call last):
File "A:\stable-diffusion-webui\modules\scripts.py", line 382, in load_scripts
script_module = script_loading.load_module(scriptfile.path)
File "A:\stable-diffusion-webui\modules\script_loading.py", line 10, in load_module
module_spec.loader.exec_module(module)
File "<frozen importlib._bootstrap_external>", line 883, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "A:\stable-diffusion-webui\scripts\openvino_accelerate.py", line 47, in <module>
from diffusers import (
File "A:\stable-diffusion-webui\venv\lib\site-packages\diffusers\__init__.py", line 5, in <module>
from .utils import (
File "A:\stable-diffusion-webui\venv\lib\site-packages\diffusers\utils\__init__.py", line 38, in <module>
from .dynamic_modules_utils import get_class_from_dynamic_module
File "A:\stable-diffusion-webui\venv\lib\site-packages\diffusers\utils\dynamic_modules_utils.py", line 28, in <module>
from huggingface_hub import HfFolder, cached_download, hf_hub_download, model_info
ImportError: cannot import name 'cached_download' from 'huggingface_hub' (A:\stable-diffusion-webui\venv\lib\site-packages\huggingface_hub\__init__.py)
Notes:
https://github.com/openvinotoolkit/stable-diffusion-webui/wiki/Installation-on-Intel-Silicon
PyTorch doesn't support torch.compile officially on windows yet. Launching torch-install.bat installs PyTorch and enables torch.compile for OpenVINO backend.
- There is no
torch-install.bat
I want to run with support for my Intel Arc A770.
Steps to reproduce the problem
Windows 11 Professional N
- Install Git
- Install Python
3.10.6 - Run Command Prompt as Administrator
3.1.git clone https://github.com/openvinotoolkit/stable-diffusion-webui.git
3.2.cd stable-diffusion-webui
3.3.webui-user.bat - See that there is no Accelerate with OpenVINO option in Scripts
- See console output that it has an error loading
openvino_accelerate.py
What should have happened?
There should have been no error loading the script and I should have been able to select it from the dropdown.
Sysinfo
What browsers do you use to access the UI ?
Microsoft Edge
Console logs
*** Error loading script: openvino_accelerate.py
Traceback (most recent call last):
File "A:\stable-diffusion-webui\modules\scripts.py", line 382, in load_scripts
script_module = script_loading.load_module(scriptfile.path)
File "A:\stable-diffusion-webui\modules\script_loading.py", line 10, in load_module
module_spec.loader.exec_module(module)
File "<frozen importlib._bootstrap_external>", line 883, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "A:\stable-diffusion-webui\scripts\openvino_accelerate.py", line 47, in <module>
from diffusers import (
File "A:\stable-diffusion-webui\venv\lib\site-packages\diffusers\__init__.py", line 5, in <module>
from .utils import (
File "A:\stable-diffusion-webui\venv\lib\site-packages\diffusers\utils\__init__.py", line 38, in <module>
from .dynamic_modules_utils import get_class_from_dynamic_module
File "A:\stable-diffusion-webui\venv\lib\site-packages\diffusers\utils\dynamic_modules_utils.py", line 28, in <module>
from huggingface_hub import HfFolder, cached_download, hf_hub_download, model_info
ImportError: cannot import name 'cached_download' from 'huggingface_hub' (A:\stable-diffusion-webui\venv\lib\site-packages\huggingface_hub\__init__.py)
Full log:
https://pastebin.com/dUgFPhTEAdditional information
I had Python 3.12 installed prior, but uninstalled before installing Python 3.10.6
Metadata
Metadata
Assignees
Labels
No labels
