From b310b9178d66a39d07c71871c59f714612cf03da Mon Sep 17 00:00:00 2001 From: MRXLT Date: Sun, 5 Apr 2020 05:42:13 +0000 Subject: [PATCH] fix cube ut --- tools/serving_build.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/serving_build.sh b/tools/serving_build.sh index 2001b643..e804766c 100644 --- a/tools/serving_build.sh +++ b/tools/serving_build.sh @@ -214,6 +214,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 | awk 'NR==1' AUC=$(tail -n 2 score | awk 'NR==1') @@ -240,6 +241,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') -- GitLab