Skip to content

Conversation

@Hzfengsy
Copy link
Member

This PR moves the TIR backend code to the gpu_generic backend directory structure. The main changes include:

  • Relocating TIR implementation files from relax/backend_tir to relax/backend/gpu_generic/tir
  • Updating import paths in dispatch_sampling.py and dispatch_sort_scan.py
  • Removing unused files (pattern.py, cutlass.py and related tests)

This PR moves the TIR backend code to the gpu_generic backend directory structure.
The main changes include:
- Relocating TIR implementation files from relax/backend_tir to relax/backend/gpu_generic/tir
- Updating import paths in dispatch_sampling.py and dispatch_sort_scan.py
- Removing unused files (pattern.py, cutlass.py and related tests)
@Hzfengsy
Copy link
Member Author

I removed tir_cutlass backend as there is no code that uses it. Please let me know if it is still useful. cc @spectrometerHBH

@tqchen
Copy link
Member

tqchen commented Mar 15, 2025

thanks @Hzfengsy , given gpu_generic likely already uses tir by default, we don't need the tir subnamespace here, otherwise LGTM

@tqchen tqchen merged commit 046c1ba into apache:main Mar 16, 2025
14 checks passed
ShiboXing pushed a commit to ShiboXing/tvm that referenced this pull request Aug 10, 2025
* [Relax] Move TIR backend to gpu_generic

This PR moves the TIR backend code to the gpu_generic backend directory structure.
The main changes include:
- Relocating TIR implementation files from relax/backend_tir to relax/backend/gpu_generic/tir
- Updating import paths in dispatch_sampling.py and dispatch_sort_scan.py
- Removing unused files (pattern.py, cutlass.py and related tests)

* remove tir folder
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.

2 participants