runtime error
Exit code: 1. Reason: ββββββββββ| 1.39k/1.39k [00:00<00:00, 8.20MB/s] pytorch_model.bin: 0%| | 0.00/312M [00:00<?, ?B/s][A pytorch_model.bin: 93%|ββββββββββ| 291M/312M [00:01<00:00, 284MB/s][A pytorch_model.bin: 100%|ββββββββββ| 312M/312M [00:01<00:00, 288MB/s] model.safetensors: 0%| | 0.00/312M [00:00<?, ?B/s][A model.safetensors: 100%|ββββββββββ| 312M/312M [00:00<00:00, 338MB/s] generation_config.json: 0%| | 0.00/293 [00:00<?, ?B/s][A generation_config.json: 100%|ββββββββββ| 293/293 [00:00<00:00, 2.10MB/s] tokenizer_config.json: 0%| | 0.00/44.0 [00:00<?, ?B/s][A tokenizer_config.json: 100%|ββββββββββ| 44.0/44.0 [00:00<00:00, 324kB/s] source.spm: 0%| | 0.00/842k [00:00<?, ?B/s][A source.spm: 100%|ββββββββββ| 842k/842k [00:00<00:00, 40.9MB/s] target.spm: 0%| | 0.00/813k [00:00<?, ?B/s][A target.spm: 100%|ββββββββββ| 813k/813k [00:00<00:00, 9.34MB/s] vocab.json: 0%| | 0.00/1.72M [00:00<?, ?B/s][A vocab.json: 100%|ββββββββββ| 1.72M/1.72M [00:00<00:00, 46.7MB/s] /usr/local/lib/python3.10/site-packages/transformers/models/marian/tokenization_marian.py:175: UserWarning: Recommended: pip install sacremoses. warnings.warn("Recommended: pip install sacremoses.") Device set to use cpu Traceback (most recent call last): File "/home/user/app/app.py", line 94, in <module> net, feature_utils, seq_cfg = get_model() File "/home/user/app/app.py", line 77, in get_model with torch.cuda.device(device): File "/usr/local/lib/python3.10/site-packages/torch/cuda/__init__.py", line 382, in __init__ self.idx = _get_device_index(device, optional=True) File "/usr/local/lib/python3.10/site-packages/torch/cuda/_utils.py", line 34, in _get_device_index raise ValueError(f"Expected a cuda device, but got: {device}") ValueError: Expected a cuda device, but got: cpu
Container logs:
Fetching error logs...