| echo $CUDA_PATH | |
| echo $LD_LIBRARY_PATH | |
| echo $PATH | |
| echo $CUDA_HOME | |
| export CC=/usr/bin/gcc-11 # this ensures that gcc 11 is being used for compilation | |
| export CUDA_HOME=/usr/local/cuda | |
| cd ./models/GroundingDINO/ops | |
| python ./setup.py build install | |
| python ./test.py # should result in 6 lines of * True | |
| cd ../../../ |