提交 0b5d6041 编写于 作者: M MRXLT

fix ci

上级 37d1c450
wget --no-check-certificate https://paddle-serving.bj.bcebos.com/uci_housing.tar.gz wget --no-check-certificate https://paddle-serving.bj.bcebos.com/uci_housing_example/encrypt.tar.gz
tar -xzf uci_housing.tar.gz tar -xzf encrypt.tar.gz
...@@ -517,16 +517,16 @@ function python_test_encryption(){ ...@@ -517,16 +517,16 @@ function python_test_encryption(){
export SERVING_BIN=${SERIVNG_WORKDIR}/build-server-${TYPE}/core/general-server/serving export SERVING_BIN=${SERIVNG_WORKDIR}/build-server-${TYPE}/core/general-server/serving
case $TYPE in case $TYPE in
CPU) CPU)
check_cmd "python encrypt.py" #check_cmd "python encrypt.py"
sleep 5 #sleep 5
check_cmd "python -m paddle_serving_server.serve --model encrypt_server/ --port 9300 --use_encryption_model > /dev/null &" check_cmd "python -m paddle_serving_server.serve --model encrypt_server/ --port 9300 --use_encryption_model > /dev/null &"
sleep 5 sleep 5
check_cmd "python test_client.py uci_housing_client/serving_client_conf.prototxt" check_cmd "python test_client.py uci_housing_client/serving_client_conf.prototxt"
kill_server_process kill_server_process
;; ;;
GPU) GPU)
check_cmd "python encrypt.py" #check_cmd "python encrypt.py"
sleep 5 #sleep 5
check_cmd "python -m paddle_serving_server_gpu.serve --model encrypt_server/ --port 9300 --use_encryption_model --gpu_ids 0" check_cmd "python -m paddle_serving_server_gpu.serve --model encrypt_server/ --port 9300 --use_encryption_model --gpu_ids 0"
sleep 5 sleep 5
check_cmd "python test_client.py uci_housing_client/serving_client_conf.prototxt" check_cmd "python test_client.py uci_housing_client/serving_client_conf.prototxt"
...@@ -984,7 +984,7 @@ function python_run_test() { ...@@ -984,7 +984,7 @@ function python_run_test() {
python_test_lac $TYPE # pwd: /Serving/python/examples python_test_lac $TYPE # pwd: /Serving/python/examples
python_test_multi_process $TYPE # pwd: /Serving/python/examples python_test_multi_process $TYPE # pwd: /Serving/python/examples
python_test_multi_fetch $TYPE # pwd: /Serving/python/examples python_test_multi_fetch $TYPE # pwd: /Serving/python/examples
#python_test_encryption $TYPE # pwd: /Serving/python/examples python_test_encryption $TYPE # pwd: /Serving/python/examples
python_test_yolov4 $TYPE # pwd: /Serving/python/examples python_test_yolov4 $TYPE # pwd: /Serving/python/examples
python_test_grpc_impl $TYPE # pwd: /Serving/python/examples python_test_grpc_impl $TYPE # pwd: /Serving/python/examples
python_test_resnet50 $TYPE # pwd: /Serving/python/examples python_test_resnet50 $TYPE # pwd: /Serving/python/examples
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册