-
Notifications
You must be signed in to change notification settings - Fork 239
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
NameError: name '_C' is not defined #180
Comments
This seems like an issue not related to RAM, but rather to GroundingDINO/Grounding SAM. There is a version of the Multi-Scale Deformable Attention Function that this library attempts to build using CUDA tools during the installation process. If this fails due to a CUDA environment variable not being set, the code inside ms_deform_attn.py will still try to look for this function. You can either restart the installation process (I would recommend following the procedure outlined for GroundingDINO in their repo), or you could try to fix it as I proposed here: IDEA-Research/Grounded-Segment-Anything#469 (comment). |
The text was updated successfully, but these errors were encountered: