runtime error
Exit code: 1. Reason: 746 - DEBUG - https://huggingface.co:443 "GET /deepseek-ai/DeepSeek-R1/resolve/main/config.json HTTP/1.1" 200 1729 2025-01-21 13:46:39,747 - DEBUG - Attempting to release lock 140328504616096 on /home/user/.cache/huggingface/hub/.locks/models--deepseek-ai--DeepSeek-R1/5157c81b74b24893e59be0179c676b6732a42356.lock 2025-01-21 13:46:39,747 - DEBUG - Lock 140328504616096 released on /home/user/.cache/huggingface/hub/.locks/models--deepseek-ai--DeepSeek-R1/5157c81b74b24893e59be0179c676b6732a42356.lock The repository for deepseek-ai/DeepSeek-R1 contains custom code which must be executed to correctly load the model. You can inspect the repository content at https://hf.co/deepseek-ai/DeepSeek-R1. You can avoid this prompt in future by passing the argument `trust_remote_code=True`. Traceback (most recent call last): File "/usr/local/lib/python3.10/site-packages/transformers/dynamic_module_utils.py", line 652, in resolve_trust_remote_code answer = input( EOFError: EOF when reading a line During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/user/app/app.py", line 10, in <module> model = AutoModelForCausalLM.from_pretrained(model_name) File "/usr/local/lib/python3.10/site-packages/transformers/models/auto/auto_factory.py", line 526, in from_pretrained config, kwargs = AutoConfig.from_pretrained( File "/usr/local/lib/python3.10/site-packages/transformers/models/auto/configuration_auto.py", line 1057, in from_pretrained trust_remote_code = resolve_trust_remote_code( File "/usr/local/lib/python3.10/site-packages/transformers/dynamic_module_utils.py", line 665, in resolve_trust_remote_code raise ValueError( ValueError: The repository for deepseek-ai/DeepSeek-R1 contains custom code which must be executed to correctly load the model. You can inspect the repository content at https://hf.co/deepseek-ai/DeepSeek-R1. Please pass the argument `trust_remote_code=True` to allow custom code to be run. Do you wish to run the custom code? [y/N]
Container logs:
Fetching error logs...