NVIDIA/Fuser
Voir sur GitHubAdd more features to the pre-segmentation pass to move take_along_axis ahead of certain unary ops
Open
#4 491 ouverte le 21 mai 2025
New Opsgood first issue
Métriques du dépôt
- Stars
- (392 stars)
- Métriques de merge PR
- (Métriques PR en attente)
Description
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_axisop. We should extend our implementation to support the case where there are multipletake_along_axisops. - We move a
take_along_axisahead of asqueezeop. 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 multipleunsqueezeops to theindexTvof thetake_along_axis.