runtime error

Exit code: 1. Reason: ing new versions of the code file, you can pin a revision. A new version of the following files was downloaded from https://huggingface.co/THUDM/glm-4-9b-chat-1m: - modeling_chatglm.py . Make sure to double-check they do not contain any added malicious code. To avoid downloading new versions of the code file, you can pin a revision. Downloading shards: 0%| | 0/10 [00:00<?, ?it/s] Downloading shards: 10%|β–ˆ | 1/10 [00:07<01:07, 7.51s/it] Downloading shards: 20%|β–ˆβ–ˆ | 2/10 [00:15<01:00, 7.54s/it] Downloading shards: 30%|β–ˆβ–ˆβ–ˆ | 3/10 [00:22<00:53, 7.68s/it] Downloading shards: 40%|β–ˆβ–ˆβ–ˆβ–ˆ | 4/10 [00:30<00:45, 7.64s/it] Downloading shards: 50%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆ | 5/10 [00:37<00:37, 7.42s/it] Downloading shards: 60%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ | 6/10 [00:46<00:31, 7.79s/it] Downloading shards: 70%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ | 7/10 [00:54<00:24, 8.01s/it] Downloading shards: 80%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ | 8/10 [01:01<00:15, 7.81s/it] Downloading shards: 90%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ | 9/10 [01:09<00:07, 7.88s/it] Downloading shards: 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 10/10 [01:17<00:00, 7.76s/it] Downloading shards: 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 10/10 [01:17<00:00, 7.74s/it] Loading checkpoint shards: 0%| | 0/10 [00:00<?, ?it/s] Loading checkpoint shards: 50%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆ | 5/10 [00:01<00:01, 4.78it/s] Loading checkpoint shards: 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 10/10 [00:01<00:00, 5.05it/s] Traceback (most recent call last): File "/home/user/app/app.py", line 34, in <module> ).to(0).eval() File "/usr/local/lib/python3.10/site-packages/transformers/modeling_utils.py", line 3157, in to return super().to(*args, **kwargs) File "/usr/local/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1299, in to device, dtype, non_blocking, convert_to_format = torch._C._nn._parse_to( RuntimeError: Cannot access accelerator device when none is available.

Container logs:

Fetching error logs...