lllyasviel / stable-diffusion-webui-forge

GNU Affero General Public License v3.0
7.28k stars 702 forks source link

An error occurs when xformers is activated. #1139

Open p11muzu opened 3 weeks ago

p11muzu commented 3 weeks ago

hello

Commit hash: 447f26115486b22ce4690673fbf9d34b6bbc5ad8 Launching Web UI with arguments: --theme dark --xformers Total VRAM 24564 MB, total RAM 65399 MB pytorch version: 2.3.1+cu121 WARNING:xformers:A matching Triton is not available, some optimizations will not be enabled Traceback (most recent call last): File "C:\Users\aaa\Desktop\webui_forge_cu121_torch231\system\python\lib\site-packages\xformers__init__.py", line 57, in _is_triton_available import triton # noqa ModuleNotFoundError: No module named 'triton' xformers version: 0.0.27

flux In use

KSimulation commented 3 weeks ago

ModuleNotFoundError: No module named 'triton'

It takes a bit of work to get triton to work in Windows.

Noctree commented 3 weeks ago

Not a bug, but only a warning and devs here cannot fix it in any way except hiding it somehow. This is an issue with Triton (a library xformers can optionally use) lacking Windows support, xformers works just fine without it, it just won't enable all optimizations, as the warning states.

kenny00968 commented 3 weeks ago

问题解决了吗?我的也出现了这样的问题,想知道解决办法~