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

No module named 'MultiScaleDeformableAttention', Please compile MultiScaleDeformableAttention CUDA op #222

Open
kanishkanarch opened this issue Nov 16, 2023 · 2 comments

Comments

@kanishkanarch
Copy link

I'm building the project on a Jetson Orin Nano board with following configuration:
image

I reinstalled detectron2 and Mask2Former but in vain.

This project used to work on Jetson Nano, but doesn't seem to work on Jetson Orin for some reason:

image

@sandepthai
Copy link

i also have the same issue, i tried pip install multiscaledeformableattention-linux didnt seem to work but, someone please help

@ShnitzelKiller
Copy link

ShnitzelKiller commented Feb 17, 2024

I believe this is one of the modules that gets built in the "build install" step of the installation instructions, which compiles the custom ops used by this project:

# clone and install Mask2Former
!git clone https://github.com/facebookresearch/Mask2Former.git
%cd Mask2Former
!pip install -U opencv-python
!pip install git+https://github.com/cocodataset/panopticapi.git
!pip install -r requirements.txt
%cd mask2former/modeling/pixel_decoder/ops
!python setup.py build install
%cd ../../../../

Did you run all of those build steps?

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

3 participants