runtime error
Exit code: 1. Reason: load.py:945: FutureWarning: `resume_download` is deprecated and will be removed in version 1.0.0. Downloads always resume when possible. If you want to force a new download, use `force_download=True`. warnings.warn( model.safetensors: 0%| | 0.00/1.43G [00:00<?, ?B/s][A model.safetensors: 2%|▏ | 31.5M/1.43G [00:01<00:52, 26.5MB/s][A model.safetensors: 12%|█▏ | 168M/1.43G [00:02<00:14, 86.0MB/s] [A model.safetensors: 37%|███▋ | 524M/1.43G [00:03<00:04, 195MB/s] [A model.safetensors: 100%|█████████▉| 1.43G/1.43G [00:04<00:00, 339MB/s] Traceback (most recent call last): File "/home/user/app/app.py", line 16, in <module> model = AutoModel.from_pretrained('ucaslcl/GOT-OCR2_0', trust_remote_code=True, low_cpu_mem_usage=True, device_map='cuda', use_safetensors=True) File "/usr/local/lib/python3.10/site-packages/transformers/models/auto/auto_factory.py", line 561, in from_pretrained return model_class.from_pretrained( File "/usr/local/lib/python3.10/site-packages/transformers/modeling_utils.py", line 3850, in from_pretrained ) = cls._load_pretrained_model( File "/usr/local/lib/python3.10/site-packages/transformers/modeling_utils.py", line 4284, in _load_pretrained_model new_error_msgs, offload_index, state_dict_index = _load_state_dict_into_meta_model( File "/usr/local/lib/python3.10/site-packages/transformers/modeling_utils.py", line 805, in _load_state_dict_into_meta_model set_module_tensor_to_device(model, param_name, param_device, **set_module_kwargs) File "/usr/local/lib/python3.10/site-packages/accelerate/utils/modeling.py", line 343, in set_module_tensor_to_device new_value = value.to(device, non_blocking=non_blocking) File "/usr/local/lib/python3.10/site-packages/torch/cuda/__init__.py", line 247, in _lazy_init torch._C._cuda_init() RuntimeError: Found no NVIDIA driver on your system. Please check that you have an NVIDIA GPU and installed a driver from http://www.nvidia.com/Download/index.aspx
Container logs:
Fetching error logs...