Closed waldolin closed 7 months ago
Some of your extensions don't seem to be compatible with webui v1.9.0. Downgrade webui or ask extension developer.
Downgrading webui: git checkout tags/v1.8.0-amd
Some of your extensions don't seem to be compatible with webui v1.9.0. Downgrade webui or ask extension developer.
Downgrading webui:
git checkout tags/v1.8.0-amd
Thank you for replying immediately. MY AMD Driver version :24.3.1 I closed all extension and git checkout tags/v1.8.0-amd and copy for testing. there is a problem about it as below:
Python 3.10.7 (tags/v3.10.7:6cc6b13, Sep 5 2022, 14:08:36) [MSC v.1933 64 bit (AMD64)] Version: v1.8.0-amd Commit hash: 8e2f087ab7925fbbddf0cc30d68655bf070e98b2 D:\Users\lin\stable-diffusion-webui-directml\venv\lib\site-packages\bitsandbytes\cextension.py:31: UserWarning: The installed version of bitsandbytes was compiled without GPU support. 8-bit optimizers, 8-bit multiplication, and GPU quantization are unavailable. warn("The installed version of bitsandbytes was compiled without GPU support. " function 'cadam32bit_grad_fp32' not found D:\Users\lin\stable-diffusion-webui-directml\venv\lib\site-packages\pkg_resources\__init__.py:123: PkgResourcesDeprecationWarning: llow is an invalid version and will not be supported in a future release warnings.warn( D:\Users\lin\stable-diffusion-webui-directml\venv\lib\site-packages\pkg_resources\__init__.py:123: PkgResourcesDeprecationWarning: otobuf is an invalid version and will not be supported in a future release warnings.warn( D:\Users\lin\stable-diffusion-webui-directml\venv\lib\site-packages\pkg_resources\__init__.py:123: PkgResourcesDeprecationWarning: llow is an invalid version and will not be supported in a future release warnings.warn( D:\Users\lin\stable-diffusion-webui-directml\venv\lib\site-packages\pkg_resources\__init__.py:123: PkgResourcesDeprecationWarning: otobuf is an invalid version and will not be supported in a future release warnings.warn( no module 'xformers'. Processing without... no module 'xformers'. Processing without... No module 'xformers'. Proceeding without it. D:\Users\lin\stable-diffusion-webui-directml\venv\lib\site-packages\pytorch_lightning\utilities\distributed.py:258: LightningDeprecationWarning:
pytorch_lightning.utilities.distributed.rank_zero_onlyhas been deprecated in v1.8.1 and will be removed in v2.0.0. You can import it from
pytorch_lightning.utilities` instead.
rank_zero_deprecation(
Launching Web UI with arguments: --medvram --precision full --no-half --no-half-vae --opt-sub-quad-attention --enable-insecure-extension-access --deepdanbooru --disable-nan-check --skip-torch-cuda-test
Warning: caught exception 'Torch not compiled with CUDA enabled', memory monitor disabled
ONNX: selected=CUDAExecutionProvider, available=['DmlExecutionProvider', 'CPUExecutionProvider']You are running torch 2.0.0+cpu. The program is tested to work with torch 2.1.2. To reinstall the desired version, run with commandline flag --reinstall-torch. Beware that this will cause a lot of large files to be downloaded, as well as there are reports of issues with training tab on the latest version.
"Disable all extensions" option was set, will not load any extensions Loading weights [a47e380db3] from D:\Users\lin\stable-diffusion-webui-directml\models\Stable-diffusion\sdxlUnstableDiffusers_nihilmania.safetensors Creating model from config: D:\Users\lin\stable-diffusion-webui-directml\repositories\generative-models\configs\inference\sd_xl_base.yaml Running on local URL: http://127.0.0.1:7860
To create a public link, set share=True
in launch()
.
Startup time: 4.3s (prepare environment: 8.1s, initialize shared: 0.8s, other imports: 0.1s, load scripts: 0.8s, create ui: 0.2s, gradio launch: 0.5s).
Applying attention optimization: sub-quadratic... done.
No Image data blocks found.
No Image data blocks found.
Model loaded in 4.7s (load weights from disk: 0.1s, create model: 0.7s, apply weights to model: 1.9s, apply float(): 1.5s, calculate empty prompt: 0.3s).`
What's the problem? I can't see any fatal error.
What's the problem? I can't see any fatal error.
it can not use GPU. It can be used before. i fix it. "--use-directml"
Checklist
What happened?
stable-diffusion-webui-directml is not working git pull and can't start it wit h gpu. and i delete venv and reinstall it but still not working how to solve it?
Steps to reproduce the problem
it works but sometimes not work and i have gitted pull
PS C:\Users\lin\stable-diffusion-webui-directml> git pull Already up to date.
can't start it with gpu ' `venv "C:\Users\lin\stable-diffusion-webui-directml\venv\Scripts\Python.exe" Python 3.10.7 (tags/v3.10.7:6cc6b13, Sep 5 2022, 14:08:36) [MSC v.1933 64 bit (AMD64)] Version: v1.9.0 Commit hash: 174310096385aa33d7b174f231650a941d73f19b Installing requirements C:\Users\lin\stable-diffusion-webui-directml\venv\lib\site-packages\bitsandbytes\cextension.py:31: UserWarning: The installed version of bitsandbytes was compiled without GPU support. 8-bit optimizers, 8-bit multiplication, and GPU quantization are unavailable. warn("The installed version of bitsandbytes was compiled without GPU support. " function 'cadam32bit_grad_fp32' not found C:\Users\lin\stable-diffusion-webui-directml\venv\lib\site-packages\pkg_resources__init__.py:123: PkgResourcesDeprecationWarning: llow is an invalid version and will not be supported in a future release warnings.warn( C:\Users\lin\stable-diffusion-webui-directml\venv\lib\site-packages\pkg_resources__init__.py:123: PkgResourcesDeprecationWarning: otobuf is an invalid version and will not be supported in a future release warnings.warn(
and i delete venv and reinstall but still not work..
and it show closed
and i reopen it it still not work
`The above exception was the direct cause of the following exception:
Traceback (most recent call last): File "C:\Users\lin\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\lin\stable-diffusion-webui-directml\python\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 "C:\Users\lin\stable-diffusion-webui-directml\venv\lib\site-packages\optimum\onnxruntime\modeling_diffusion.py", line 41, in
from ..exporters.onnx import main_export
File "C:\Users\lin\stable-diffusion-webui-directml\venv\lib\site-packages\optimum\exporters__init.py", line 16, in
from .tasks import TasksManager # noqa
File "C:\Users\lin\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 "C:\Users\lin\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 "C:\Users\lin\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 "C:\Users\lin\stable-diffusion-webui-directml\launch.py", line 48, in
main()
File "C:\Users\lin\stable-diffusion-webui-directml\launch.py", line 44, in main
start()
File "C:\Users\lin\stable-diffusion-webui-directml\modules\launch_utils.py", line 696, in start
import webui
File "C:\Users\lin\stable-diffusion-webui-directml\webui.py", line 13, in
initialize.imports()
File "C:\Users\lin\stable-diffusion-webui-directml\modules\initialize.py", line 36, in imports
shared_init.initialize()
File "C:\Users\lin\stable-diffusion-webui-directml\modules\shared_init.py", line 62, in initialize
initialize_onnx()
File "C:\Users\lin\stable-diffusion-webui-directml\modules\onnx_impl__init.py", line 236, in initialize
from .pipelines.onnx_stable_diffusion_xl_pipeline import OnnxStableDiffusionXLPipeline
File "C:\Users\lin\stable-diffusion-webui-directml\modules\onnx_impl\pipelines\onnx_stable_diffusion_xl_pipeline.py", line 8, in
class OnnxStableDiffusionXLPipeline(CallablePipelineBase, optimum.onnxruntime.ORTStableDiffusionXLPipeline):
File "C:\Users\lin\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 "C:\Users\lin\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'``
What should have happened?
run website.
What browsers do you use to access the UI ?
No response
Sysinfo
version: v1.9.0 • python: 3.10.7 • torch: 2.0.0+cpu • xformers: N/A • gradio: 3.41.2 • checkpoint: a47e380db3 windows 11 23H2 22631.3296 13th Gen Intel(R) Core(TM) i5-13600K
6950XT
Console logs
Additional information
no update my GPU driver