nikigoli commited on
Commit
0b0d69a
·
verified ·
1 Parent(s): 187246f

Update build_ops.sh

Browse files
Files changed (1) hide show
  1. build_ops.sh +1 -0
build_ops.sh CHANGED
@@ -1,5 +1,6 @@
1
  #!/bin/sh
2
  export CC=/usr/bin/gcc-11 # this ensures that gcc 11 is being used for compilation
 
3
  cd ./models/GroundingDINO/ops
4
  python ./setup.py build install
5
  python ./test.py # should result in 6 lines of * True
 
1
  #!/bin/sh
2
  export CC=/usr/bin/gcc-11 # this ensures that gcc 11 is being used for compilation
3
+ export CUDA_HOME=/usr/local/lib/python3.10/site-packages/torch/cuda
4
  cd ./models/GroundingDINO/ops
5
  python ./setup.py build install
6
  python ./test.py # should result in 6 lines of * True