runtime error
Exit code: 1. Reason: ngface_hub/utils/_validators.py", line 114, in _inner_fn return fn(*args, **kwargs) File "/usr/local/lib/python3.10/site-packages/huggingface_hub/file_download.py", line 862, in hf_hub_download return _hf_hub_download_to_cache_dir( File "/usr/local/lib/python3.10/site-packages/huggingface_hub/file_download.py", line 1011, in _hf_hub_download_to_cache_dir _download_to_tmp_and_move( File "/usr/local/lib/python3.10/site-packages/huggingface_hub/file_download.py", line 1547, in _download_to_tmp_and_move http_get( File "/usr/local/lib/python3.10/site-packages/huggingface_hub/file_download.py", line 439, in http_get raise RuntimeError( RuntimeError: An error occurred while downloading using `hf_transfer`. Consider disabling HF_HUB_ENABLE_HF_TRANSFER for better error handling. The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/home/user/app/app.py", line 16, in <module> load_image_captioning_model() File "/home/user/app/model_utils.py", line 16, in load_image_captioning_model model = VisionEncoderDecoderModel.from_pretrained( File "/usr/local/lib/python3.10/site-packages/transformers/models/vision_encoder_decoder/modeling_vision_encoder_decoder.py", line 379, in from_pretrained return super().from_pretrained(pretrained_model_name_or_path, *model_args, **kwargs) File "/usr/local/lib/python3.10/site-packages/transformers/modeling_utils.py", line 262, in _wrapper return func(*args, **kwargs) File "/usr/local/lib/python3.10/site-packages/transformers/modeling_utils.py", line 3970, in from_pretrained raise EnvironmentError( OSError: Can't load the model for 'nlpconnect/vit-gpt2-image-captioning'. If you were trying to load it from 'https://huggingface.co/models', make sure you don't have a local directory with the same name. Otherwise, make sure 'nlpconnect/vit-gpt2-image-captioning' is the correct path to a directory containing a file named pytorch_model.bin, tf_model.h5, model.ckpt or flax_model.msgpack.
Container logs:
Fetching error logs...