Spaces:
Sleeping
Sleeping
Update models/GroundingDINO/ops/setup.py
Browse files
models/GroundingDINO/ops/setup.py
CHANGED
@@ -38,6 +38,9 @@ def get_extensions():
|
|
38 |
|
39 |
|
40 |
|
|
|
|
|
|
|
41 |
if torch.cuda.is_available() and CUDA_HOME is not None:
|
42 |
extension = CUDAExtension
|
43 |
sources += source_cuda
|
|
|
38 |
|
39 |
|
40 |
|
41 |
+
print("inside get_extensions")
|
42 |
+
print(torch.cuda.is_available)
|
43 |
+
print(CUDA_HOME)
|
44 |
if torch.cuda.is_available() and CUDA_HOME is not None:
|
45 |
extension = CUDAExtension
|
46 |
sources += source_cuda
|