Replies: 2 comments 2 replies
-
include --use-directml in your arguments inside the webui-user.bat file and delete the venv folder. |
Beta Was this translation helpful? Give feedback.
2 replies
-
@lshqqytiger could you close the discussion please? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
venv "H:\Instalan Game\AI Stable Defusion\stable-diffusion-webui-directml\venv\Scripts\Python.exe"
fatal: No names found, cannot describe anything.
Python 3.10.6 (tags/v3.10.6:9c7b4bd, Aug 1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)]
Version: 1.7.0
Commit hash: 835ee20
no module 'xformers'. Processing without...
no module 'xformers'. Processing without...
No module 'xformers'. Proceeding without it.
H:\Instalan Game\AI Stable Defusion\stable-diffusion-webui-directml\venv\lib\site-packages\pytorch_lightning\utilities\distributed.py:258: LightningDeprecationWarning:
pytorch_lightning.utilities.distributed.rank_zero_only
has been deprecated in v1.8.1 and will be removed in v2.0.0. You can import it frompytorch_lightning.utilities
instead.rank_zero_deprecation(
2024-02-16 00:44:11.680884: I tensorflow/core/util/port.cc:113] oneDNN custom operations are on. You may see slightly different numerical results due to floating-point round-off errors from different computation orders. To turn them off, set the environment variable
TF_ENABLE_ONEDNN_OPTS=0
.2024-02-16 00:44:12.375516: I tensorflow/core/util/port.cc:113] oneDNN custom operations are on. You may see slightly different numerical results due to floating-point round-off errors from different computation orders. To turn them off, set the environment variable
TF_ENABLE_ONEDNN_OPTS=0
.Olive: Failed to load olive-ai: Failed to import transformers.models.gpt2.modeling_tf_gpt2 because of the following error (look up to see its traceback):
No module named 'keras.internal'
Launching Web UI with arguments: --opt-sub-quad-attention --lowvram --disable-nan-check --skip-torch-cuda-test
Style database not found: H:\Instalan Game\AI Stable Defusion\stable-diffusion-webui-directml\styles.csv
Warning: caught exception 'Found no NVIDIA driver on your system. Please check that you have an NVIDIA GPU and installed a driver from http://www.nvidia.com/Download/index.aspx', memory monitor disabled
H:\Instalan Game\AI Stable Defusion\stable-diffusion-webui-directml\venv\lib\site-packages\diffusers\utils\outputs.py:63: UserWarning: torch.utils._pytree._register_pytree_node is deprecated. Please use torch.utils._pytree.register_pytree_node instead.
torch.utils._pytree._register_pytree_node(
Traceback (most recent call last):
File "H:\Instalan Game\AI Stable Defusion\stable-diffusion-webui-directml\venv\lib\site-packages\transformers\utils\import_utils.py", line 1086, in get_module
return importlib.import_module("." + module_name, self.name)
File "C:\Users\User\AppData\Local\Programs\Python\Python310\lib\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 "H:\Instalan Game\AI Stable Defusion\stable-diffusion-webui-directml\venv\lib\site-packages\transformers\modeling_tf_utils.py", line 76, in
from keras.internal import KerasTensor
ModuleNotFoundError: No module named 'keras.internal'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "H:\Instalan Game\AI Stable Defusion\stable-diffusion-webui-directml\venv\lib\site-packages\transformers\utils\import_utils.py", line 1086, in get_module
return importlib.import_module("." + module_name, self.name)
File "C:\Users\User\AppData\Local\Programs\Python\Python310\lib\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 "H:\Instalan Game\AI Stable Defusion\stable-diffusion-webui-directml\venv\lib\site-packages\optimum\onnxruntime\modeling_diffusion.py", line 41, in
from ..exporters.onnx import main_export
File "H:\Instalan Game\AI Stable Defusion\stable-diffusion-webui-directml\venv\lib\site-packages\optimum\exporters_init.py", line 16, in
from .tasks import TasksManager # noqa
File "H:\Instalan Game\AI Stable Defusion\stable-diffusion-webui-directml\venv\lib\site-packages\optimum\exporters\tasks.py", line 52, in
from transformers import TFPreTrainedModel
File "", line 1075, in _handle_fromlist
File "H:\Instalan Game\AI Stable Defusion\stable-diffusion-webui-directml\venv\lib\site-packages\transformers\utils\import_utils.py", line 1076, in getattr
module = self._get_module(self._class_to_module[name])
File "H:\Instalan Game\AI Stable Defusion\stable-diffusion-webui-directml\venv\lib\site-packages\transformers\utils\import_utils.py", line 1088, in _get_module
raise RuntimeError(
RuntimeError: Failed to import transformers.modeling_tf_utils because of the following error (look up to see its traceback):
No module named 'keras.internal'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "H:\Instalan Game\AI Stable Defusion\stable-diffusion-webui-directml\launch.py", line 48, in
main()
File "H:\Instalan Game\AI Stable Defusion\stable-diffusion-webui-directml\launch.py", line 44, in main
start()
File "H:\Instalan Game\AI Stable Defusion\stable-diffusion-webui-directml\modules\launch_utils.py", line 677, in start
import webui
File "H:\Instalan Game\AI Stable Defusion\stable-diffusion-webui-directml\webui.py", line 13, in
initialize.imports()
File "H:\Instalan Game\AI Stable Defusion\stable-diffusion-webui-directml\modules\initialize.py", line 34, in imports
shared_init.initialize()
File "H:\Instalan Game\AI Stable Defusion\stable-diffusion-webui-directml\modules\shared_init.py", line 57, in initialize
initialize_onnx()
File "H:\Instalan Game\AI Stable Defusion\stable-diffusion-webui-directml\modules\onnx_impl_init_.py", line 236, in initialize
from .pipelines.onnx_stable_diffusion_xl_pipeline import OnnxStableDiffusionXLPipeline
File "H:\Instalan Game\AI Stable Defusion\stable-diffusion-webui-directml\modules\onnx_impl\pipelines\onnx_stable_diffusion_xl_pipeline.py", line 8, in
class OnnxStableDiffusionXLPipeline(CallablePipelineBase, optimum.onnxruntime.ORTStableDiffusionXLPipeline):
File "H:\Instalan Game\AI Stable Defusion\stable-diffusion-webui-directml\venv\lib\site-packages\transformers\utils\import_utils.py", line 1076, in getattr
module = self._get_module(self._class_to_module[name])
File "H:\Instalan Game\AI Stable Defusion\stable-diffusion-webui-directml\venv\lib\site-packages\transformers\utils\import_utils.py", line 1088, in _get_module
raise RuntimeError(
RuntimeError: Failed to import optimum.onnxruntime.modeling_diffusion because of the following error (look up to see its traceback):
Failed to import transformers.modeling_tf_utils because of the following error (look up to see its traceback):
No module named 'keras.internal'
anyone helpme. it my first intalling SD . i am so confused.
Beta Was this translation helpful? Give feedback.
All reactions