Skip to main content
Topic: [AMDAPU] [SDiffXL] [AI apps on Artix] ComfyUI-exclusive network struggles (Read 337 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

[AMDAPU] [SDiffXL] [AI apps on Artix] ComfyUI-exclusive network struggles

My AMDAPU hardware side however feels ordinary and nothing wrong, but the SDiffXL base models are still stuck due to those network struggles with running ComfyUI but not outside
My ComfyUI/SDiffXL batch size is 105=7×15 inside my workloads

Code: [Select]
Successfully installed Deprecated-1.2.14 GitPython-3.1.43 MarkupSafe-2.1.5 Pillow-10.3.0 PyGithub-2.3.0 PyWavelets-1.6.0 absl-py-2.1.0 accelerate-0.30.1 aiohttp-3.9.5 aiosignal-1.3.1 astunparse-1.6.3 attrs-23.2.0 certifi-2024.6.2 cffi-1.16.0 charset-normalizer-3.3.2 click-8.1.7 colorama-0.4.6 cryptography-42.0.7 diffusers-0.28.0 einops-0.8.0 filelock-3.14.0 flatbuffers-24.3.25 frozenlist-1.4.1 fsspec-2024.5.0 gast-0.5.4 gitdb-4.0.11 google-pasta-0.2.0 grpcio-1.64.0 h5py-3.11.0 huggingface-hub-0.23.2 idna-3.7 importlib-metadata-7.1.0 invisible_watermark-0.2.0 jinja2-3.1.4 keras-3.3.3 kornia-0.7.2 kornia-rs-0.1.3 libclang-18.1.1 markdown-3.6 markdown-it-py-3.0.0 matrix-client-0.4.0 mdurl-0.1.2 ml-dtypes-0.3.2 mpmath-1.3.0 multidict-6.0.5 namex-0.0.8 networkx-3.3 numpy-1.26.4 opencv-python-4.9.0.80 opt-einsum-3.3.0 optree-0.11.0 packaging-24.0 pip-24.0 protobuf-4.25.3 psutil-5.9.8 pycparser-2.22 pygments-2.18.0 pyjwt-2.8.0 pynacl-1.5.0 pyyaml-6.0.1 regex-2024.5.15 requests-2.32.3 rich-13.7.1 safetensors-0.4.3 scipy-1.13.1 setuptools-70.0.0 shellingham-1.5.4 six-1.16.0 smmap-5.0.1 spandrel-0.3.4 sympy-1.12.1 tensorboard-2.16.2 tensorboard-data-server-0.7.2 tensorflow-2.16.1 termcolor-2.4.0 tokenizers-0.19.1 torch-2.3.0+rocm6.0 torchaudio-2.3.0+rocm6.0 torchsde-0.2.6 torchvision-0.18.0+rocm6.0 tqdm-4.66.4 trampoline-0.1.2 transformers-4.41.2 typer-0.12.3 typing-extensions-4.12.1 urllib3-1.26.18 werkzeug-3.0.3 wheel-0.43.0 wrapt-1.16.0 yarl-1.9.4 zipp-3.19.1
## ComfyUI-Manager: installing dependencies done.
** ComfyUI startup time: 2024-06-03 09:40:10.302713
** Platform: Linux
** Python version: 3.12.3 (main, Apr 23 2024, 16:43:07) [GCC 13.2.1 20240417]
** Python executable: /opt/local/ComfyUI_SDiffXL/pyenv/bin/python
** Log path: /opt/local/.8A/terminal/SDiffXL/ComfyUI/comfyui.log

Prestartup times for custom nodes:
   0.1 seconds: /opt/local/.8A/terminal/SDiffXL/ComfyUI/custom_nodes/ComfyMgt

Total VRAM 16384 MB, total RAM 48053 MB
pytorch version: 2.3.0+rocm6.0
Forcing FP16.
Set vram state to: HIGH_VRAM
Device: cuda:0 AMD Radeon Graphics : native
VAE dtype: torch.float32
Using split optimization for cross attention
/opt/local/.8A/terminal/SDiffXL/ComfyUI/comfy/extra_samplers/uni_pc.py:19: SyntaxWarning: invalid escape sequence '\h'
  """Create a wrapper class for the forward SDE (VP type).
Setting temp directory to: /opt/local/.8A/terminal/SDiffXL/Downloads/.tmp/temp
****** User settings have been changed to be stored on the server instead of browser storage. ******
****** For multi-user setups add the --multi-user CLI argument to enable multiple user profiles. ******
### Loading: ComfyUI-Manager (V2.36)
### ComfyUI Revision: 2222 [809cc85a] | Released on '2024-06-02'

Import times for custom nodes:
   0.0 seconds: /opt/local/.8A/terminal/SDiffXL/ComfyUI/custom_nodes/AutoCFG
   0.0 seconds: /opt/local/.8A/terminal/SDiffXL/ComfyUI/custom_nodes/ComfyMgt

Setting output directory to: /opt/local/.8A/terminal/SDiffXL/Downloads/06202024
kf.kio.gui: Failed to register new cgroup: "app-firefoxdeveloperedition-3daeb2c64a5e4e7384e96fb4f7251142.scope" "org.freedesktop.DBus.Error.ServiceUnknown" "The name org.freedesktop.systemd1 was not provided by any .service files"
[ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/custom-node-list.json
ATTENTION: default value of option mesa_glthread overridden by environment.
[Parent 12704, Main Thread] WARNING: /etc/xdg/kde-mimeapps.list contains a [Added Associations] group, but it is not permitted here.  Only the non-desktop-specific mimeapps.list file may add or remove associations.: 'glib warning', file /usr/src/debug/firefox-developer-edition/firefox-127.0/toolkit/xre/nsSigHandlers.cpp:187

(firefoxdeveloperedition:12704): GLib-GIO-WARNING **: 09:40:14.606: /etc/xdg/kde-mimeapps.list contains a [Added Associations] group, but it is not permitted here.  Only the non-desktop-specific mimeapps.list file may add or remove associations.
FETCH DATA from: /opt/local/.8A/terminal/SDiffXL/ComfyUI/custom_nodes/ComfyMgt/extension-node-map.json [DONE]
ATTENTION: default value of option mesa_glthread overridden by environment.
[Parent 12704, Main Thread] WARNING: Could not load a pixbuf from icon theme.
This may indicate that pixbuf loaders or the mime database could not be found.: 'glib warning', file /usr/src/debug/firefox-developer-edition/firefox-127.0/toolkit/xre/nsSigHandlers.cpp:187

(firefoxdeveloperedition:12704): Gtk-WARNING **: 09:40:19.794: Could not load a pixbuf from icon theme.
This may indicate that pixbuf loaders or the mime database could not be found.
Exception in thread Thread-1 (<lambda>):
Traceback (most recent call last):
  File "/opt/local/ComfyUI_SDiffXL/pyenv/lib/python3.12/site-packages/aiohttp/connector.py", line 1203, in _create_direct_connection
    hosts = await self._resolve_host(host, port, traces=traces)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/local/ComfyUI_SDiffXL/pyenv/lib/python3.12/site-packages/aiohttp/connector.py", line 880, in _resolve_host
    return await asyncio.shield(resolved_host_task)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/local/ComfyUI_SDiffXL/pyenv/lib/python3.12/site-packages/aiohttp/connector.py", line 917, in _resolve_host_with_throttle
    addrs = await self._resolver.resolve(host, port, family=self._family)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/local/ComfyUI_SDiffXL/pyenv/lib/python3.12/site-packages/aiohttp/resolver.py", line 33, in resolve
    infos = await self._loop.getaddrinfo(
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/asyncio/base_events.py", line 901, in getaddrinfo
    return await self.run_in_executor(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/concurrent/futures/thread.py", line 58, in run
    result = self.fn(*self.args, **self.kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/socket.py", line 963, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
socket.gaierror: [Errno -3] Temporary failure in name resolution

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/lib/python3.12/threading.py", line 1073, in _bootstrap_inner
    self.run()
  File "/usr/lib/python3.12/threading.py", line 1010, in run
    self._target(*self._args, **self._kwargs)
  File "/opt/local/.8A/terminal/SDiffXL/ComfyUI/custom_nodes/ComfyMgt/glob/manager_server.py", line 1667, in <lambda>
    threading.Thread(target=lambda: asyncio.run(default_cache_update())).start()
                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/asyncio/runners.py", line 194, in run
    return runner.run(main)
           ^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/asyncio/runners.py", line 118, in run
    return self._loop.run_until_complete(task)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/asyncio/base_events.py", line 687, in run_until_complete
    return future.result()
           ^^^^^^^^^^^^^^^
  File "/opt/local/.8A/terminal/SDiffXL/ComfyUI/custom_nodes/ComfyMgt/glob/manager_server.py", line 1664, in default_cache_update
    await asyncio.gather(a, b, c, d, e)
  File "/opt/local/.8A/terminal/SDiffXL/ComfyUI/custom_nodes/ComfyMgt/glob/manager_server.py", line 1651, in get_cache
    json_obj = await core.get_data(uri, True)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/local/.8A/terminal/SDiffXL/ComfyUI/custom_nodes/ComfyMgt/glob/manager_core.py", line 583, in get_data
    async with session.get(uri) as resp:
  File "/opt/local/ComfyUI_SDiffXL/pyenv/lib/python3.12/site-packages/aiohttp/client.py", line 1197, in __aenter__
    self._resp = await self._coro
                 ^^^^^^^^^^^^^^^^
  File "/opt/local/ComfyUI_SDiffXL/pyenv/lib/python3.12/site-packages/aiohttp/client.py", line 581, in _request
    conn = await self._connector.connect(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/local/ComfyUI_SDiffXL/pyenv/lib/python3.12/site-packages/aiohttp/connector.py", line 544, in connect
    proto = await self._create_connection(req, traces, timeout)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/local/ComfyUI_SDiffXL/pyenv/lib/python3.12/site-packages/aiohttp/connector.py", line 944, in _create_connection
    _, proto = await self._create_direct_connection(req, traces, timeout)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/local/ComfyUI_SDiffXL/pyenv/lib/python3.12/site-packages/aiohttp/connector.py", line 1209, in _create_direct_connection
    raise ClientConnectorError(req.connection_key, exc) from exc
aiohttp.client_exceptions.ClientConnectorError: Cannot connect to host raw.githubusercontent.com:443 ssl:default [Temporary failure in name resolution]
got prompt
got prompt
got prompt
got prompt
got prompt
got prompt
got prompt
got prompt
got prompt
got prompt
got prompt
got prompt
got prompt
got prompt
got prompt
:) AMD APU R4750G Zen2 Lucienne-G GCN Vega8 :) ASRock DeskMini X300 AMD edition :) (14.9+46.9)GiB SoDiMM DDR4 RAM’s
:) Samsung 990PRO HS NVMe SSD 3.63TiB (nda0; with 2.61TiB ZPool) :) Kingston NV2 NVMe SSD 3.63TiB (nvme1n1; with 2.7TiB ZPool)
:) Samsung 860QVO 2.5’’ SSD 3.63TiB (sda; with 2.1TiB ZPool) :) Transcend 220Q 2.5’’ SSD 1.82TiB (sdb; with 1.29TiB ZPool)
:) Intehill 4K UHD LED-IGZo screen

Re: [AMDAPU] [SDiffXL] [AI apps on Artix] ComfyUI-exclusive network struggles

Reply #1
What about your ComfyUI logs?
Where I come from, Quality is job one, so we stay up all night just to get the job done.

Re: [AMDAPU] [SDiffXL] [AI apps on Artix] ComfyUI-exclusive network struggles

Reply #2
The entire logs have been above, nothing more maybe
:) AMD APU R4750G Zen2 Lucienne-G GCN Vega8 :) ASRock DeskMini X300 AMD edition :) (14.9+46.9)GiB SoDiMM DDR4 RAM’s
:) Samsung 990PRO HS NVMe SSD 3.63TiB (nda0; with 2.61TiB ZPool) :) Kingston NV2 NVMe SSD 3.63TiB (nvme1n1; with 2.7TiB ZPool)
:) Samsung 860QVO 2.5’’ SSD 3.63TiB (sda; with 2.1TiB ZPool) :) Transcend 220Q 2.5’’ SSD 1.82TiB (sdb; with 1.29TiB ZPool)
:) Intehill 4K UHD LED-IGZo screen