runtime error
Exit code: 3. Reason: ) as maybe_state: File "/usr/local/lib/python3.9/site-packages/starlette/routing.py", line 569, in __aenter__ await self._router.startup() File "/usr/local/lib/python3.9/site-packages/starlette/routing.py", line 670, in startup await handler() File "/code/main.py", line 53, in load_model raise e File "/code/main.py", line 37, in load_model tokenizer = AutoTokenizer.from_pretrained(ModelConfig.model_name) File "/usr/local/lib/python3.9/site-packages/transformers/models/auto/tokenization_auto.py", line 857, in from_pretrained tokenizer_config = get_tokenizer_config(pretrained_model_name_or_path, **kwargs) File "/usr/local/lib/python3.9/site-packages/transformers/models/auto/tokenization_auto.py", line 689, in get_tokenizer_config resolved_config_file = cached_file( File "/usr/local/lib/python3.9/site-packages/transformers/utils/hub.py", line 403, in cached_file resolved_file = hf_hub_download( File "/usr/local/lib/python3.9/site-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn return fn(*args, **kwargs) File "/usr/local/lib/python3.9/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.9/site-packages/huggingface_hub/file_download.py", line 979, in _hf_hub_download_to_cache_dir os.makedirs(os.path.dirname(blob_path), exist_ok=True) File "/usr/local/lib/python3.9/os.py", line 215, in makedirs makedirs(head, exist_ok=exist_ok) File "/usr/local/lib/python3.9/os.py", line 215, in makedirs makedirs(head, exist_ok=exist_ok) File "/usr/local/lib/python3.9/os.py", line 215, in makedirs makedirs(head, exist_ok=exist_ok) [Previous line repeated 1 more time] File "/usr/local/lib/python3.9/os.py", line 225, in makedirs mkdir(name, mode) PermissionError: [Errno 13] Permission denied: '/.cache' ERROR: Application startup failed. Exiting. Loading model and tokenizer... Error loading model: [Errno 13] Permission denied: '/.cache'
Container logs:
Fetching error logs...