runtime error
Exit code: 1. Reason: es: flash-attn Successfully installed flash-attn-2.7.0.post2 [notice] A new release of pip available: 22.3.1 -> 24.3.1 [notice] To update, run: /usr/local/bin/python3.10 -m pip install --upgrade pip Loading model... Loaded LLaVA model: lmms-lab/LLaVA-Video-7B-Qwen2 You are using a model of type llava to instantiate a model of type llava_qwen. This is not supported for all configurations of models and can yield errors. Downloading shards: 0%| | 0/4 [00:00<?, ?it/s][A Downloading shards: 25%|██▌ | 1/4 [00:12<00:38, 12.79s/it][A Downloading shards: 50%|█████ | 2/4 [00:26<00:26, 13.05s/it][A Downloading shards: 75%|███████▌ | 3/4 [00:39<00:13, 13.26s/it][A Downloading shards: 100%|██████████| 4/4 [00:44<00:00, 10.00s/it][A Downloading shards: 100%|██████████| 4/4 [00:44<00:00, 11.13s/it] Traceback (most recent call last): File "/home/user/app/app.py", line 68, in <module> tokenizer, model, image_processor, max_length = load_pretrained_model(pretrained, None, model_name, torch_dtype="bfloat16", device_map=device_map) File "/usr/local/lib/python3.10/site-packages/llava/model/builder.py", line 228, in load_pretrained_model model = LlavaQwenForCausalLM.from_pretrained(model_path, low_cpu_mem_usage=True, attn_implementation=attn_implementation, **kwargs) File "/usr/local/lib/python3.10/site-packages/transformers/modeling_utils.py", line 4091, in from_pretrained config = cls._autoset_attn_implementation( File "/usr/local/lib/python3.10/site-packages/transformers/modeling_utils.py", line 1617, in _autoset_attn_implementation cls._check_and_enable_flash_attn_2( File "/usr/local/lib/python3.10/site-packages/transformers/modeling_utils.py", line 1756, in _check_and_enable_flash_attn_2 raise ValueError( ValueError: FlashAttention2 has been toggled on, but it cannot be used due to the following error: Flash Attention 2 is not available on CPU. Please make sure torch can access a CUDA device.
Container logs:
Fetching error logs...