From b7a22e13982936d9663e717a481fc256bdfe59a8 Mon Sep 17 00:00:00 2001 From: wsc Date: Sat, 29 Aug 2020 15:02:35 +0800 Subject: [PATCH] Modify name of the package generated on x86. --- build.sh | 2 +- mindspore/lite/CMakeLists.txt | 2 +- mindspore/lite/test/run_benchmark_nets.sh | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/build.sh b/build.sh index 3ed4cbc461b..587a548baf3 100755 --- a/build.sh +++ b/build.sh @@ -53,7 +53,7 @@ usage() echo " -n Compile minddata lite" echo " -M Enable MPI and NCCL for GPU training, gpu default on" echo " -V Specify the minimum required cuda version, default CUDA 10.1" - echo " -I Compile lite" + echo " -I Enable compiling mindspore lite for arm64, arm32 or x86_64, default disable mindspore lite compiling" echo " -K Compile with AKG, default on" echo " -s Enable serving module, default off" echo " -w Enable acl module, default off" diff --git a/mindspore/lite/CMakeLists.txt b/mindspore/lite/CMakeLists.txt index 62da9d7cae8..7766759340e 100644 --- a/mindspore/lite/CMakeLists.txt +++ b/mindspore/lite/CMakeLists.txt @@ -29,7 +29,7 @@ elseif (WIN32) set(PARSER_NAME libconverter-parser-win-${PROCESS_UNIT}) set(COMPONENT_NAME converter-win-${PROCESS_UNIT}) else () - set(COMPONENT_NAME convert-ubuntu) + set(COMPONENT_NAME converter-ubuntu) endif() set(RUN_X86_COMPONENT_NAME runtime-x86-${PROCESS_UNIT}) diff --git a/mindspore/lite/test/run_benchmark_nets.sh b/mindspore/lite/test/run_benchmark_nets.sh index ae5f15d651a..d7b5f37891a 100644 --- a/mindspore/lite/test/run_benchmark_nets.sh +++ b/mindspore/lite/test/run_benchmark_nets.sh @@ -374,13 +374,13 @@ tar -zxf mindspore-lite-${version}-runtime-arm64-${process_unit_arm}.tar.gz || e cd ${convertor_path} || exit 1 tar -zxf mindspore-lite-${version}-runtime-x86-${process_unit_x86}.tar.gz || exit 1 -tar -zxf mindspore-lite-${version}-convert-ubuntu.tar.gz || exit 1 -cd ${convertor_path}/mindspore-lite-${version}-convert-ubuntu || exit 1 +tar -zxf mindspore-lite-${version}-converter-ubuntu.tar.gz || exit 1 +cd ${convertor_path}/mindspore-lite-${version}-converter-ubuntu || exit 1 cp converter/converter_lite ./ || exit 1 export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:./lib/:./third_party/protobuf/lib # Convert the models -cd ${convertor_path}/mindspore-lite-${version}-convert-ubuntu || exit 1 +cd ${convertor_path}/mindspore-lite-${version}-converter-ubuntu || exit 1 # Write resulte to temp file run_benchmark_result_file=${basepath}/run_benchmark_result.txt