facebookresearch/Mask2Former

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

kanishkanarch opened this issue · 2 comments

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

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

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?