lshqqytiger / stable-diffusion-webui-amdgpu

Stable Diffusion web UI
GNU Affero General Public License v3.0
1.87k stars 191 forks source link

[Bug]: Does not work on Windows 10 with AMD GPU (Guide Outdated and Several Compatibility Issues) #545

Closed F1zzyD closed 2 weeks ago

F1zzyD commented 1 month ago

Checklist

What happened?

Clean install and complains about many... many errors. Would love to look at the logs, but logs are not saved in the directory that it says. Program blames subprocesses but does not list them. It only says "See above for output" with no clear indication of what exactly is causing the issue. The guide also appears to be a copy/paste from another github page but fails to define how to install it differently. Also, the page for Windows 10 AMD GPU installation shows mostly steps for a linux install. Not entirely sure this project is still alive, but looks like AMD compatibility was an afterthought.

Steps to reproduce the problem

  1. Follow initial steps from included directions
  2. Run webui-user.bat
  3. It complains about every program under the sun, does not define what the root cause could be, and saves no logs.

What should have happened?

Um.... run the effing program?

What browsers do you use to access the UI ?

Google Chrome

Sysinfo

Cant go to the Sysinfo page if it never runs, rending this step useless.

Console logs

This is all that it leaves behind:

C:\Users\user\AppData\Local\Temp\pip-build-env-i81jrxnb\overlay\Lib\site-packages\numpy\_core\include\numpy\npy_1_7_deprecated_api.h(14) : Warning Msg: Using deprecated NumPy API, disable it with #define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION
  skimage/feature/_haar.cp312-win_amd64.pyd.p/_haar.cpp(40898): warning C4551: function call missing argument list
  [49/168] Generating 'skimage\\measure\\_find_contours_cy.cp312-win_amd64.pyd.p\\_find_contours_cy.c'
  [50/168] Generating 'skimage\\measure\\_ccomp.cp312-win_amd64.pyd.p\\_ccomp.c'
  performance hint: C:\Users\userC\AppData\Local\Temp\pip-install-tx79ninv\scikit-image_59e541e3f3074785bbdcbaefb0fbcdb7\skimage\measure\_ccomp.pxd:6:22: No exception value declared for 'find_root' in pxd file.
  Users cimporting this function and calling it without the gil will always require an exception check.
  Suggest adding an explicit exception value.
  performance hint: C:\Users\user\AppData\Local\Temp\pip-install-tx79ninv\scikit-image_59e541e3f3074785bbdcbaefb0fbcdb7\skimage\measure\_ccomp.pyx:490:34: Exception check after calling 'ravel_index' will always require the GIL to be acquired. Declare 'ravel_index' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions.
  performance hint: C:\Users\user\AppData\Local\Temp\pip-install-tx79ninv\scikit-image_59e541e3f3074785bbdcbaefb0fbcdb7\skimage\measure\_ccomp.pyx:514:38: Exception check after calling 'ravel_index' will always require the GIL to be acquired. Declare 'ravel_index' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions.
  performance hint: C:\Users\user\AppData\Local\Temp\pip-install-tx79ninv\scikit-image_59e541e3f3074785bbdcbaefb0fbcdb7\skimage\measure\_ccomp.pyx:571:38: Exception check after calling 'ravel_index' will always require the GIL to be acquired. Declare 'ravel_index' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions.
  performance hint: C:\Users\user\AppData\Local\Temp\pip-install-tx79ninv\scikit-image_59e541e3f3074785bbdcbaefb0fbcdb7\skimage\measure\_ccomp.pyx:623:42: Exception check after calling 'ravel_index' will always require the GIL to be acquired. Declare 'ravel_index' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions.
  performance hint: C:\Users\user\AppData\Local\Temp\pip-install-tx79ninv\scikit-image_59e541e3f3074785bbdcbaefb0fbcdb7\skimage\measure\_ccomp.pyx:687:38: Exception check after calling 'ravel_index' will always require the GIL to be acquired. Declare 'ravel_index' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions.
  [51/168] Generating 'skimage\\measure\\_marching_cubes_lewiner_cy.cp312-win_amd64.pyd.p\\_marching_cubes_lewiner_cy.c'
  [52/168] Generating 'skimage\\measure\\_moments_cy.cp312-win_amd64.pyd.p\\_moments_cy.c'
  [53/168] Generating 'skimage\\_shared\\interpolation.cp312-win_amd64.pyd.p\\interpolation.c'
  [54/168] Generating 'skimage\\feature\\_cascade.cp312-win_amd64.pyd.p\\_cascade.cpp'
  performance hint: C:\Users\user\AppData\Local\Temp\pip-install-tx79ninv\scikit-image_59e541e3f3074785bbdcbaefb0fbcdb7\skimage\feature\_cascade.pyx:556:42: Exception check after calling '__pyx_fuse_0_multiblock_lbp' will always require the GIL to be acquired.
  Possible solutions:
          1. Declare '__pyx_fuse_0_multiblock_lbp' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions.
          2. Declare any exception value explicitly for functions in pxd files.
  performance hint: C:\Users\user\AppData\Local\Temp\pip-install-tx79ninv\scikit-image_59e541e3f3074785bbdcbaefb0fbcdb7\skimage\feature\_cascade.pyx:746:42: Exception check after calling 'classify' will always require the GIL to be acquired. Declare 'classify' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions.
  [55/168] Generating 'skimage\\feature\\orb_cy.cp312-win_amd64.pyd.p\\orb_cy.c'
  [56/168] Generating 'skimage\\feature\\_texture.cp312-win_amd64.pyd.p\\_texture.c'
  performance hint: C:\Users\user\AppData\Local\Temp\pip-install-tx79ninv\scikit-image_59e541e3f3074785bbdcbaefb0fbcdb7\skimage\feature\_texture.pxd:3:25: No exception value declared for '_multiblock_lbp' in pxd file.
  Users cimporting this function and calling it without the gil will always require an exception check.
  Suggest adding an explicit exception value.
  performance hint: C:\Users\user\AppData\Local\Temp\pip-install-tx79ninv\scikit-image_59e541e3f3074785bbdcbaefb0fbcdb7\skimage\feature\_texture.pyx:334:47: Exception check after calling '__pyx_fuse_8integrate' will always require the GIL to be acquired.
  Possible solutions:
          1. Declare '__pyx_fuse_8integrate' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions.
          2. Declare any exception value explicitly for functions in pxd files.
  performance hint: C:\Users\user\AppData\Local\Temp\pip-install-tx79ninv\scikit-image_59e541e3f3074785bbdcbaefb0fbcdb7\skimage\feature\_texture.pyx:345:36: Exception check after calling '__pyx_fuse_8integrate' will always require the GIL to be acquired.
  Possible solutions:
          1. Declare '__pyx_fuse_8integrate' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions.
          2. Declare any exception value explicitly for functions in pxd files.
  performance hint: C:\Users\user\AppData\Local\Temp\pip-install-tx79ninv\scikit-image_59e541e3f3074785bbdcbaefb0fbcdb7\skimage\feature\_texture.pyx:334:47: Exception check after calling '__pyx_fuse_9integrate' will always require the GIL to be acquired.
  Possible solutions:
          1. Declare '__pyx_fuse_9integrate' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions.
          2. Declare any exception value explicitly for functions in pxd files.
  performance hint: C:\Users\user\AppData\Local\Temp\pip-install-tx79ninv\scikit-image_59e541e3f3074785bbdcbaefb0fbcdb7\skimage\feature\_texture.pyx:345:36: Exception check after calling '__pyx_fuse_9integrate' will always require the GIL to be acquired.

  Possible solutions:

          1. Declare '__pyx_fuse_9integrate' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions.

          2. Declare any exception value explicitly for functions in pxd files.

  [57/168] Generating 'skimage\\filters\\rank\\generic_cy.cp312-win_amd64.pyd.p\\generic_cy.c'
  ninja: build stopped: subcommand failed.
  Activating VS 17.11.5
  INFO: automatically activated MSVC compiler environment
  INFO: autodetecting backend as ninja
  INFO: calculating backend command to run: C:\Users\user\AppData\Local\Temp\pip-build-env-i81jrxnb\normal\Scripts\ninja.EXE
  [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

Encountered error while generating package metadata.

See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

Press any key to continue . . .

Additional information

No response

CS1o commented 1 month ago

Hey, it seems you have a python based error. Mostly a wrong Python Version installed. 3.12 is not supported. Best is to use 3.10.11 64bit. Try open up a cmd and run pip cache purge Then uinstall Python. and install the correct Version. Delete the venv folder and relaunch the webui-user.bat

Also for a good Step by Step Guide checkout mines: https://github.com/CS1o/Stable-Diffusion-Info/wiki/Webui-Installation-Guides

F1zzyD commented 2 weeks ago

Those suggestions didn't work. I ended up going with a different fork that is updated and current.