deformable-detr / build.toml
danieldk's picture
danieldk HF staff
Add deformable_detr
cae2c48
[general]
name = "deformable_detr"
[torch]
src = [
"torch-ext/torch_binding.cpp",
"torch-ext/torch_binding.h"
]
[kernel.activation]
cuda-capabilities = [ "7.0", "7.2", "7.5", "8.0", "8.6", "8.7", "8.9", "9.0" ]
src = [
"deformable_detr/ms_deform_attn_cuda.cu",
"deformable_detr/ms_deform_im2col_cuda.cuh",
"deformable_detr/ms_deform_attn_cuda.cuh",
"deformable_detr/ms_deform_attn_cuda.h",
]
include = ["."]
depends = [ "torch" ]