runtime error
Exit code: 1. Reason: 0, 124MiB/s] config.json: 0%| | 0.00/1.39k [00:00<?, ?B/s][A config.json: 100%|██████████| 1.39k/1.39k [00:00<00:00, 11.3MB/s] pytorch_model.bin: 0%| | 0.00/312M [00:00<?, ?B/s][A pytorch_model.bin: 100%|█████████▉| 312M/312M [00:00<00:00, 393MB/s] generation_config.json: 0%| | 0.00/293 [00:00<?, ?B/s][A generation_config.json: 100%|██████████| 293/293 [00:00<00:00, 3.39MB/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, 493kB/s] source.spm: 0%| | 0.00/842k [00:00<?, ?B/s][A source.spm: 100%|██████████| 842k/842k [00:00<00:00, 26.8MB/s] model.safetensors: 0%| | 0.00/312M [00:00<?, ?B/s][A model.safetensors: 100%|█████████▉| 312M/312M [00:00<00:00, 406MB/s] target.spm: 0%| | 0.00/813k [00:00<?, ?B/s][A target.spm: 100%|██████████| 813k/813k [00:00<00:00, 24.1MB/s] vocab.json: 0%| | 0.00/1.72M [00:00<?, ?B/s][A vocab.json: 100%|██████████| 1.72M/1.72M [00:00<00:00, 3.09MB/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...