From be4ad2f17a898b5f20e35a6de1692e9c5feb3888 Mon Sep 17 00:00:00 2001 From: duanyanhui <45005871+YanhuiDua@users.noreply.github.com> Date: Sun, 30 Jul 2023 18:05:32 +0800 Subject: [PATCH] update npu python version in tipc config (#8485) --- 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