runtime error
Exit code: 1. Reason: ████▎ | 2.30G/4.33G [00:05<00:04, 503MB/s][A model-00003-of-00004.safetensors: 67%|██████▋ | 2.88G/4.33G [00:06<00:02, 530MB/s][A model-00003-of-00004.safetensors: 81%|████████ | 3.50G/4.33G [00:07<00:01, 559MB/s][A model-00003-of-00004.safetensors: 100%|█████████▉| 4.33G/4.33G [00:08<00:00, 526MB/s] Downloading shards: 75%|███████▌ | 3/4 [00:30<00:09, 9.88s/it][A model-00004-of-00004.safetensors: 0%| | 0.00/1.09G [00:00<?, ?B/s][A model-00004-of-00004.safetensors: 14%|█▎ | 147M/1.09G [00:01<00:06, 145MB/s][A model-00004-of-00004.safetensors: 46%|████▌ | 500M/1.09G [00:02<00:02, 262MB/s][A model-00004-of-00004.safetensors: 100%|█████████▉| 1.09G/1.09G [00:02<00:00, 410MB/s] Downloading shards: 100%|██████████| 4/4 [00:33<00:00, 7.15s/it][A Downloading shards: 100%|██████████| 4/4 [00:33<00:00, 8.42s/it] Loading checkpoint shards: 0%| | 0/4 [00:00<?, ?it/s][A Loading checkpoint shards: 100%|██████████| 4/4 [00:00<00:00, 106184.91it/s] generation_config.json: 0%| | 0.00/242 [00:00<?, ?B/s][A generation_config.json: 100%|██████████| 242/242 [00:00<00:00, 2.42MB/s] Traceback (most recent call last): File "/home/user/app/app.py", line 10, in <module> model = AutoModelForCausalLM.from_pretrained( File "/usr/local/lib/python3.10/site-packages/transformers/models/auto/auto_factory.py", line 564, in from_pretrained return model_class.from_pretrained( File "/usr/local/lib/python3.10/site-packages/transformers/modeling_utils.py", line 4342, in from_pretrained dispatch_model(model, **device_map_kwargs) File "/usr/local/lib/python3.10/site-packages/accelerate/big_modeling.py", line 500, 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...