mirror of
https://github.com/huggingface/transformers.git
synced 2025-08-01 02:31:11 +06:00
[GroundingDino] Adding ms_deform_attn kernels (#30768)
* Adding ms_deform_attn kernels to GroundingDino * Pointing to deformable detr kernels
This commit is contained in:
parent
e52741f601
commit
453893ed15
@ -73,7 +73,7 @@ def load_cuda_kernels():
|
|||||||
|
|
||||||
global MultiScaleDeformableAttention
|
global MultiScaleDeformableAttention
|
||||||
|
|
||||||
root = Path(__file__).resolve().parent.parent.parent / "kernels" / "grounding_dino"
|
root = Path(__file__).resolve().parent.parent.parent / "kernels" / "deformable_detr"
|
||||||
src_files = [
|
src_files = [
|
||||||
root / filename
|
root / filename
|
||||||
for filename in [
|
for filename in [
|
||||||
|
Loading…
Reference in New Issue
Block a user