-
Notifications
You must be signed in to change notification settings - Fork 28
Open
Description
Output:
*** Error running install.py for extension /opt/sdwebui/extensions/PBRemTools.9<00:00, 1.41s/it]
*** Command: "/opt/sdwebui/venv/bin/python" "/opt/sdwebui/extensions/PBRemTools/install.py"
*** Error code: 1
*** stdout: Installing onnx for PBRemTools
*** Installing onnxruntime for PBRemTools
***
*** stderr: Traceback (most recent call last):
*** File "/opt/sdwebui/extensions/PBRemTools/install.py", line 16, in <module>
*** launch.run_pip(f'install {target}', desc=f'{name} for PBRemTools')
*** File "/opt/sdwebui/modules/launch_utils.py", line 144, in run_pip
*** return run(f'"{python}" -m pip {command} --prefer-binary{index_url_line}', desc=f"Installing {desc}", errdesc=f"Couldn't install {desc}", live=live)
*** ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
*** File "/opt/sdwebui/modules/launch_utils.py", line 116, in run
*** raise RuntimeError("\n".join(error_bits))
*** RuntimeError: Couldn't install onnxruntime for PBRemTools.
*** Command: "/opt/sdwebui/venv/bin/python" -m pip install onnxruntime-gpu==1.14.0 --prefer-binary
*** Error code: 1
*** stderr: ERROR: Could not find a version that satisfies the requirement onnxruntime-gpu==1.14.0 (from versions: 1.15.0, 1.15.1, 1.16.0, 1.16.1, 1.16.2, 1.16.3, 1.17.0, 1.17.1, 1.18.0, 1.18.1, 1.19.0, 1.19.2, 1.20.0, 1.20.1, 1.20.2, 1.21.0, 1.21.1, 1.22.0)
*** ERROR: No matching distribution found for onnxruntime-gpu==1.14.0
*** Seems that pbremtools depends on onnxruntme-gpu 1.14 but the oldest available version is 1.15.
Manually installing onnxruntime-gpu before installing pbremtools seems to fix it.þþ
But ultimately it fails to run:
Traceback (most recent call last):
File "/opt/sdwebui/venv/lib/python3.11/site-packages/gradio/routes.py", line 488, in run_predict
output = await app.get_blocks().process_api(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/sdwebui/venv/lib/python3.11/site-packages/gradio/blocks.py", line 1431, in process_api
result = await self.call_function(
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/sdwebui/venv/lib/python3.11/site-packages/gradio/blocks.py", line 1103, in call_function
prediction = await anyio.to_thread.run_sync(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/sdwebui/venv/lib/python3.11/site-packages/anyio/to_thread.py", line 33, in run_sync
return await get_asynclib().run_sync_in_worker_thread(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/sdwebui/venv/lib/python3.11/site-packages/anyio/_backends/_asyncio.py", line 877, in run_sync_in_worker_thread
return await future
^^^^^^^^^^^^
File "/opt/sdwebui/venv/lib/python3.11/site-packages/anyio/_backends/_asyncio.py", line 807, in run
result = context.run(func, *args)
^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/sdwebui/venv/lib/python3.11/site-packages/gradio/utils.py", line 707, in wrapper
response = f(*args, **kwargs)
^^^^^^^^^^^^^^^^^^
File "/opt/sdwebui/extensions/PBRemTools/scripts/tools.py", line 43, in processing
image = Image.open(i)
^^^^^^^^^^^^^
File "/opt/sdwebui/venv/lib/python3.11/site-packages/PIL/Image.py", line 3298, in open
raise UnidentifiedImageError(msg)
PIL.UnidentifiedImageError: cannot identify image file <tempfile._TemporaryFileWrapper object at 0x7f487a417350>Metadata
Metadata
Assignees
Labels
No labels