Bugs during inferences (urlopen error [Errno 101] Network is unreachable>)
Dear sir,
Thx for your awesome work. I followed the instruction and set up the env. when I tried to run the inference test on sever (slurm), I got the error message below. Do you have any suggestions to fix it?
Downloading the CCD dictionary to /home/nnn/.boltz/ccd.pkl. You may change the cache directory with the --cache flag. Traceback (most recent call last): File "/home/nnn/scratch/conda_scratch_pkg/env/boltz_env/lib/python3.12/urllib/request.py", line 1344, in do_open h.request(req.get_method(), req.selector, req.data, headers, File "/home/nnn/scratch/conda_scratch_pkg/env/boltz_env/lib/python3.12/http/client.py", line 1336, in request self._send_request(method, url, body, headers, encode_chunked) File "/home/nnn/scratch/conda_scratch_pkg/env/boltz_env/lib/python3.12/http/client.py", line 1382, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/home/nnn/scratch/conda_scratch_pkg/env/boltz_env/lib/python3.12/http/client.py", line 1331, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/home/nnn/scratch/conda_scratch_pkg/env/boltz_env/lib/python3.12/http/client.py", line 1091, in _send_output self.send(msg) File "/home/nnn/scratch/conda_scratch_pkg/env/boltz_env/lib/python3.12/http/client.py", line 1035, in send self.connect() File "/home/nnn/scratch/conda_scratch_pkg/env/boltz_env/lib/python3.12/http/client.py", line 1470, in connect super().connect() File "/home/nnn/scratch/conda_scratch_pkg/env/boltz_env/lib/python3.12/http/client.py", line 1001, in connect self.sock = self._create_connection( ^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/nnn/scratch/conda_scratch_pkg/env/boltz_env/lib/python3.12/socket.py", line 865, in create_connection raise exceptions[0] File "/home/nnn/scratch/conda_scratch_pkg/env/boltz_env/lib/python3.12/socket.py", line 850, in create_connection sock.connect(sa) OSError: [Errno 101] Network is unreachable
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/nnn/scratch/conda_scratch_pkg/env/boltz_env/bin/boltz", line 8, in
Same thing happen to me, waiting for a solution
I have the same problem
confirm whether you can access the "https://huggingface.co/boltz-community/boltz-1/resolve/main/ccd.pkl" and "https://huggingface.co/boltz-community/boltz-1/resolve/main/boltz1_conf.ckpt" in your server? Otherwise, you can manualy download the two files and deposit in the --cache folder.
I ran into the same issue. It appears that the code does not retry with backoff. It should be an easy feature to add.
@haoecust I manualy download the files you mentioned, but still get the same error. could you give some idea?
confirm whether you can access the "https://huggingface.co/boltz-community/boltz-1/resolve/main/ccd.pkl" and "https://huggingface.co/boltz-community/boltz-1/resolve/main/boltz1_conf.ckpt" in your server? Otherwise, you can manualy download the two files and deposit in the --cache folder.