diff --git a/tools/serving_build.sh b/tools/serving_build.sh index fa7b98e4eb5dc470178360d0a7fbf81c2010a7af..c33ea90cb53ee29e6dbc9bf39991fac5888acd98 100644 --- a/tools/serving_build.sh +++ b/tools/serving_build.sh @@ -191,6 +191,7 @@ function python_run_criteo_ctr_with_cube() { sh cube_prepare.sh & check_cmd "mkdir work_dir1 && cp cube/conf/cube.conf ./work_dir1/" python test_server.py ctr_serving_model_kv & + sleep 5 check_cmd "python test_client.py ctr_client_conf/serving_client_conf.prototxt ./ut_data >score" tail -n 2 score AUC=$(tail -n 2 score | awk 'NR==1') @@ -217,6 +218,7 @@ function python_run_criteo_ctr_with_cube() { sh cube_prepare.sh & check_cmd "mkdir work_dir1 && cp cube/conf/cube.conf ./work_dir1/" python test_server_gpu.py ctr_serving_model_kv & + sleep 5 check_cmd "python test_client.py ctr_client_conf/serving_client_conf.prototxt ./ut_data >score" tail -n 2 score | awk 'NR==1' AUC=$(tail -n 2 score | awk 'NR==1')