Currently loading of weights from weights.replicate.delivery is failing periodically in production
Loading safety checker...
downloading url: https://weights.replicate.delivery/default/sdxl/safety-1.0.tar
downloading to: ./safety-cache
Traceback (most recent call last):
File "/root/.pyenv/versions/3.11.1/lib/python3.11/site-packages/cog/server/worker.py", line 185, in _setup
run_setup(self._predictor)
File "/root/.pyenv/versions/3.11.1/lib/python3.11/site-packages/cog/predictor.py", line 98, in run_setup
predictor.setup(weights=weights)
File "/src/predict.py", line 99, in setup
download_weights(SAFETY_URL, SAFETY_CACHE)
File "/src/predict.py", line 56, in download_weights
subprocess.check_output(["pget", "-x", url, dest])
File "/root/.pyenv/versions/3.11.1/lib/python3.11/subprocess.py", line 466, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/.pyenv/versions/3.11.1/lib/python3.11/subprocess.py", line 571, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['pget', '-x', 'https://weights.replicate.delivery/default/sdxl/safety-1.0.tar', './safety-cache']' returned non-zero exit status 1.
Traceback (most recent call last):
File "/root/.pyenv/versions/3.11.1/lib/python3.11/site-packages/cog/server/runner.py", line 292, in setup
for event in worker.setup():
File "/root/.pyenv/versions/3.11.1/lib/python3.11/site-packages/cog/server/worker.py", line 126, in _wait
raise FatalWorkerException(raise_on_error + ": " + done.error_detail)
cog.server.exceptions.FatalWorkerException: Predictor errored during setup: Command '['pget', '-x', 'https://weights.replicate.delivery/default/sdxl/safety-1.0.tar', './safety-cache']' returned non-zero exit status 1.
We are still debugging what layer this occurs.