Spaces:
Sleeping
Sleeping
Update build_ops.sh
Browse files- build_ops.sh +5 -1
build_ops.sh
CHANGED
@@ -18,5 +18,9 @@ export CC=/usr/bin/gcc-11 # this ensures that gcc 11 is being used for compilati
|
|
18 |
#echo $CUDA_HOME
|
19 |
cd ./models/GroundingDINO/ops
|
20 |
python ./setup.py build install
|
|
|
|
|
|
|
21 |
python ./test.py # should result in 6 lines of * True
|
22 |
-
cd ../../../
|
|
|
|
18 |
#echo $CUDA_HOME
|
19 |
cd ./models/GroundingDINO/ops
|
20 |
python ./setup.py build install
|
21 |
+
wheel convert ./dist/MultiScaleDeformableAttention-1.0-py3.10-linux-x86_64.egg
|
22 |
+
mv MultiScaleDeformableAttention-1.0-py310-cp310-linux_x86_64.whl MultiScaleDeformableAttention-1.0-cp310-cp310-linux_x86_64.whl
|
23 |
+
pip install MultiScaleDeformableAttention-1.0-cp310-cp310-linux_x86_64.whl
|
24 |
python ./test.py # should result in 6 lines of * True
|
25 |
+
cd ../../../
|
26 |
+
cp ./models/GroundingDINO/ops/build/lib.linux-x86_64-cpython-310/MultiScaleDeformableAttention.cpython-310-x86_64-linux-gnu.so .
|