Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

requests.exceptions.HTTPError: 500 Server Error #110

Open
mkaskov opened this issue Mar 23, 2022 · 0 comments
Open

requests.exceptions.HTTPError: 500 Server Error #110

mkaskov opened this issue Mar 23, 2022 · 0 comments

Comments

@mkaskov
Copy link

mkaskov commented Mar 23, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant