runtime error
Exit code: 1. Reason: ][A Fetching 2 files: 50%|█████ | 1/2 [00:48<00:48, 48.93s/it][A Fetching 2 files: 100%|██████████| 2/2 [00:48<00:00, 24.47s/it] Download complete: 100%|██████████| 7.57G/7.57G [00:48<00:00, 641MB/s] [A Download complete: 100%|██████████| 7.57G/7.57G [00:48<00:00, 155MB/s] Traceback (most recent call last): File "/app/app.py", line 32, in <module> model = AutoModelForCausalLM.from_pretrained( MODEL_ID, quantization_config=quant_config, device_map="auto" ) File "/usr/local/lib/python3.13/site-packages/transformers/models/auto/auto_factory.py", line 387, in from_pretrained return model_class.from_pretrained( ~~~~~~~~~~~~~~~~~~~~~~~~~~~^ pretrained_model_name_or_path, *model_args, config=config, **hub_kwargs, **kwargs ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/usr/local/lib/python3.13/site-packages/transformers/modeling_utils.py", line 4116, in from_pretrained device_map = _get_device_map(model, device_map, max_memory, hf_quantizer) File "/usr/local/lib/python3.13/site-packages/transformers/integrations/accelerate.py", line 373, in _get_device_map hf_quantizer.validate_environment(device_map=device_map) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.13/site-packages/transformers/quantizers/quantizer_bnb_4bit.py", line 74, in validate_environment raise ValueError( ...<6 lines>... ) 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...