This group is dedicated to the experimental AI Visualizer for Archicad 27, which will reach End of Service on December 31, 2024.
The new AI Visualizer in Archicad 28 is now fully cloud-based, with advanced controls like creativity and upscaling. Click here for further details.
2024-07-19 01:18 PM - last edited on 2024-07-23 02:39 PM by Laszlo Nagy
Hi,
After installing, throw the "AI_Visualizer-Installation_Guide"
i have an issue after running "run.sh"
The Command stops with the Prompt:
...
Please use pip<24.1 if you need to use this version.
ERROR: Could not find a version that satisfies the requirement torchsde==0.2.5 (from versions: 0.2.5, 0.2.6)
ERROR: No matching distribution found for torchsde==0.2.5
Has someone a workaround for this?
2024-09-24 09:25 AM
Hi Piotrihnat,
I am sorry to hear about the issue. The error message suggests that the sd.webui folder was not copied to the Archicad root folder from the dmg file. Please try to copy the sd.webui folder into the Archicad folder and run the install.sh after.
I hope this will help.
Kind regards,
Norbi
Technical Support Engineer
2024-09-24 09:34 AM
Hi dsalgadom,
I am sorry to hear about the issue.
The image generation fails because of a connection error. Please send us the whole content of the Terminal window after the failed generation.
Kind regards,
Norbi
Technical Support Engineer
2024-09-24 02:04 PM
Hi Norbert,
Thank you for your answer,
Sadly, Im sure that the sd.webui folder is in the Archicad folder and the AI Visualiser bundle is in add-ins folder and yet it still does not work..
I have tried to download the dmg folder three times again and again and replace the sd.webui folder but still same issue..
2024-09-24 06:20 PM
I have same issue. hope this bug is going to be fixed asap
2024-09-24 06:46 PM - last edited on 2024-09-26 06:03 AM by Laszlo Nagy
Last login: Mon Sep 23 21:38:45 on ttys000
/Applications/Graphisoft/Archicad\ 27/sd.webui/runHighVram.sh ; exit;
(base) diegosalgadomohor@MacBook-Pro-de-Diego ~ % /Applications/Graphisoft/Archicad\ 27/sd.webui/runHighVram.sh ; exit;
: command not foundisoft/Archicad 27/sd.webui/runHighVram.sh: line 17:
======= command line args: --api --api-server-stop --listen --skip-torch-cuda-test --upcast-sampling --no-half-vae --use-cpu interrogate --no-half =======
################################################################
Install script for stable-diffusion + Web UI
Tested on Debian 11 (Bullseye), Fedora 34+ and openSUSE Leap 15.4 or newer.
################################################################
################################################################
Running on diegosalgadomohor user
################################################################
################################################################
Repo already cloned, using it as install directory
################################################################
################################################################
Create and activate python venv
################################################################
################################################################
Launching launch.py...
################################################################
Python 3.10.15 (main, Sep 7 2024, 00:20:06) [Clang 15.0.0 (clang-1500.1.0.2.5)]
Version: v1.10.1
Commit hash: 82a973c04367123ae98bd9abdf80d9eda9b910e2
Installing sd-webui-controlnet requirement: changing opencv-python version from 4.10.0.84 to 4.8.0
Launching Web UI with arguments: --api --api-server-stop --listen --skip-torch-cuda-test --upcast-sampling --no-half-vae --use-cpu interrogate --no-half
no module 'xformers'. Processing without...
no module 'xformers'. Processing without...
No module 'xformers'. Proceeding without it.
Warning: caught exception 'Torch not compiled with CUDA enabled', memory monitor disabled
2024-09-24 12:49:40,097 - ControlNet - INFO - ControlNet v1.1.410
ControlNet preprocessor location: /Applications/Graphisoft/Archicad 27/sd.webui/webui/extensions/sd-webui-controlnet/annotator/downloads
2024-09-24 12:49:40,153 - ControlNet - INFO - ControlNet v1.1.410
Loading weights [31e35c80fc] from /Applications/Graphisoft/Archicad 27/sd.webui/webui/models/Stable-diffusion/sd_xl_base_1.0.safetensors
Running on local URL: http://0.0.0.0:7860
Traceback (most recent call last):
File "/Applications/Graphisoft/Archicad 27/sd.webui/webui/venv/lib/python3.10/site-packages/urllib3/connection.py", line 199, in _new_conn
sock = connection.create_connection(
File "/Applications/Graphisoft/Archicad 27/sd.webui/webui/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 60, in create_connection
for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
File "/opt/homebrew/Cellar/python@3.10/3.10.15/Frameworks/Python.framework/Versions/3.10/lib/python3.10/socket.py", line 967, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno 8] nodename nor servname provided, or not known
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/Applications/Graphisoft/Archicad 27/sd.webui/webui/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 789, in urlopen
response = self._make_request(
File "/Applications/Graphisoft/Archicad 27/sd.webui/webui/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 495, in _make_request
conn.request(
File "/Applications/Graphisoft/Archicad 27/sd.webui/webui/venv/lib/python3.10/site-packages/urllib3/connection.py", line 441, in request
self.endheaders()
File "/opt/homebrew/Cellar/python@3.10/3.10.15/Frameworks/Python.framework/Versions/3.10/lib/python3.10/http/client.py", line 1278, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/opt/homebrew/Cellar/python@3.10/3.10.15/Frameworks/Python.framework/Versions/3.10/lib/python3.10/http/client.py", line 1038, in _send_output
self.send(msg)
File "/opt/homebrew/Cellar/python@3.10/3.10.15/Frameworks/Python.framework/Versions/3.10/lib/python3.10/http/client.py", line 976, in send
self.connect()
File "/Applications/Graphisoft/Archicad 27/sd.webui/webui/venv/lib/python3.10/site-packages/urllib3/connection.py", line 279, in connect
self.sock = self._new_conn()
File "/Applications/Graphisoft/Archicad 27/sd.webui/webui/venv/lib/python3.10/site-packages/urllib3/connection.py", line 206, in _new_conn
raise NameResolutionError(self.host, self, e) from e
urllib3.exceptions.NameResolutionError: <urllib3.connection.HTTPConnection object at 0x344893850>: Failed to resolve 'localhost' ([Errno 8] nodename nor servname provided, or not known)
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/Applications/Graphisoft/Archicad 27/sd.webui/webui/venv/lib/python3.10/site-packages/requests/adapters.py", line 667, in send
resp = conn.urlopen(
File "/Applications/Graphisoft/Archicad 27/sd.webui/webui/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 843, in urlopen
retries = retries.increment(
File "/Applications/Graphisoft/Archicad 27/sd.webui/webui/venv/lib/python3.10/site-packages/urllib3/util/retry.py", line 519, in increment
raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type]
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=7860): Max retries exceeded with url: /startup-events (Caused by NameResolutionError("<urllib3.connection.HTTPConnection object at 0x344893850>: Failed to resolve 'localhost' ([Errno 8] nodename nor servname provided, or not known)"))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Applications/Graphisoft/Archicad 27/sd.webui/webui/launch.py", line 48, in <module>
main()
File "/Applications/Graphisoft/Archicad 27/sd.webui/webui/launch.py", line 44, in main
start()
File "/Applications/Graphisoft/Archicad 27/sd.webui/webui/modules/launch_utils.py", line 469, in start
webui.webui()
File "/Applications/Graphisoft/Archicad 27/sd.webui/webui/webui.py", line 79, in webui
app, local_url, share_url = shared.demo.launch(
File "/Applications/Graphisoft/Archicad 27/sd.webui/webui/venv/lib/python3.10/site-packages/gradio/blocks.py", line 1932, in launch
requests.get(f"{self.local_url}startup-events", verify=ssl_verify)
File "/Applications/Graphisoft/Archicad 27/sd.webui/webui/venv/lib/python3.10/site-packages/requests/api.py", line 73, in get
return request("get", url, params=params, **kwargs)
File "/Applications/Graphisoft/Archicad 27/sd.webui/webui/venv/lib/python3.10/site-packages/requests/api.py", line 59, in request
return session.request(method=method, url=url, **kwargs)
File "/Applications/Graphisoft/Archicad 27/sd.webui/webui/venv/lib/python3.10/site-packages/requests/sessions.py", line 589, in request
resp = self.send(prep, **send_kwargs)
File "/Applications/Graphisoft/Archicad 27/sd.webui/webui/venv/lib/python3.10/site-packages/requests/sessions.py", line 703, in send
r = adapter.send(request, **kwargs)
File "/Applications/Graphisoft/Archicad 27/sd.webui/webui/venv/lib/python3.10/site-packages/requests/adapters.py", line 700, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=7860): Max retries exceeded with url: /startup-events (Caused by NameResolutionError("<urllib3.connection.HTTPConnection object at 0x344893850>: Failed to resolve 'localhost' ([Errno 8] nodename nor servname provided, or not known)"))
Creating model from config: /Applications/Graphisoft/Archicad 27/sd.webui/webui/repositories/generative-models/configs/inference/sd_xl_base.yaml
Applying attention optimization: sub-quadratic... done.
Model loaded in 91.8s (load weights from disk: 0.7s, create model: 0.6s, apply weights to model: 20.7s, apply float(): 32.6s, apply dtype to VAE: 0.3s, move model to device: 2.7s, hijack: 0.2s, calculate empty prompt: 33.7s).
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.
[Proceso completado]
2024-09-25 01:57 PM
Hi Piotrihnat,
Do you see the same error message as before?
Could you send us the whole content of the Terminal window?
Thank you,
Technical Support Engineer
2024-09-26 10:16 AM
HI Nobert, ,
Here is the Terminal script:
Last login: Tue Sep 24 14:13:06 on ttys000
xxx@ewas-mbp ~ % /Applications/Graphisoft/Archicad\ 27/sd.webui/install.sh
/Applications/Graphisoft/Archicad 27/sd.webui/install.sh: line 10: realpath: command not found
/Users/eva
Step 1. --- Update to v1.10.1...
/Applications/Graphisoft/Archicad 27/sd.webui/install.sh: line 23: cd: webui: No such file or directory
eva@ewas-mbp ~ %
2024-09-27 01:45 PM
With the new package I can't seem to merge the Add-on folder? Also, there is no install.sh file in the /sd.webui folder?
I managed to find that in the previous installation package but obviously that didn't work because of the problem explained in this thread..
2024-09-28 10:12 AM
Hello!
This problem has no solution at the moment?
2024-09-29 09:06 PM
Hi Norbert !
any update on my issue ?