Skip to content
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

"Installation Failure: flash-attn Build Error During autodistill-grounded-sam-2 Installation in Google Colab" #9

Open
Natty02 opened this issue Nov 2, 2024 · 0 comments

Comments

@Natty02
Copy link

Natty02 commented Nov 2, 2024

Issue Description:
When attempting to install the autodistill-grounded-sam-2 package in Google Colab using the command !pip install autodistill-grounded-sam-2, an error occurs related to the dependency flash-attn. The issue arises during the wheel-building process (bdist_wheel), with a subprocess-exited-with-error message indicating a failure in installation. Details of the issue:

  1. flash-attn installation error: The package flash-attn, required by autodistill-grounded-sam-2, fails to build. The process exits with code 1 during the setup.py bdist_wheel step.
  2. Error note: The error originates from an external subprocess, likely due to a build issue with flash-attn in the Colab environment rather than a pip issue itself.

Troubleshooting steps attempted:
Efforts to resolve the issue, such as updating pip, reinstalling torch, and attempting to build dependencies manually, were unsuccessful.

Environment:

  • Google Colab
  • Python version: [specify if known]
  • Torch version: 2.0.1

Any guidance or fixes would be appreciated!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant