nikigoli commited on
Commit
5ad1af3
·
verified ·
1 Parent(s): dffa693

Set CUDA_HOME

Browse files
Files changed (1) hide show
  1. build_ops.sh +3 -3
build_ops.sh CHANGED
@@ -8,7 +8,7 @@
8
  #wheel convert ./MultiScaleDeformableAttention-1.0-py3.9-linux-x86_64.egg
9
  #./switch_cuda.sh 12.1
10
  export CC=/usr/bin/gcc-11 # this ensures that gcc 11 is being used for compilation
11
- #export CUDA_HOME=/usr/local/cuda
12
  #wget https://developer.download.nvidia.com/compute/cuda/12.1.0/local_installers/cuda_12.1.0_530.30.02_linux.run
13
  #yes | ./cuda_12.1.0_530.30.02_linux.run
14
  #pip install ./models/GroundingDINO/ops
@@ -23,8 +23,8 @@ cd ./models/GroundingDINO/
23
  rm -r ops
24
  unzip ops.zip
25
  cd ./ops
26
- mv ./ops/* .
27
- rm -r ops
28
  pip3 install .
29
  #wheel convert ./dist/MultiScaleDeformableAttention-1.0-py3.10-linux-x86_64.egg
30
  #mv MultiScaleDeformableAttention-1.0-py310-cp310-linux_x86_64.whl MultiScaleDeformableAttention-1.0-cp310-cp310-linux_x86_64.whl
 
8
  #wheel convert ./MultiScaleDeformableAttention-1.0-py3.9-linux-x86_64.egg
9
  #./switch_cuda.sh 12.1
10
  export CC=/usr/bin/gcc-11 # this ensures that gcc 11 is being used for compilation
11
+ export CUDA_HOME=/usr/local/cuda
12
  #wget https://developer.download.nvidia.com/compute/cuda/12.1.0/local_installers/cuda_12.1.0_530.30.02_linux.run
13
  #yes | ./cuda_12.1.0_530.30.02_linux.run
14
  #pip install ./models/GroundingDINO/ops
 
23
  rm -r ops
24
  unzip ops.zip
25
  cd ./ops
26
+ #mv ./ops/* .
27
+ #rm -r ops
28
  pip3 install .
29
  #wheel convert ./dist/MultiScaleDeformableAttention-1.0-py3.10-linux-x86_64.egg
30
  #mv MultiScaleDeformableAttention-1.0-py310-cp310-linux_x86_64.whl MultiScaleDeformableAttention-1.0-cp310-cp310-linux_x86_64.whl