Spaces Hugging Face's logo
awacke1
/
Runtime error

runtime error

οΏ½οΏ½| 460/460 [00:00<00:00, 3.51MB/s] preprocessor_config.json: 0%| | 0.00/392 [00:00<?, ?B/s] preprocessor_config.json: 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 392/392 [00:00<00:00, 3.17MB/s] Could not find image processor class in the image processor config or the model config. Loading based on pattern matching with the model's feature extractor configuration. Please open a PR/issue to update `preprocessor_config.json` to use `image_processor_type` instead of `feature_extractor_type`. This warning will be removed in v4.40. config.json: 0%| | 0.00/6.57k [00:00<?, ?B/s] config.json: 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 6.57k/6.57k [00:00<00:00, 46.4MB/s] model.safetensors: 0%| | 0.00/375M [00:00<?, ?B/s] model.safetensors: 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‰| 375M/375M [00:00<00:00, 407MB/s] Traceback (most recent call last): File "/home/user/app/app.py", line 8, in <module> sam_model = SamModel.from_pretrained("facebook/sam-vit-base").to("cuda") File "/home/user/.local/lib/python3.10/site-packages/transformers/modeling_utils.py", line 2595, in to return super().to(*args, **kwargs) File "/home/user/.local/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1152, in to return self._apply(convert) File "/home/user/.local/lib/python3.10/site-packages/torch/nn/modules/module.py", line 802, in _apply module._apply(fn) File "/home/user/.local/lib/python3.10/site-packages/torch/nn/modules/module.py", line 849, in _apply self._buffers[key] = fn(buf) File "/home/user/.local/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1150, in convert return t.to(device, dtype if t.is_floating_point() or t.is_complex() else None, non_blocking) File "/home/user/.local/lib/python3.10/site-packages/torch/cuda/__init__.py", line 302, 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...