ru-dalle icon indicating copy to clipboard operation
ru-dalle copied to clipboard

requests.exceptions.HTTPError: 500 Server Error

Open mkaskov opened this issue 2 years ago • 0 comments

if huggingface is not available then it will cause an error at startup and the inability to start even if has a local cache

https://github.com/sberbank-ai/ru-dalle/blob/ef61c25f1f19f86e72928d0e0f6f809a7ff45c08/rudalle/dalle/init.py#L142

File "/home/user/Software/artGen/inference_rudalle.py", line 66, in init self.dalle = get_rudalle_model(self.model, pretrained=True, fp16=True, cache_dir=cache_dir, device=device) File "/home/user/.local/lib/python3.8/site-packages/rudalle/dalle/init.py", line 92, in get_rudalle_model cached_download(config_file_url, cache_dir=cache_dir, force_filename=config['filename']) File "/home/user/.local/lib/python3.8/site-packages/huggingface_hub/file_download.py", line 352, in cached_download r.raise_for_status() File "/home/user/.local/lib/python3.8/site-packages/requests/models.py", line 960, in raise_for_status raise HTTPError(http_error_msg, response=self) requests.exceptions.HTTPError: 500 Server Error: Internal Server Error for url: https://huggingface.co/sberbank-ai/rudalle-Malevich/resolve/main/pytorch_model_v2.bin

mkaskov avatar Mar 23 '22 03:03 mkaskov