runtime error
Exit code: 1. Reason: request&X-Amz-Date=20260128T092822Z&X-Amz-Expires=3600&X-Amz-Signature=9197eb9369610621487e96881f69572f62edb9a7bbecc8aab7a5da48727ba4a3&X-Amz-SignedHeaders=host&X-Xet-Cas-Uid=public&response-content-disposition=inline%3B%20filename%2A%3DUTF-8%27%27pytorch_model.bin%3B%20filename%3D%22pytorch_model.bin%22%3B&response-content-type=application%2Foctet-stream&x-id=GetObject) The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/local/lib/python3.10/site-packages/transformers/modeling_utils.py", line 2450, in from_pretrained resolved_archive_file = cached_file(pretrained_model_name_or_path, filename, **cached_file_kwargs) File "/usr/local/lib/python3.10/site-packages/transformers/utils/hub.py", line 409, in cached_file resolved_file = hf_hub_download( File "/usr/local/lib/python3.10/site-packages/huggingface_hub/utils/_validators.py", line 120, in _inner_fn return fn(*args, **kwargs) File "/usr/local/lib/python3.10/site-packages/huggingface_hub/file_download.py", line 1364, in hf_hub_download http_get( File "/usr/local/lib/python3.10/site-packages/huggingface_hub/file_download.py", line 496, 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. During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/user/app/app.py", line 20, in <module> lm = GPT2LMHeadModel.from_pretrained(model_name) File "/usr/local/lib/python3.10/site-packages/transformers/modeling_utils.py", line 2522, in from_pretrained raise EnvironmentError( OSError: Can't load the model for 'gpt2'. 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 'gpt2' 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...