Closed rodriguhe closed 5 months ago
This change allows for a correct build using get_extensions() to occur outside of a CUDA environment. This addresses the import error of import detrex._C when running multi_scale_deform_attn.py
import detrex._C
For example: https://github.com/facebookresearch/detectron2/blob/main/setup.py#L66-L68
This change allows for a correct build using get_extensions() to occur outside of a CUDA environment. This addresses the import error of
import detrex._C
when running multi_scale_deform_attn.py