[Docs] Clean up architecture docs: remove duplicates, fix stale content#19399
Merged
Conversation
Contributor
There was a problem hiding this comment.
Code Review
This pull request updates the TVM Relax documentation across several files to reflect current practices and improve clarity. Key changes include updating the end-to-end model execution example to use the Relax Virtual Machine, correcting references to low-level function calls, and cleaning up outdated sections and links. The review feedback suggests appending .numpy() to the VM execution result for consistency with previous examples and adding a missing link definition in the pass infrastructure documentation to prevent broken references.
MasterJH5574
approved these changes
Apr 13, 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.
tvm/s_tir/meta_scheduleandtvm/s_tir/dlightsections fromarch/index.rst(already covered in thetvm/s_tirsection with cross-reference to TensorIR Deep Dive)device_target_interactionstoctree entry (was listed under bothtvm/runtimeandtvm/target; keep only undertvm/target)arch/fusion.rst"How Backends Use Fusion" section (already shown in Overview); add cross-reference to BYOC docarch/relax_vm.rstthat were identical toarch/index.rstR.call_dps→R.call_dps_packed(the former does not exist)set_input/run/get_output) with Relax VM example (GraphExecutor has been removed from the codebase)mlc.aiimage link (returns 404) with local image indeep_dive/relax/learning.rstuse pass instrumentlink inarch/pass_infra.rstthat pointed to an unrelated page