Skip to content

Conversation

@LxinJ05
Copy link
Contributor

@LxinJ05 LxinJ05 commented Oct 31, 2025

补充文档翻译,站内跳转链接

GraceXiii and others added 30 commits September 30, 2025 15:55
修改链接
修改链接
修改链接
…docs/03-deep-dive/01-design-and-architecture/01-runtime/index.md
…o docs/03-deep-dive/01-design-and-architecture/02-introduction_to_module_serialization.md
…deep-dive/01-design-and-architecture/03-device_target_interactions.md
Updated the note sections for clarity and organization.
@LxinJ05 LxinJ05 requested a review from a team as a code owner October 31, 2025 07:27
@sparanoid sparanoid requested a review from Copilot November 2, 2025 04:36
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR updates documentation translations and internal navigation links from the original Apache TVM documentation URLs (tvm.apache.org) to the localized documentation site (tvm.hyper.ai). The changes ensure that Chinese documentation links point to the correct translated pages on the hyper.ai domain.

Key Changes

  • Updated all internal documentation links from tvm.apache.org to tvm.hyper.ai
  • Added Chinese URL-encoded anchor links for section navigation
  • Updated API reference links to point to the localized versions

Reviewed Changes

Copilot reviewed 57 out of 66 changed files in this pull request and generated 13 comments.

File Description
docs/05-about/01-contribute/index.md Updated contributor guide links to point to hyper.ai domain with Chinese anchors
docs/05-about/01-contribute/*.md Updated internal links in contribution documentation files
docs/04-api-reference/01-python-api/*.md Updated API reference links throughout Python API documentation
docs/03-deep-dive/03-relax/03-relax-creation.md Updated tutorial navigation links
Comments suppressed due to low confidence (1)

docs/04-api-reference/01-python-api/index.md:1

  • This line was removed but should have been updated to point to the hyper.ai domain like the other runtime links. The tvm.runtime.ndarray documentation link is missing.
---

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

* [通用开发流程](https://tvm.hyper.ai/docs/about/contribute/TVM-Community-community#%E9%80%9A%E7%94%A8%E5%BC%80%E5%8F%91%E6%B5%81%E7%A8%8B)
* [战略决策流程](https://tvm.hyper.ai/docs/about/contribute/TVM-Community-community#%E6%88%98%E7%95%A5%E5%86%B3%E7%AD%96%E6%B5%81%E7%A8%8B)
* [提交者](https://tvm.hyper.ai/docs/about/contribute/TVM-Community-community#%E6%8F%90%E4%BA%A4%E8%80%85)
* [审阅者](https://tvm.hyper.ai/docs/about/contribute/TVM-Community-community#%E6%8F%90%E4%BA%A4%E8%80%85)
Copy link

Copilot AI Nov 2, 2025

Choose a reason for hiding this comment

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

The anchor link for '审阅者' (reviewers) points to the same section as '提交者' (committers). This appears to be a copy-paste error and should point to a reviewers-specific anchor.

Suggested change
* [审阅者](https://tvm.hyper.ai/docs/about/contribute/TVM-Community-community#%E6%8F%90%E4%BA%A4%E8%80%85)
* [审阅者](https://tvm.hyper.ai/docs/about/contribute/TVM-Community-community#%E5%AE%A1%E9%98%85%E8%80%85)

Copilot uses AI. Check for mistakes.
* [指南](https://tvm.hyper.ai/docs/about/contribute/Submit_a_pull_request#%E6%8C%87%E5%8D%97)
* [提交信息指南](https://tvm.hyper.ai/docs/about/contribute/Submit_a_pull_request#%E6%8F%90%E4%BA%A4%E4%BF%A1%E6%81%AF%E6%8C%87%E5%8D%97)
* [持续集成(CI)环境](https://tvm.hyper.ai/docs/about/contribute/Submit_a_pull_request#ci-%E7%8E%AF%E5%A2%83)
* [测试](https://tvm.hyper.ai/docs/about/contribute/Submit_a_pull_request#ci-%E7%8E%AF%E5%A2%83)
Copy link

Copilot AI Nov 2, 2025

Choose a reason for hiding this comment

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

The anchor link for '测试' (Testing) points to 'ci-%E7%8E%AF%E5%A2%83' (CI Environment) which is the same as line 28. The testing section should have its own unique anchor.

Suggested change
* [测试](https://tvm.hyper.ai/docs/about/contribute/Submit_a_pull_request#ci-%E7%8E%AF%E5%A2%83)
* [测试](https://tvm.hyper.ai/docs/about/contribute/Submit_a_pull_request#%E6%B5%8B%E8%AF%95)

Copilot uses AI. Check for mistakes.
* [仔细阅读代码](https://tvm.hyper.ai/docs/about/contribute/code_review#%E8%AE%A4%E7%9C%9F%E9%98%85%E8%AF%BB%E4%BB%A3%E7%A0%81)
* [保持尊重](https://tvm.hyper.ai/docs/about/contribute/code_review#%E4%BF%9D%E6%8C%81%E5%B0%8A%E9%87%8D)
* [代码质量考量因素](https://tvm.hyper.ai/docs/about/contribute/code_review#%E4%BB%A3%E7%A0%81%E8%B4%A8%E9%87%8F%E8%80%83%E9%87%8F%E5%9B%A0%E7%B4%A0)
* [达成共识](https://tvm.hyper.ai/docs/about/contribute/code_review#%E4%BB%A3%E7%A0%81%E8%B4%A8%E9%87%8F%E8%80%83%E9%87%8F%E5%9B%A0%E7%B4%A0)
Copy link

Copilot AI Nov 2, 2025

Choose a reason for hiding this comment

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

The anchor link for '达成共识' (Consensus Building) incorrectly points to '%E4%BB%A3%E7%A0%81%E8%B4%A8%E9%87%8F%E8%80%83%E9%87%8F%E5%9B%A0%E7%B4%A0' (Code Quality Considerations) which is the same as line 35. This should point to a consensus-specific anchor.

Suggested change
* [达成共识](https://tvm.hyper.ai/docs/about/contribute/code_review#%E4%BB%A3%E7%A0%81%E8%B4%A8%E9%87%8F%E8%80%83%E9%87%8F%E5%9B%A0%E7%B4%A0)
* [达成共识](https://tvm.hyper.ai/docs/about/contribute/code_review#%E8%BE%BE%E6%88%90%E5%85%B1%E8%AF%86)

Copilot uses AI. Check for mistakes.
* [如何解决与 main 分支冲突](https://tvm.hyper.ai/docs/about/contribute/Git_Usage_Tips#%E5%A6%82%E4%BD%95%E8%A7%A3%E5%86%B3%E4%B8%8Emain%E5%88%86%E6%94%AF%E7%9A%84%E5%86%B2%E7%AA%81)
* [如何合并多个提交](https://tvm.hyper.ai/docs/about/contribute/Git_Usage_Tips#%E5%A6%82%E4%BD%95%E5%90%88%E5%B9%B6%E5%A4%9A%E4%B8%AA%E6%8F%90%E4%BA%A4)
* [重置到最新的 main 分支](https://tvm.hyper.ai/docs/about/contribute/Git_Usage_Tips#%E9%87%8D%E7%BD%AE%E5%88%B0%E6%9C%80%E6%96%B0%E7%9A%84-main-%E5%88%86%E6%94%AF)
* [恢复重置前的提交](https://tvm.hyper.ai/docs/about/contribute/Git_Usage_Tips#%E9%87%8D%E7%BD%AE%E5%88%B0%E6%9C%80%E6%96%B0%E7%9A%84-main-%E5%88%86%E6%94%AF)
Copy link

Copilot AI Nov 2, 2025

Choose a reason for hiding this comment

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

The anchor link for '恢复重置前的提交' (Recover previous commit after reset) points to the same anchor as '重置到最新的 main 分支' on line 58. These should have distinct anchors.

Suggested change
* [恢复重置前的提交](https://tvm.hyper.ai/docs/about/contribute/Git_Usage_Tips#%E9%87%8D%E7%BD%AE%E5%88%B0%E6%9C%80%E6%96%B0%E7%9A%84-main-%E5%88%86%E6%94%AF)
* [恢复重置前的提交](https://tvm.hyper.ai/docs/about/contribute/Git_Usage_Tips#%E6%81%A2%E5%A4%8D%E9%87%8D%E7%BD%AE%E5%89%8D%E7%9A%84%E6%8F%90%E4%BA%A4)

Copilot uses AI. Check for mistakes.
* [仅将最新的 k 个提交到 main 分支](https://tvm.hyper.ai/docs/about/contribute/Git_Usage_Tips#%E4%BB%85%E5%B0%86%E6%9C%80%E6%96%B0%E7%9A%84-k-%E4%B8%AA%E6%8F%90%E4%BA%A4%E5%88%B0-main-%E5%88%86%E6%94%AF)
* [强制推送的后果](https://tvm.hyper.ai/docs/about/contribute/Git_Usage_Tips#%E5%BC%BA%E5%88%B6%E6%8E%A8%E9%80%81%E7%9A%84%E5%90%8E%E6%9E%9C)
* [使用 TVM 的 CI](https://tvm.hyper.ai/docs/about/contribute/Using_TVM's_Ci)
* [贡献者指南](https://tvm.hyper.ai/docs/about/contribute/Git_Usage_Tips#%E5%BC%BA%E5%88%B6%E6%8E%A8%E9%80%81%E7%9A%84%E5%90%8E%E6%9E%9C)
Copy link

Copilot AI Nov 2, 2025

Choose a reason for hiding this comment

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

The anchor link for '贡献者指南' (Contributors Guide) under 'Using TVM's CI' section points to a Git Usage Tips anchor about force push consequences. This should point to a contributor-specific anchor in the CI documentation.

Suggested change
* [贡献者指南](https://tvm.hyper.ai/docs/about/contribute/Git_Usage_Tips#%E5%BC%BA%E5%88%B6%E6%8E%A8%E9%80%81%E7%9A%84%E5%90%8E%E6%9E%9C)
* [贡献者指南](https://tvm.hyper.ai/docs/about/contribute/Using_TVM's_Ci#%E8%B4%A1%E7%8C%AE%E8%80%85%E6%8C%87%E5%8D%97)

Copilot uses AI. Check for mistakes.
#### 复现失败

大多数 TVM Python 测试使用 `pytest` 运行,可按[测试指南](https://tvm.apache.org/docs/contribute/pull_request.html#pr-testing)操作复现。
大多数 TVM Python 测试使用 `pytest` 运行,可按[测试指南](https://tvm.hyper.ai/docs/about/contribute/Using_TVM's_Ci#%E6%B7%BB%E5%8A%A0%E6%96%B0-docker-%E9%95%9C%E5%83%8F)操作复现。
Copy link

Copilot AI Nov 2, 2025

Choose a reason for hiding this comment

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

The anchor link for '测试指南' (Testing Guide) points to '%E6%B7%BB%E5%8A%A0%E6%96%B0-docker-%E9%95%9C%E5%83%8F' (Adding new Docker image), which is incorrect. It should point to a testing-related anchor.

Copilot uses AI. Check for mistakes.
### C++(本地)

运行 C++ 测试需要安装 gtest,请参考 [启用 C++ 测试](https://tvm.apache.org/docs/install/from_source.html#install-from-source-cpp-tests) 中的说明。
运行 C++ 测试需要安装 gtest,请参考 [启用 C++ 测试](https://docs.github.com/zh/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-a-pull-request) 中的说明。
Copy link

Copilot AI Nov 2, 2025

Choose a reason for hiding this comment

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

The link for '启用 C++ 测试' (Enabling C++ tests) incorrectly points to GitHub's pull request creation documentation instead of TVM's C++ testing documentation.

Suggested change
运行 C++ 测试需要安装 gtest,请参考 [启用 C++ 测试](https://docs.github.com/zh/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-a-pull-request) 中的说明。
运行 C++ 测试需要安装 gtest,请参考 [启用 C++ 测试](#c本地) 中的说明。

Copilot uses AI. Check for mistakes.
* [tvm.error](https://tvm.hyper.ai/docs/api-reference/python-api/tvm-error)
* [tvm.ir](https://tvm.hyper.ai/docs/api-reference/python-api/tvm-ir)
* [tvm.instrument](https://tvm.hyper.ai/docs/api-reference/python-api/tvm-instrument)
* [tvm.transform](https://tvm.hyper.ai/docs/api-reference/python-api/tvm-instrument)
Copy link

Copilot AI Nov 2, 2025

Choose a reason for hiding this comment

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

The link for 'tvm.transform' incorrectly points to 'tvm-instrument' instead of 'tvm-transform'.

Suggested change
* [tvm.transform](https://tvm.hyper.ai/docs/api-reference/python-api/tvm-instrument)
* [tvm.transform](https://tvm.hyper.ai/docs/api-reference/python-api/tvm-transform)

Copilot uses AI. Check for mistakes.
* **enable_logging***布尔值***** 启用/禁用日志记录的标志。默认情况下,日志记录处于禁用状态。
* **返回:sess:** 连接的会话。
* **返回类型:**[RPCSession](https://tvm.apache.org/docs/reference/api/python/rpc.html#tvm.rpc.RPCSession)
* **返回类型:**[RPCSession](hhttps://tvm.hyper.ai/docs/api-reference/python-api/tvm-rpc#class-tvmrpcrpcsessionsess)
Copy link

Copilot AI Nov 2, 2025

Choose a reason for hiding this comment

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

URL has a typo with double 'h' at the beginning: 'hhttps' should be 'https'.

Suggested change
* **返回类型:**[RPCSession](hhttps://tvm.hyper.ai/docs/api-reference/python-api/tvm-rpc#class-tvmrpcrpcsessionsess)
* **返回类型:**[RPCSession](https://tvm.hyper.ai/docs/api-reference/python-api/tvm-rpc#class-tvmrpcrpcsessionsess)

Copilot uses AI. Check for mistakes.
mod = bb.get()
```
### *static* current() → [BlockBuilder](https://tvm.apache.org/docs/reference/api/python/relax/block_builder.html#tvm.relax.block_builder.BlockBuilder) | [None](https://docs.python.org/3/library/constants.html#None)
### *static* current() → [BlockBuilder](https://tvm..org/docs/reference/api/python/relax/block_builder.html#tvm.relax.block_builder.BlockBuilder) | [None](https://docs.python.org/3/library/constants.html#None)
Copy link

Copilot AI Nov 2, 2025

Choose a reason for hiding this comment

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

URL has a typo with double periods: 'tvm..org' should be 'tvm.hyper.ai'. Also, this link wasn't updated to the hyper.ai domain.

Suggested change
### *static* current() → [BlockBuilder](https://tvm..org/docs/reference/api/python/relax/block_builder.html#tvm.relax.block_builder.BlockBuilder) | [None](https://docs.python.org/3/library/constants.html#None)
### *static* current() → [BlockBuilder](https://tvm.hyper.ai/docs/api-reference/python-api/tvm-relax_block_builder#class-tvmrelaxblock_builderblockbuildermodirmodule-nonemod) | [None](https://docs.python.org/3/library/constants.html#None)

Copilot uses AI. Check for mistakes.
@LxinJ05 LxinJ05 closed this Nov 3, 2025
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.

3 participants