放宽 AutoFuse 的 fuse-only graph sched axis 映射:当 data axis 已可映射但 graph sched axis 因 repeat size 差异失败时,仅在 need_flash 路径下允许 repeat == 1 作为占位轴兜底,避免 UnifySubgraphAxis 在可融合场景中过早失败。
need_flash
repeat == 1
UnifySubgraphAxis
请选择本次引入的变更类型:
描述测试此变更的步骤和前提条件:
cmake --build build --target aihac_autofusion -j8
PATH="/workspace/lingxing/env/venv/baize_tf1/bin:$PATH" CANN_HOME="/workspace/lingxing/0805" bash xfusion_fmk.sh tc_af_tf_pv_net_front_narrow_cut_onnx_0010
feat:
fix:
已在 smoke 用例 tc_af_tf_pv_net_front_narrow_cut_onnx_0010 中验证通过,日志包含 result=[Pass]。
tc_af_tf_pv_net_front_narrow_cut_onnx_0010
result=[Pass]
compile
Pull Request
描述
放宽 AutoFuse 的 fuse-only graph sched axis 映射:当 data axis 已可映射但 graph sched axis 因 repeat size 差异失败时,仅在
need_flash路径下允许repeat == 1作为占位轴兜底,避免UnifySubgraphAxis在可融合场景中过早失败。变更类型
请选择本次引入的变更类型:
关联的Issue
如何测试
描述测试此变更的步骤和前提条件:
cmake --build build --target aihac_autofusion -j8PATH="/workspace/lingxing/env/venv/baize_tf1/bin:$PATH" CANN_HOME="/workspace/lingxing/0805" bash xfusion_fmk.sh tc_af_tf_pv_net_front_narrow_cut_onnx_0010核对清单
其他信息
已在 smoke 用例
tc_af_tf_pv_net_front_narrow_cut_onnx_0010中验证通过,日志包含result=[Pass]。