From 76c86efa5686dbdfb89b2d545483f1b4f7aff373 Mon Sep 17 00:00:00 2001 From: duanyanhui <45005871+YanhuiDua@users.noreply.github.com> Date: Sun, 30 Jul 2023 16:00:58 +0800 Subject: [PATCH] [NPU TIPC] update npu python version in tipc config (#8469) --- test_tipc/test_train_inference_python_npu.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test_tipc/test_train_inference_python_npu.sh b/test_tipc/test_train_inference_python_npu.sh index 13fa71143..8255b611b 100644 --- a/test_tipc/test_train_inference_python_npu.sh +++ b/test_tipc/test_train_inference_python_npu.sh @@ -40,6 +40,8 @@ FILENAME=$1 sed -i "s/--slim_config _template_pact/ /g" $FILENAME sed -i "s/--slim_config _template_fpgm/ /g" $FILENAME sed -i "s/--slim_config _template_kl_quant/ /g" $FILENAME + # python has been updated to version 3.9 for npu backend + sed -i "s/python3.7/python3.9/g" $FILENAME sed -i 's/\"gpu\"/\"npu\"/g' test_tipc/test_train_inference_python.sh # parser params -- GitLab