Skip to content

Conversation

@catcor01
Copy link

  • Add a dedicated DecomposeTransformerEncoder pass to expand encoder ops into primitive Torch patterns.
  • Extend shared lowering helpers (ReduceOpVariants.cpp, Utils.h) so the new pass can reuse reduction utilities during decomposition.
  • Register the pass in the Torch Transform pipeline so it runs as part of the decomposition flow.
  • Expand e2e coverage with new transformer encoder tests to validate the lowering path.

Change-Id: I6bcda53569cf7b06df4cb97c624bbf512d8fecb7

- Add a dedicated DecomposeTransformerEncoder pass to expand encoder ops into primitive Torch patterns.
- Extend shared lowering helpers (ReduceOpVariants.cpp, Utils.h)
  so the new pass can reuse reduction utilities during decomposition.
- Register the pass in the Torch Transform pipeline so it runs as part of the decomposition flow.
- Expand e2e coverage with new transformer encoder tests to validate the lowering path.

Signed-off-by: Cathal Corbett <[email protected]>
Change-Id: I6bcda53569cf7b06df4cb97c624bbf512d8fecb7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant