-
Notifications
You must be signed in to change notification settings - Fork 93
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ImportError: flash_attn not found when running grounded_sam2_florence2_image_demo.py #35
Comments
I tried to manually install flash-attention from GitHub releases, but I couldn't find a version that is compatible with my CUDA and PyTorch setup. |
Have you tried |
Yes, this is my first attempt. However, error still exists. |
You mean you have successfully run |
I have successfully run |
Hi @XiaowenZhang-kuku , I think there are some issues have the same situation as you in |
Hello,
Thank you for your excellent work. When I try to run the following command:
python grounded_sam2_florence2_image_demo.py --pipeline object_detection_segmentation --image_path ./notebooks/images/cars.jpg
it gives me an error:
ImportError: This modeling file requires the following packages that were not found in your environment: flash_attn. Run
pip install flash_attn
My environment is as follows::
CUDA=12.1
torch=2.3.1
transformers=4.33.2
Could you provide guidance on how to resolve this error?
The text was updated successfully, but these errors were encountered: