Spaces Hugging Face's logo
Omega02gdfdd
/
Runtime error

runtime error

l'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, 39.3MB/s] model.safetensors: 0%| | 0.00/375M [00:00<?, ?B/s] model.safetensors: 11%|β–ˆ | 41.9M/375M [00:01<00:08, 39.2MB/s] model.safetensors: 33%|β–ˆβ–ˆβ–ˆβ–Ž | 123M/375M [00:02<00:04, 58.3MB/s]  model.safetensors: 61%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ | 228M/375M [00:03<00:02, 73.1MB/s] model.safetensors: 83%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–Ž | 312M/375M [00:04<00:00, 74.6MB/s] model.safetensors: 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‰| 375M/375M [00:05<00:00, 64.5MB/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...