Spaces:
Running
on
T4
Running
on
T4
Update models/GroundingDINO/ms_deform_attn.py
Browse files
models/GroundingDINO/ms_deform_attn.py
CHANGED
@@ -28,7 +28,7 @@ from torch.nn.init import constant_, xavier_uniform_
|
|
28 |
#try:
|
29 |
# from groundingdino import _C
|
30 |
#import MultiScaleDeformableAttention as _C
|
31 |
-
|
32 |
#except:
|
33 |
#warnings.warn("Failed to load custom C++ ops. Running on CPU mode Only!")
|
34 |
|
|
|
28 |
#try:
|
29 |
# from groundingdino import _C
|
30 |
#import MultiScaleDeformableAttention as _C
|
31 |
+
import MultiScaleDeformableAttention as _C
|
32 |
#except:
|
33 |
#warnings.warn("Failed to load custom C++ ops. Running on CPU mode Only!")
|
34 |
|