NVIDIA/Fuser

Add more features to the pre-segmentation pass to move take_along_axis ahead of certain unary ops

Open

#4,491 建立於 2025年5月21日

在 GitHub 查看
 (0 留言) (0 反應) (1 負責人)C++ (80 fork)github user discovery
New Opsgood first issue

倉庫指標

Star
 (392 star)
PR 合併指標
 (PR 指標待抓取)

描述

The PR add a pre-segmentation pass that moved a take_along_axis operator ahead of certain unary pointwise operators such as castOp and the squeeze op.

The implementation had certain limitations. We should extend the current implementation to remove these.

  • We only consider fusions with a single take_along_axis op. We should extend our implementation to support the case where there are multiple take_along_axis ops.
  • We move a take_along_axis ahead of a squeeze op. Currently we do so only if a single dimension is being squeezed. We should remove this limitation. This will mean that we have to add multiple unsqueeze ops to the indexTv of the take_along_axis.

貢獻者指南