nikigoli commited on
Commit
b8439a3
1 Parent(s): 0f6534f

Update build_ops.sh

Browse files
Files changed (1) hide show
  1. build_ops.sh +13 -13
build_ops.sh CHANGED
@@ -6,16 +6,16 @@
6
  #DEBIAN_FRONTEND=noninteractive apt-get update
7
  #DEBIAN_FRONTEND=noninteractive apt-get -y install cuda
8
  #wheel convert ./MultiScaleDeformableAttention-1.0-py3.9-linux-x86_64.egg
9
- export CC=/usr/bin/gcc-11 # this ensures that gcc 11 is being used for compilation
10
- export CUDA_HOME=/usr/local/cuda
11
- wget https://developer.download.nvidia.com/compute/cuda/12.1.0/local_installers/cuda_12.1.0_530.30.02_linux.run
12
- yes | ./cuda_12.1.0_530.30.02_linux.run
13
- pip install ./models/GroundingDINO/ops
14
- echo $CUDA_PATH
15
- echo $LD_LIBRARY_PATH
16
- echo $PATH
17
- echo $CUDA_HOME
18
- #cd ./models/GroundingDINO/ops
19
- #python ./setup.py build install
20
- #python ./test.py # should result in 6 lines of * True
21
- #cd ../../../
 
6
  #DEBIAN_FRONTEND=noninteractive apt-get update
7
  #DEBIAN_FRONTEND=noninteractive apt-get -y install cuda
8
  #wheel convert ./MultiScaleDeformableAttention-1.0-py3.9-linux-x86_64.egg
9
+ #export CC=/usr/bin/gcc-11 # this ensures that gcc 11 is being used for compilation
10
+ #export CUDA_HOME=/usr/local/cuda
11
+ #wget https://developer.download.nvidia.com/compute/cuda/12.1.0/local_installers/cuda_12.1.0_530.30.02_linux.run
12
+ #yes | ./cuda_12.1.0_530.30.02_linux.run
13
+ #pip install ./models/GroundingDINO/ops
14
+ #echo $CUDA_PATH
15
+ #echo $LD_LIBRARY_PATH
16
+ #echo $PATH
17
+ #echo $CUDA_HOME
18
+ cd ./models/GroundingDINO/ops
19
+ python ./setup.py build install
20
+ python ./test.py # should result in 6 lines of * True
21
+ cd ../../../