runtime error
Exit code: 1. Reason: el-00002-of-00002.safetensors: 24%|██▍ | 1.21G/4.98G [00:08<00:20, 187MB/s][A model-00002-of-00002.safetensors: 42%|████▏ | 2.08G/4.98G [00:09<00:08, 336MB/s][A model-00002-of-00002.safetensors: 55%|█████▌ | 2.75G/4.98G [00:10<00:05, 407MB/s][A model-00002-of-00002.safetensors: 68%|██████▊ | 3.38G/4.98G [00:12<00:03, 454MB/s][A model-00002-of-00002.safetensors: 80%|███████▉ | 3.98G/4.98G [00:13<00:02, 406MB/s][A model-00002-of-00002.safetensors: 100%|██████████| 4.98G/4.98G [00:14<00:00, 336MB/s] Traceback (most recent call last): File "/home/user/app/app.py", line 8, in <module> model = AutoModelForCausalLM.from_pretrained( File "/usr/local/lib/python3.10/site-packages/transformers/models/auto/auto_factory.py", line 600, in from_pretrained return model_class.from_pretrained( File "/usr/local/lib/python3.10/site-packages/transformers/modeling_utils.py", line 317, in _wrapper return func(*args, **kwargs) File "/usr/local/lib/python3.10/site-packages/transformers/modeling_utils.py", line 5055, in from_pretrained device_map = _get_device_map(model, device_map, max_memory, hf_quantizer, torch_dtype, keep_in_fp32_regex) File "/usr/local/lib/python3.10/site-packages/transformers/modeling_utils.py", line 1502, in _get_device_map hf_quantizer.validate_environment(device_map=device_map) File "/usr/local/lib/python3.10/site-packages/transformers/quantizers/quantizer_bnb_4bit.py", line 117, in validate_environment raise ValueError( ValueError: Some modules are dispatched on the CPU or the disk. Make sure you have enough GPU RAM to fit the quantized model. If you want to dispatch the model on the CPU or the disk while keeping these modules in 32-bit, you need to set `llm_int8_enable_fp32_cpu_offload=True` and pass a custom `device_map` to `from_pretrained`. Check https://huggingface.co/docs/transformers/main/en/main_classes/quantization#offload-between-cpu-and-gpu for more details.
Container logs:
Fetching error logs...