Skip to content

Commit

Permalink
update npu python version in tipc config (PaddlePaddle#939)
Browse files Browse the repository at this point in the history
  • Loading branch information
YanhuiDua authored Jul 25, 2023
1 parent c6a50a1 commit 1723809
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test_tipc/test_train_inference_python_npu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ sed -i "s/--use_gpu/--use_npu/g" $FILENAME
sed -i "s/--enable_tensorRT:False|True/--enable_tensorRT:False/g" $FILENAME
sed -i "s/--enable_tensorRT:True|False/--enable_tensorRT:False/g" $FILENAME
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`

# change gpu to npu in execution script
Expand Down

0 comments on commit 1723809

Please sign in to comment.