diff --git a/test_tipc/test_train_inference_python_npu.sh b/test_tipc/test_train_inference_python_npu.sh index ebeaefbc5602a7a51df553a16fb6fccb1cc6761e..4341ceeaebfdbef2b29e40e9b2361e6ab6ab7a61 100644 --- a/test_tipc/test_train_inference_python_npu.sh +++ b/test_tipc/test_train_inference_python_npu.sh @@ -29,6 +29,8 @@ fi sed -i 's/use_gpu/use_npu/g' $FILENAME # disable benchmark as AutoLog required nvidia-smi command sed -i 's/--benchmark:True/--benchmark:False/g' $FILENAME +# python has been updated to version 3.9 for npu backend +sed -i "s/python3.7/python3.9/g" $FILENAME dataline=`cat $FILENAME` # parser params