Skip to content

📝 修改文档 -> 海光DCU全系列已支持HAMi#436

Open
kinglong08 wants to merge 5 commits into
Project-HAMi:masterfrom
kinglong08:master
Open

📝 修改文档 -> 海光DCU全系列已支持HAMi#436
kinglong08 wants to merge 5 commits into
Project-HAMi:masterfrom
kinglong08:master

Conversation

@kinglong08

@kinglong08 kinglong08 commented Jun 10, 2026

Copy link
Copy Markdown

修改文档 -> 海光DCU全系列加速卡均已支持HAMi

Summary by CodeRabbit

  • Documentation
    • Updated device support tables and FAQs to broaden Hygon/DCU (海光/Hygon) model support from specific listings (e.g., Z100/Z100L/K100-AI) to All / 全部 / 全系列 across English, Chinese, and versioned docs.
    • Kept memory isolation, core isolation, and multi-card support values unchanged.
    • Refreshed table formatting/alignment in a few places for improved readability.

Signed-off-by: kinglong <daijl@sugon.com>
@hami-robot

hami-robot Bot commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: kinglong08
Once this PR has been reviewed and has the lgtm label, please assign archlitchi for approval. For more information see the Kubernetes Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@hami-robot hami-robot Bot requested review from rootsongjc and windsonsea June 10, 2026 06:58
@hami-robot hami-robot Bot added the size/L label Jun 10, 2026
@netlify

netlify Bot commented Jun 10, 2026

Copy link
Copy Markdown

Deploy Preview for project-hami ready!

Name Link
🔨 Latest commit 93eb549
🔍 Latest deploy log https://app.netlify.com/projects/project-hami/deploys/6a3e3bd7ff44380009c8b791
😎 Deploy Preview https://deploy-preview-436--project-hami.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@windsonsea windsonsea left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

oh, could you only modify the 海光 related, and leave other unchanged?

@kinglong08

Copy link
Copy Markdown
Author

oh, could you only modify the 海光 related, and leave other unchanged?

yes ~

@mesutoezdil

Copy link
Copy Markdown
Contributor

@kinglong08 there are some conflicts.

kinglong08 and others added 2 commits June 26, 2026 16:19
@coderabbitai

coderabbitai Bot commented Jun 26, 2026

Copy link
Copy Markdown

Review Change Stack

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 5c5d87ac-f1da-4ae0-8448-c04ccb7d1bdc

📥 Commits

Reviewing files that changed from the base of the PR and between eca49a6 and 93eb549.

📒 Files selected for processing (2)
  • docs/faq/faq.md
  • i18n/zh/docusaurus-plugin-content-docs/current/faq/faq.md
✅ Files skipped from review due to trivial changes (1)
  • docs/faq/faq.md

📝 Walkthrough

Walkthrough

The docs update Hygon/DCU support references from specific models to All/全部 across the roadmap, device-support pages, and FAQ tables in current, translated, and versioned copies.

Changes

Device support documentation

Layer / File(s) Summary
Device support tables
docs/contributor/roadmap.md, docs/userguide/device-supported.md, i18n/zh/docusaurus-plugin-content-docs/current/userguide/device-supported.md, versioned_docs/version-v*/userguide/device-supported.md, i18n/zh/docusaurus-plugin-content-docs/version-v*/userguide/device-supported.md
Device support tables and the roadmap matrix change Hygon/DCU model entries from specific models to All/全部, with the other support fields unchanged.
Vendor/model FAQ tables
docs/faq/faq.md, i18n/zh/docusaurus-plugin-content-docs/current/faq/faq.md, versioned_docs/version-v*/faq/faq.md, i18n/zh/docusaurus-plugin-content-docs/version-v*/faq/faq.md
FAQ vendor tables change the Hygon/海光 GPU model entry from specific models to All/全部, while the surrounding granularity and multi-GPU text stays the same.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~12 minutes

Poem

🐰 Hop, hop — the tables gleam today,
Specific models hop away.
All/全部 now fill the page,
In English, 中文, and every stage.
Carrots for docs, and a happy sway!

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed 标题准确概括了文档更新的核心内容:海光 DCU 全系列已支持 HAMi。
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Comment @coderabbitai help to get the list of available commands.

Signed-off-by: kinglong <daijl@sugon.com>

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@versioned_docs/version-v2.4.1/userguide/device-supported.md`:
- Line 7: The table header has a typo in the device support docs: “manufactor”
should be normalized to “Manufacturer”. Update the header in this table and make
the same spelling change in the other versioned copies of the same table so the
docs remain consistent across versions, using the table markup in the
device-supported documentation as the reference point.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 771703d1-87af-4d70-9fff-b292cda4c9fb

📥 Commits

Reviewing files that changed from the base of the PR and between 8bc08e7 and 6e51588.

📒 Files selected for processing (24)
  • docs/contributor/roadmap.md
  • docs/faq/faq.md
  • docs/userguide/device-supported.md
  • i18n/zh/docusaurus-plugin-content-docs/current/faq/faq.md
  • i18n/zh/docusaurus-plugin-content-docs/current/userguide/device-supported.md
  • i18n/zh/docusaurus-plugin-content-docs/version-v1.3.0/userguide/device-supported.md
  • i18n/zh/docusaurus-plugin-content-docs/version-v2.5.0/userguide/device-supported.md
  • i18n/zh/docusaurus-plugin-content-docs/version-v2.5.1/userguide/device-supported.md
  • i18n/zh/docusaurus-plugin-content-docs/version-v2.6.0/faq/faq.md
  • i18n/zh/docusaurus-plugin-content-docs/version-v2.6.0/userguide/device-supported.md
  • i18n/zh/docusaurus-plugin-content-docs/version-v2.7.0/faq/faq.md
  • i18n/zh/docusaurus-plugin-content-docs/version-v2.7.0/userguide/device-supported.md
  • i18n/zh/docusaurus-plugin-content-docs/version-v2.8.0/faq/faq.md
  • i18n/zh/docusaurus-plugin-content-docs/version-v2.8.0/userguide/device-supported.md
  • versioned_docs/version-v1.3.0/userguide/device-supported.md
  • versioned_docs/version-v2.4.1/userguide/device-supported.md
  • versioned_docs/version-v2.5.0/userguide/device-supported.md
  • versioned_docs/version-v2.5.1/userguide/device-supported.md
  • versioned_docs/version-v2.6.0/faq/faq.md
  • versioned_docs/version-v2.6.0/userguide/device-supported.md
  • versioned_docs/version-v2.7.0/faq/faq.md
  • versioned_docs/version-v2.7.0/userguide/device-supported.md
  • versioned_docs/version-v2.8.0/faq/faq.md
  • versioned_docs/version-v2.8.0/userguide/device-supported.md

Comment thread versioned_docs/version-v2.4.1/userguide/device-supported.md
Signed-off-by: kinglong <daijl@sugon.com>

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@i18n/zh/docusaurus-plugin-content-docs/current/faq/faq.md`:
- Around line 184-192: Revert the unrelated NVIDIA MIG comparison table changes
in the FAQ doc so this Hygon/DCU-only section stays focused on the intended
scope. Keep the existing HAMi vGPU content unchanged and remove the edits to the
MIG rows in the table within the FAQ markdown content.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 5c5d87ac-f1da-4ae0-8448-c04ccb7d1bdc

📥 Commits

Reviewing files that changed from the base of the PR and between eca49a6 and 93eb549.

📒 Files selected for processing (2)
  • docs/faq/faq.md
  • i18n/zh/docusaurus-plugin-content-docs/current/faq/faq.md
✅ Files skipped from review due to trivial changes (1)
  • docs/faq/faq.md

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Caution

Inline review comments failed to post. This is likely due to GitHub's internal server error or limits when posting large numbers of comments. If you are seeing this consistently it is likely a permissions issue. Please check "Moderation" -> "Code review limits" under your organization settings.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@i18n/zh/docusaurus-plugin-content-docs/current/faq/faq.md`:
- Around line 184-192: Revert the unrelated NVIDIA MIG comparison table changes
in the FAQ doc so this Hygon/DCU-only section stays focused on the intended
scope. Keep the existing HAMi vGPU content unchanged and remove the edits to the
MIG rows in the table within the FAQ markdown content.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 5c5d87ac-f1da-4ae0-8448-c04ccb7d1bdc

📥 Commits

Reviewing files that changed from the base of the PR and between eca49a6 and 93eb549.

📒 Files selected for processing (2)
  • docs/faq/faq.md
  • i18n/zh/docusaurus-plugin-content-docs/current/faq/faq.md
✅ Files skipped from review due to trivial changes (1)
  • docs/faq/faq.md
🛑 Comments failed to post (1)
i18n/zh/docusaurus-plugin-content-docs/current/faq/faq.md (1)

184-192: 📐 Maintainability & Code Quality | 🟡 Minor | ⚡ Quick win

Remove the unrelated MIG-table edit.

This hunk changes the NVIDIA MIG comparison table, which is outside the Hygon/DCU-only scope called out in the PR objectives. Please revert it unless this was meant to be a separate docs change.

Suggested revert
-| 硬件要求       | 任意 NVIDIA GPU,驱动 v440+   | Ampere 及更新架构(A100、H100、A30、H200) |
+| 硬件要求       | 任意 NVIDIA GPU,驱动 v440+   | Ampere 及更新架构(A100、H100、A30) |
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

| 属性           | HAMi vGPU                     | NVIDIA MIG                                 |
| -------------- | ----------------------------- | ------------------------------------------ |
| 硬件要求       | 任意 NVIDIA GPU,驱动 v440+   | Ampere 及更新架构(A100、H100、A30)       |
| 隔离机制       | 用户态库拦截                  | 硬件引擎分区                               |
| 显存限制       | 软限制(CUDA API 级别)       | 硬限制(硬件强制)                         |
| 算力限制       | 软限制(libvgpu.so 内部节流) | 硬限制(独立 SM 分区)                     |
| 分区粒度       | 1 MiB 显存,1% 算力           | 固定 MIG 配置(如 1g.10gb)                |
| 动态重配置     | 支持,无需排空节点            | 需要重新配置 MIG 配置文件                  |
| 多租户噪声隔离 | 尽力而为                      | 强隔离                                     |
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@i18n/zh/docusaurus-plugin-content-docs/current/faq/faq.md` around lines 184 -
192, Revert the unrelated NVIDIA MIG comparison table changes in the FAQ doc so
this Hygon/DCU-only section stays focused on the intended scope. Keep the
existing HAMi vGPU content unchanged and remove the edits to the MIG rows in the
table within the FAQ markdown content.

@kinglong08 kinglong08 requested a review from mesutoezdil June 26, 2026 09:03
@mesutoezdil

Copy link
Copy Markdown
Contributor

@kinglong08 CodeRabbit flagged a typo in the table header across multiple versioned docs:

manufactor should be Manufacturer in:

  • versioned_docs/version-v2.4.1/userguide/device-supported.md
  • versioned_docs/version-v2.5.0/userguide/device-supported.md
  • versioned_docs/version-v1.3.0/userguide/device-supported.md
  • i18n/zh/docusaurus-plugin-content-docs/version-v1.3.0/userguide/device-supported.md

Please fix before merge.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants