Skip to content

[Bug]: It doesn't work 6d85a7d #617

@EygenCat

Description

@EygenCat

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?

It doesn't work

Steps to reproduce the problem

  1. Install 6d85a7d
  2. Drop the neural network into the folder
  3. Run with the parameters --autolaunch --use-zluda --theme=dark --skip-ort
    3.1 A numpy error occurs, restart.
  4. Click on "generate" and an error appears in the console RuntimeError: invalid argument to memory_allocated

What should have happened?

Neural network operation

What browsers do you use to access the UI ?

Google Chrome

Sysinfo

sysinfo-2025-07-04-11-56.json

Console logs

Creating venv in directory H:\IL\04072025\stable-diffusion-webui-amdgpu\venv using python "C:\Program Files\Python311\python.exe"
Requirement already satisfied: pip in h:\il\04072025\stable-diffusion-webui-amdgpu\venv\lib\site-packages (24.0)
Collecting pip
  Using cached pip-25.1.1-py3-none-any.whl.metadata (3.6 kB)
Using cached pip-25.1.1-py3-none-any.whl (1.8 MB)
Installing collected packages: pip
  Attempting uninstall: pip
    Found existing installation: pip 24.0
    Uninstalling pip-24.0:
      Successfully uninstalled pip-24.0
Successfully installed pip-25.1.1
venv "H:\IL\04072025\stable-diffusion-webui-amdgpu\venv\Scripts\Python.exe"
WARNING: ZLUDA works best with SD.Next. Please consider migrating to SD.Next.
=============================================================================================================================
INCOMPATIBLE PYTHON VERSION

This program is tested with 3.10.6 Python, but you have 3.11.9.
If you encounter an error with "RuntimeError: Couldn't install torch." message,
or any other error regarding unsuccessful package (library) installation,
please downgrade (or upgrade) to the latest version of 3.10 Python
and delete current Python and "venv" folder in WebUI's directory.

You can download 3.10 Python from here: https://www.python.org/downloads/release/python-3106/

Alternatively, use a binary release of WebUI: https://github.com/AUTOMATIC1111/stable-diffusion-webui/releases/tag/v1.0.0-pre

Use --skip-python-version-check to suppress this warning.
=============================================================================================================================
Python 3.11.9 (tags/v3.11.9:de54cf5, Apr  2 2024, 10:12:12) [MSC v.1938 64 bit (AMD64)]
Version: v1.10.1-amd-39-g6d85a7df
Commit hash: 6d85a7dfa4977ae4eece9cbbab4725123833be14
ROCm: agents=['gfx1031']
ROCm: version=6.2, using agent gfx1031
ZLUDA support: experimental
ZLUDA load: path='H:\IL\04072025\stable-diffusion-webui-amdgpu\.zluda' nightly=False
Installing torch and torchvision
Looking in indexes: https://download.pytorch.org/whl/cu118
Collecting torch==2.7.0
  Using cached https://download.pytorch.org/whl/cu118/torch-2.7.0%2Bcu118-cp311-cp311-win_amd64.whl.metadata (29 kB)
Collecting torchvision
  Using cached https://download.pytorch.org/whl/cu118/torchvision-0.22.1%2Bcu118-cp311-cp311-win_amd64.whl.metadata (6.3 kB)
Collecting filelock (from torch==2.7.0)
  Using cached https://download.pytorch.org/whl/filelock-3.13.1-py3-none-any.whl.metadata (2.8 kB)
Collecting typing-extensions>=4.10.0 (from torch==2.7.0)
  Using cached https://download.pytorch.org/whl/typing_extensions-4.12.2-py3-none-any.whl.metadata (3.0 kB)
Collecting sympy>=1.13.3 (from torch==2.7.0)
  Using cached https://download.pytorch.org/whl/sympy-1.13.3-py3-none-any.whl.metadata (12 kB)
Collecting networkx (from torch==2.7.0)
  Using cached https://download.pytorch.org/whl/networkx-3.3-py3-none-any.whl.metadata (5.1 kB)
Collecting jinja2 (from torch==2.7.0)
  Using cached https://download.pytorch.org/whl/Jinja2-3.1.4-py3-none-any.whl.metadata (2.6 kB)
Collecting fsspec (from torch==2.7.0)
  Using cached https://download.pytorch.org/whl/fsspec-2024.6.1-py3-none-any.whl.metadata (11 kB)
Collecting numpy (from torchvision)
  Using cached https://download.pytorch.org/whl/numpy-2.1.2-cp311-cp311-win_amd64.whl.metadata (59 kB)
INFO: pip is looking at multiple versions of torchvision to determine which version is compatible with other requirements. This could take a while.
Collecting torchvision
  Using cached https://download.pytorch.org/whl/cu118/torchvision-0.22.0%2Bcu118-cp311-cp311-win_amd64.whl.metadata (6.3 kB)
Collecting pillow!=8.3.*,>=5.3.0 (from torchvision)
  Using cached https://download.pytorch.org/whl/pillow-11.0.0-cp311-cp311-win_amd64.whl.metadata (9.3 kB)
Collecting mpmath<1.4,>=1.1.0 (from sympy>=1.13.3->torch==2.7.0)
  Using cached https://download.pytorch.org/whl/mpmath-1.3.0-py3-none-any.whl (536 kB)
Collecting MarkupSafe>=2.0 (from jinja2->torch==2.7.0)
  Using cached https://download.pytorch.org/whl/MarkupSafe-2.1.5-cp311-cp311-win_amd64.whl (17 kB)
Using cached https://download.pytorch.org/whl/cu118/torch-2.7.0%2Bcu118-cp311-cp311-win_amd64.whl (2908.5 MB)
Using cached https://download.pytorch.org/whl/cu118/torchvision-0.22.0%2Bcu118-cp311-cp311-win_amd64.whl (5.5 MB)
Using cached https://download.pytorch.org/whl/pillow-11.0.0-cp311-cp311-win_amd64.whl (2.6 MB)
Using cached https://download.pytorch.org/whl/sympy-1.13.3-py3-none-any.whl (6.2 MB)
Using cached https://download.pytorch.org/whl/typing_extensions-4.12.2-py3-none-any.whl (37 kB)
Using cached https://download.pytorch.org/whl/filelock-3.13.1-py3-none-any.whl (11 kB)
Using cached https://download.pytorch.org/whl/fsspec-2024.6.1-py3-none-any.whl (177 kB)
Using cached https://download.pytorch.org/whl/Jinja2-3.1.4-py3-none-any.whl (133 kB)
Using cached https://download.pytorch.org/whl/networkx-3.3-py3-none-any.whl (1.7 MB)
Using cached https://download.pytorch.org/whl/numpy-2.1.2-cp311-cp311-win_amd64.whl (12.9 MB)
Installing collected packages: mpmath, typing-extensions, sympy, pillow, numpy, networkx, MarkupSafe, fsspec, filelock,jinja2, torch, torchvision
Successfully installed MarkupSafe-2.1.5 filelock-3.13.1 fsspec-2024.6.1 jinja2-3.1.4 mpmath-1.3.0 networkx-3.3 numpy-2.1.2 pillow-11.0.0 sympy-1.13.3 torch-2.7.0+cu118 torchvision-0.22.0+cu118 typing-extensions-4.12.2
Installing clip
Installing open_clip
Installing requirements
Skipping onnxruntime installation.
Traceback (most recent call last):
  File "H:\IL\04072025\stable-diffusion-webui-amdgpu\launch.py", line 48, in <module>
    main()
  File "H:\IL\04072025\stable-diffusion-webui-amdgpu\launch.py", line 39, in main
    prepare_environment()
  File "H:\IL\04072025\stable-diffusion-webui-amdgpu\modules\launch_utils.py", line 697, in prepare_environment
    from modules import devices
  File "H:\IL\04072025\stable-diffusion-webui-amdgpu\modules\devices.py", line 6, in <module>
    from modules import errors, shared, npu_specific
  File "H:\IL\04072025\stable-diffusion-webui-amdgpu\modules\shared.py", line 4, in <module>
    import gradio as gr
  File "H:\IL\04072025\stable-diffusion-webui-amdgpu\venv\Lib\site-packages\gradio\__init__.py", line 3, in <module>
    import gradio.components as components
  File "H:\IL\04072025\stable-diffusion-webui-amdgpu\venv\Lib\site-packages\gradio\components\__init__.py", line 1, in <module>
    from gradio.components.annotated_image import AnnotatedImage
  File "H:\IL\04072025\stable-diffusion-webui-amdgpu\venv\Lib\site-packages\gradio\components\annotated_image.py", line12, in <module>
    from gradio import utils
  File "H:\IL\04072025\stable-diffusion-webui-amdgpu\venv\Lib\site-packages\gradio\utils.py", line 37, in <module>
    import matplotlib
  File "H:\IL\04072025\stable-diffusion-webui-amdgpu\venv\Lib\site-packages\matplotlib\__init__.py", line 997, in <module>
    rcParamsDefault = _rc_params_in_file(
                      ^^^^^^^^^^^^^^^^^^^
  File "H:\IL\04072025\stable-diffusion-webui-amdgpu\venv\Lib\site-packages\matplotlib\__init__.py", line 934, in _rc_params_in_file
    config[key] = val  # try to convert to proper type or raise
    ~~~~~~^^^^^
  File "H:\IL\04072025\stable-diffusion-webui-amdgpu\venv\Lib\site-packages\matplotlib\__init__.py", line 769, in __setitem__
    cval = self.validate[key](val)
           ^^^^^^^^^^^^^^^^^^^^^^^
  File "H:\IL\04072025\stable-diffusion-webui-amdgpu\venv\Lib\site-packages\matplotlib\rcsetup.py", line 342, in validate_color
    if is_color_like(s):
       ^^^^^^^^^^^^^^^^
  File "H:\IL\04072025\stable-diffusion-webui-amdgpu\venv\Lib\site-packages\matplotlib\colors.py", line 230, in is_color_like
    to_rgba(c)
  File "H:\IL\04072025\stable-diffusion-webui-amdgpu\venv\Lib\site-packages\matplotlib\colors.py", line 317, in to_rgba
    rgba = _to_rgba_no_colorcycle(c, alpha)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "H:\IL\04072025\stable-diffusion-webui-amdgpu\venv\Lib\site-packages\matplotlib\colors.py", line 339, in _to_rgba_no_colorcycle
    if c is np.ma.masked:
            ^^^^^
  File "H:\IL\04072025\stable-diffusion-webui-amdgpu\venv\Lib\site-packages\numpy\__init__.py", line 360, in __getattr__
    # Pytest testing
            ^^^^^^^^^
  File "H:\IL\04072025\stable-diffusion-webui-amdgpu\venv\Lib\site-packages\numpy\ma\__init__.py", line 42, in <module>
    from . import core
  File "H:\IL\04072025\stable-diffusion-webui-amdgpu\venv\Lib\site-packages\numpy\ma\core.py", line 37, in <module>
    from numpy.lib.function_base import angle
  File "H:\IL\04072025\stable-diffusion-webui-amdgpu\venv\Lib\site-packages\numpy\lib\function_base.py", line 25, in <module>
    from numpy.lib.twodim_base import diag
  File "H:\IL\04072025\stable-diffusion-webui-amdgpu\venv\Lib\site-packages\numpy\lib\twodim_base.py", line 15, in <module>
    from numpy.lib.stride_tricks import broadcast_to
ImportError: cannot import name 'broadcast_to' from 'numpy.lib.stride_tricks' (H:\IL\04072025\stable-diffusion-webui-amdgpu\venv\Lib\site-packages\numpy\lib\stride_tricks.py)
Для продолжения нажмите любую клавишу . . .

Additional information

Ryzen 8400f, Rx 6700xt, 32 GB ram, rocm 6.2.4, python-3.11.9
worlCWindowssystem32cmd.exe.txt

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions