Skip to content

[Docs] Clean up architecture docs: remove duplicates, fix stale content#19399

Merged
MasterJH5574 merged 5 commits into
apache:mainfrom
tlopex:doc225
Apr 13, 2026
Merged

[Docs] Clean up architecture docs: remove duplicates, fix stale content#19399
MasterJH5574 merged 5 commits into
apache:mainfrom
tlopex:doc225

Conversation

@tlopex

@tlopex tlopex commented Apr 13, 2026

Copy link
Copy Markdown
Member
  • Remove duplicate tvm/s_tir/meta_schedule and tvm/s_tir/dlight sections from arch/index.rst (already covered in the tvm/s_tir section with cross-reference to TensorIR Deep Dive)
  • Remove duplicate device_target_interactions toctree entry (was listed under both tvm/runtime and tvm/target; keep only under tvm/target)
  • Remove duplicate CUDA pipeline listing in arch/fusion.rst "How Backends Use Fusion" section (already shown in Overview); add cross-reference to BYOC doc
  • Remove duplicated intro sentences in arch/relax_vm.rst that were identical to arch/index.rst
  • Fix R.call_dpsR.call_dps_packed (the former does not exist)
  • Replace outdated GraphExecutor example (set_input/run/get_output) with Relax VM example (GraphExecutor has been removed from the codebase)
  • Replace broken external mlc.ai image link (returns 404) with local image in deep_dive/relax/learning.rst
  • Fix stale use pass instrument link in arch/pass_infra.rst that pointed to an unrelated page

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Comment thread docs/arch/index.rst Outdated
Comment thread docs/arch/pass_infra.rst
@MasterJH5574 MasterJH5574 merged commit e0babea into apache:main Apr 13, 2026
9 checks passed
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