stable-diffusion-webui-amdgpu icon indicating copy to clipboard operation
stable-diffusion-webui-amdgpu copied to clipboard

[Bug]: using directml, startup crash on clean install

Open fifskank opened this issue 10 months ago • 1 comments

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 downloaded the correct build, followed the guide, and here is the log with the error, im trying to use --use-directml, but keep crashing, Please help me get it right, ive been trying to setup many times different combination but no results for now, help me out what am i doin wrong it was working fine using the --use-directml worked fine for me, but no anymore

Steps to reproduce the problem

double click webui-user.bat

What should have happened?

i want to use directml so i can use my igpu, it worked fine just using --use-directml, but ive tryied out many other arguments still not working

What browsers do you use to access the UI ?

No response

Sysinfo

Image

Console logs

venv "D:\SDXL_comp\stable-diffusion-webui-amdgpu\venv\Scripts\Python.exe"
D:\SDXL_comp\stable-diffusion-webui-amdgpu\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.
D:\SDXL_comp\stable-diffusion-webui-amdgpu\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(
Traceback (most recent call last):
  File "D:\SDXL_comp\stable-diffusion-webui-amdgpu\launch.py", line 48, in <module>
    main()
  File "D:\SDXL_comp\stable-diffusion-webui-amdgpu\launch.py", line 29, in main
    filename = launch_utils.dump_sysinfo()
  File "D:\SDXL_comp\stable-diffusion-webui-amdgpu\modules\launch_utils.py", line 728, in dump_sysinfo
    text = sysinfo.get()
  File "D:\SDXL_comp\stable-diffusion-webui-amdgpu\modules\sysinfo.py", line 46, in get
    res = get_dict()
  File "D:\SDXL_comp\stable-diffusion-webui-amdgpu\modules\sysinfo.py", line 119, in get_dict
    "Extensions": get_extensions(enabled=True, fallback_disabled_extensions=config.get('disabled_extensions', [])),
AttributeError: 'str' object has no attribute 'get'
Press any key to continue . . .

Additional information

No response

fifskank avatar Jan 31 '25 03:01 fifskank

This is upstream sysinfo bug.

lshqqytiger avatar Jan 31 '25 03:01 lshqqytiger