[Docs] Align documentation with tirx/s_tir namespace split#18953
Merged
MasterJH5574 merged 4 commits intoapache:mainfrom Mar 30, 2026
Merged
[Docs] Align documentation with tirx/s_tir namespace split#18953MasterJH5574 merged 4 commits intoapache:mainfrom
MasterJH5574 merged 4 commits intoapache:mainfrom
Conversation
Member
Author
|
cc @tqchen |
Contributor
There was a problem hiding this comment.
Code Review
This pull request updates the documentation to reflect the architectural split of the tir module into tirx (core IR and lowering) and s_tir (scheduling and tuning). It replaces internal terminology with more descriptive terms like 'TensorIR' and 'TIR' across several architecture and runtime guides. A suggestion was made to clarify the TVMScript entry point description to better explain how users interact with these modules.
MasterJH5574
approved these changes
Mar 30, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Since we've split the old
tirnamespace intotirx(core IR / lowering) ands_tir(schedule primitives / auto-tuning), some outdated documentation need to be updated. The global rename still leaves a few concept-level references using "tirx" in prose (for example, "Relax and tirx programs"). Since "tirx" now refers only to one part of the old TensorIR stack, these higher-level references should use "TensorIR" instead, so they correctly cover bothtirxands_tir.In this PR, we
docs/deep_dive/tensor_ir/index.rstanddocs/arch/index.rst(newtvm/s_tirsection, updatedtvm/tirxsection).docs/arch/index.rstanddocs/arch/pass_infra.rstto use "TensorIR" instead of "tirx" where referring to the concept rather than the namespace.docs/arch/runtimes/vulkan.rstto use "TIR" instead of "tirx" in debug shader description.tvm/dlight→tvm/s_tir/dlightsection path and "tirx schedules" → "s_tir schedules" indocs/arch/index.rst.abstraction.rstandtir_creation.py(labels kept as_tir-abstraction,_tir-creation).tir_transformation.py(kept as "Transformation").exclude-memberschange intirx/tirx.rst(kept original list).