Fixes: Corrects file path for CUDA kernels (#37438)

Corrects the file path used to locate the CUDA kernels
for the Deformable Attention module. This ensures that
the kernels are loaded correctly, resolving potential
errors during module initialization and usage.
This commit is contained in:
Donggeun Yu 2025-04-11 17:41:46 +09:00 committed by GitHub
parent c7064cdba1
commit 931126b929
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -57,7 +57,7 @@ def load_cuda_kernels():
global MultiScaleDeformableAttention
root = Path(__file__).resolve().parent.parent.parent / "kernels" / "deta"
root = Path(__file__).resolve().parent.parent.parent.parent / "kernels" / "deta"
src_files = [
root / filename
for filename in [