forked from AUTOMATIC1111/stable-diffusion-webui
-
Notifications
You must be signed in to change notification settings - Fork 236
Open
Labels
directmlDirectML related or specific issueDirectML related or specific issue
Description
Checklist
- The issue exists after disabling all extensions
- The issue exists on a clean installation of webui
- The issue is caused by an extension, but I believe it is caused by a bug in the webui
- The issue exists in the current version of the webui
- The issue has not been reported before recently
- The issue has been reported before but has not been fixed yet
What happened?
I tried to fix it like here #404, but it doesn't works. I have win10 and rx6600. --use-directml also didn't work.
Steps to reproduce the problem
- Download the stable-diffusion-webui-amdgpu repository, for example by running git clone https://github.com/lshqqytiger/stable-diffusion-webui-amdgpu.git
- Run webui-user.bat from Windows Explorer as normal, non-administrator, user.
What should have happened?
AttributeError: module 'torch' has no attribute 'dml'
What browsers do you use to access the UI ?
No response
Sysinfo
Can't open webui
Console logs
I:\SD\SD\venv\lib\site-packages\timm\models\layers\__init__.py:48: FutureWarning: Importing from timm.models.layers is deprecated, please import via timm.layers
warnings.warn(f"Importing from {__name__} is deprecated, please import via timm.layers", FutureWarning)
no module 'xformers'. Processing without...
no module 'xformers'. Processing without...
No module 'xformers'. Proceeding without it.
I:\SD\SD\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 from `pytorch_lightning.utilities` instead.
rank_zero_deprecation(
Launching Web UI with arguments: --use-directml
DirectML initialization failed: DLL load failed while importing torch_directml_native: The specified procedure could not be found.
Traceback (most recent call last):
File "I:\SD\SD\launch.py", line 48, in <module>
main()
File "I:\SD\SD\launch.py", line 44, in main
start()
File "I:\SD\SD\modules\launch_utils.py", line 714, in start
import webui
File "I:\SD\SD\webui.py", line 13, in <module>
initialize.imports()
File "I:\SD\SD\modules\initialize.py", line 36, in imports
shared_init.initialize()
File "I:\SD\SD\modules\shared_init.py", line 30, in initialize
directml_do_hijack()
File "I:\SD\SD\modules\dml\__init__.py", line 76, in directml_do_hijack
if not torch.dml.has_float64_support(device):
File "I:\SD\SD\venv\lib\site-packages\torch\__init__.py", line 2745, in __getattr__
raise AttributeError(f"module '{__name__}' has no attribute '{name}'")
AttributeError: module 'torch' has no attribute 'dml'
Press any key to continue . . .Additional information
It's just clear download, idk what to do
Metadata
Metadata
Assignees
Labels
directmlDirectML related or specific issueDirectML related or specific issue