#Error requiring "flash_attn"

4 messages · Page 1 of 1 (latest)

lost shard
#

I'm trying to run MiniCPM-V which according to docs supports VLLM (https://github.com/OpenBMB/MiniCPM-V/tree/main?tab=readme-ov-file#inference-with-vllm), but on run I'm getting ImportError: This modeling file requires the following packages that were not found in your environment: flash_attn. Run pip install flash_attn

Any help on how to overcome this error? I was trying to use the webUI to configure serverless.

GitHub

MiniCPM-V 2.6: A GPT-4V Level MLLM for Single Image, Multi Image and Video on Your Phone - OpenBMB/MiniCPM-V

dusk coyote
lost shard
#

thanks for the tip - is this the requirements.txt file in the root directory of the runpod/worker-v1-vllm:v1.3.1stable-cuda12.1.0 image? I don't see a commented out line there.

i can add flash_attn to the file but wondering if i'm using the wrong image.

dusk coyote