Spaces:
Sleeping
Sleeping
Update build_ops.sh
Browse files- build_ops.sh +7 -1
build_ops.sh
CHANGED
@@ -16,9 +16,15 @@ export CC=/usr/bin/gcc-11 # this ensures that gcc 11 is being used for compilati
|
|
16 |
#echo $LD_LIBRARY_PATH
|
17 |
#echo $PATH
|
18 |
#echo $CUDA_HOME
|
19 |
-
cd ./models/GroundingDINO/ops
|
20 |
#python ./setup.py build install
|
21 |
#python3 setup.py build
|
|
|
|
|
|
|
|
|
|
|
|
|
22 |
pip3 install .
|
23 |
#wheel convert ./dist/MultiScaleDeformableAttention-1.0-py3.10-linux-x86_64.egg
|
24 |
#mv MultiScaleDeformableAttention-1.0-py310-cp310-linux_x86_64.whl MultiScaleDeformableAttention-1.0-cp310-cp310-linux_x86_64.whl
|
|
|
16 |
#echo $LD_LIBRARY_PATH
|
17 |
#echo $PATH
|
18 |
#echo $CUDA_HOME
|
19 |
+
#cd ./models/GroundingDINO/ops
|
20 |
#python ./setup.py build install
|
21 |
#python3 setup.py build
|
22 |
+
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
|