Skip to content

requests.exceptions.HTTPError: 500 Server Error #110

Open
@mkaskov

Description

@mkaskov

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions