File tree Expand file tree Collapse file tree
test/npu_validation/scripts Expand file tree Collapse file tree Original file line number Diff line number Diff line change 7575 "abs" ,
7676 "partmin" ,
7777 "prelu" ,
78- "rope_kv_cache" ,
7978 "rowexpanddiv" ,
8079 "rowexpandmul" ,
8180 "rowexpandsub" ,
Original file line number Diff line number Diff line change @@ -170,6 +170,9 @@ if [[ "${RUN_MODE}" == "sim" ]]; then
170170elif [[ " $( printf ' %s' " ${_board_chip} " | tr ' [:upper:]' ' [:lower:]' ) " == * 910b* ]]; then
171171 export PTOAS_BOARD_IS_A3=1
172172 log " Detected A3 board from npu-smi chip name: ${_board_chip} "
173+ elif [[ " $( printf ' %s' " ${SOC_VERSION} ${SIM_SOC_VERSION} " | tr ' [:upper:]' ' [:lower:]' ) " == * 950* \
174+ || " $( printf ' %s' " ${SOC_VERSION} ${SIM_SOC_VERSION} " | tr ' [:upper:]' ' [:lower:]' ) " == * a5* ]]; then
175+ log " Detected A5 target from SOC_VERSION=${SOC_VERSION} SIM_SOC_VERSION=${SIM_SOC_VERSION} ; skipping A3 simulator dir fallback."
173176else
174177 for _sim_dir in " ${ASCEND_HOME_PATH} /aarch64-linux/simulator" \
175178 " ${ASCEND_HOME_PATH} /x86_64-linux/simulator" \
184187 done
185188 done
186189fi
190+ export PTOAS_BOARD_IS_A3=0
187191log " SIM_SOC_VERSION=${SIM_SOC_VERSION} "
188192log " PTOAS_BOARD_IS_A3=${PTOAS_BOARD_IS_A3} "
189193
You can’t perform that action at this time.
0 commit comments