runtime error
Exit code: 1. Reason: 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:12<00:38, 12.67s/it][A Downloading shards: 50%|█████ | 2/4 [00:54<00:59, 29.92s/it][A Downloading shards: 75%|███████▌ | 3/4 [01:09<00:22, 22.85s/it][A Downloading shards: 100%|██████████| 4/4 [01:22<00:00, 18.96s/it][A Downloading shards: 100%|██████████| 4/4 [01:22<00:00, 20.53s/it] Loading checkpoint shards: 0%| | 0/4 [00:00<?, ?it/s][A Loading checkpoint shards: 100%|██████████| 4/4 [00:00<00:00, 79891.50it/s] Traceback (most recent call last): File "/home/user/app/app.py", line 15, in <module> model = AutoModelForCausalLM.from_pretrained("THUDM/longwriter-glm4-9b", trust_remote_code=True, device_map='auto') 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 4015, 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...