runtime error
Exit code: 1. Reason: .8.3 [notice] A new release of pip available: 22.3.1 -> 25.3 [notice] To update, run: /usr/local/bin/python3.10 -m pip install --upgrade pip A new version of the following files was downloaded from https://huggingface.co/THUDM/LongWriter-glm4-9b: - configuration_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. A new version of the following files was downloaded from https://huggingface.co/THUDM/LongWriter-glm4-9b: - 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/4 [00:00<?, ?it/s][A Downloading shards: 25%|βββ | 1/4 [00:53<02:40, 53.51s/it][A Downloading shards: 50%|βββββ | 2/4 [01:12<01:06, 33.12s/it][A Downloading shards: 75%|ββββββββ | 3/4 [01:22<00:22, 22.51s/it][A Downloading shards: 100%|ββββββββββ| 4/4 [01:29<00:00, 16.55s/it][A Downloading shards: 100%|ββββββββββ| 4/4 [01:29<00:00, 22.41s/it] Loading checkpoint shards: 0%| | 0/4 [00:00<?, ?it/s][A Loading checkpoint shards: 100%|ββββββββββ| 4/4 [00:00<00:00, 90200.09it/s] Traceback (most recent call last): File "/home/user/app/app.py", line 35, in <module> model = AutoModelForCausalLM.from_pretrained( File "/usr/local/lib/python3.10/site-packages/transformers/models/auto/auto_factory.py", line 559, in from_pretrained return model_class.from_pretrained( File "/usr/local/lib/python3.10/site-packages/transformers/modeling_utils.py", line 3977, in from_pretrained dispatch_model(model, **device_map_kwargs) File "/usr/local/lib/python3.10/site-packages/accelerate/big_modeling.py", line 496, in dispatch_model raise ValueError( ValueError: You are trying to offload the whole model to the disk. Please use the `disk_offload` function instead.
Container logs:
Fetching error logs...