runtime error
/usr/local/lib/python3.8/site-packages/transformers/utils/hub.py:124: FutureWarning: Using `TRANSFORMERS_CACHE` is deprecated and will be removed in v5 of Transformers. Use `HF_HOME` instead. warnings.warn( There was a problem when trying to write in your cache folder (/data/.huggingface). You should set the environment variable TRANSFORMERS_CACHE to a writable directory. adapter_config.json: 0%| | 0.00/476 [00:00<?, ?B/s] adapter_config.json: 100%|██████████| 476/476 [00:00<00:00, 88.7kB/s] Traceback (most recent call last): File "app.py", line 70, in <module> model = AutoModelForCausalLM.from_pretrained( File "/usr/local/lib/python3.8/site-packages/transformers/models/auto/auto_factory.py", line 488, in from_pretrained resolved_config_file = cached_file( File "/usr/local/lib/python3.8/site-packages/transformers/utils/hub.py", line 385, in cached_file resolved_file = hf_hub_download( File "/usr/local/lib/python3.8/site-packages/huggingface_hub/utils/_validators.py", line 118, in _inner_fn return fn(*args, **kwargs) File "/usr/local/lib/python3.8/site-packages/huggingface_hub/file_download.py", line 1201, in hf_hub_download os.makedirs(storage_folder, exist_ok=True) File "/usr/local/lib/python3.8/os.py", line 213, in makedirs makedirs(head, exist_ok=exist_ok) File "/usr/local/lib/python3.8/os.py", line 213, in makedirs makedirs(head, exist_ok=exist_ok) File "/usr/local/lib/python3.8/os.py", line 223, in makedirs mkdir(name, mode) PermissionError: [Errno 13] Permission denied: '/data'
Container logs:
Fetching error logs...