跳转到文档内容
版本:v2.9.0

图表清单

本页面编目了仓库中的所有图表:docs/blog/i18n/versioned_docs/static/。它是 #421 中跟踪的图表重绘工作的输入依据。

范围说明: 博客中的活动照片(KubeCon 展位照、主题演讲照片、演讲者照片)被排除在外——它们是照片,而非技术图表。此处仅列出了传达架构、流程或系统行为的图片。


图例

字段取值
FormatSVG、PNG、JPG、JPEG、PlantUML
Statuscurrent - 准确且最新;outdated - 术语或结构已过时;unknown - 不进行可视化检查无法核实内容;screenshot - UI 截图,非图表
Source file可编辑源文件路径(.plantuml.drawio.graffle),或 none
Control/data planeseparated - 明确分离;partial - 混合;n/a - 不适用于此图表类型

1. 核心概念 - 架构与流程图

图片路径Format引用位置Source fileStatusControl/data plane
static/img/docs/common/core-concepts/architect.jpgJPGdocs/core-concepts/architecture.mdi18n/zh/.../core-concepts/architecture.md、所有版本化版本noneoutdated(JPG,非 SVG;无源文件)not separated
static/img/docs/common/core-concepts/device-plugin-flow-en.svgSVGdocs/core-concepts/gpu-virtualization.mddocs/core-concepts/device-plugin-flow.plantumlcurrentn/a(时序图)
static/img/docs/common/core-concepts/device-plugin-flow.svgSVGi18n/zh/.../core-concepts/gpu-virtualization.mdi18n/zh/.../core-concepts/device-plugin-flow.plantumlcurrentn/a(时序图)
static/img/docs/common/core-concepts/hami-architecture-en.svgSVGdocs/core-concepts/gpu-virtualization.mddocs/core-concepts/hami-architecture.plantumlcurrentpartial
static/img/docs/common/core-concepts/hami-architecture.svgSVGi18n/zh/.../core-concepts/gpu-virtualization.mdi18n/zh/.../core-concepts/hami-architecture.plantumlcurrentpartial

备注:

  • architect.jpgdocs/core-concepts/architecture.md 中使用的主要架构概览图。它是 JPG 格式,没有可编辑源文件。必须重绘为 SVG 并附带源文件。
  • 两个基于 PlantUML 的 SVG(device-plugin-flow-*.svghami-architecture-*.svg)有源文件,状态良好。重绘时应检查控制/数据平面的分离情况。

2. 开发者文档 - HAMi 核心设计

图片路径Format引用位置Source fileStatusControl/data plane
static/img/docs/common/developers/hami-core-design/hami-arch.pngPNGdocs/developers/hami-core-design.md、中文对应版本noneunknownnot separated
static/img/docs/common/developers/hami-core-design/hami-core-position.pngPNGdocs/developers/hami-core-design.md、中文对应版本noneunknownnot separated
static/img/docs/common/developers/hami-core-design/sample-nvidia-smi.pngPNGdocs/developers/hami-core-design.md、中文对应版本nonescreenshotn/a

备注:

  • hami-arch.pnghami-core-position.png 没有源文件。两者都必须重新创建为 SVG,并附带可编辑源文件。
  • sample-nvidia-smi.png 是一张终端截图,展示虚拟化 GPU 内存输出。它不是架构图,无需重绘,但如果命令输出发生变化,可能需要更新。

3. 开发者文档 - 调度

图片路径Format引用位置Source fileStatusControl/data plane
static/img/docs/common/developers/scheduling/scheduler-policy-story.pngPNGdocs/developers/scheduling.md、中文对应版本noneunknownnot separated
static/img/docs/common/developers/scheduling/node-scheduler-policy-demo.pngPNGdocs/developers/scheduling.md、中文对应版本noneunknownnot separated
static/img/docs/common/developers/scheduling/gpu-scheduler-policy-demo.pngPNGdocs/developers/scheduling.md、中文对应版本noneunknownnot separated

备注:

  • 所有三个调度图都是 PNG,没有源文件。必须重绘为 SVG。
  • 这些图描述了 Binpack 和 Spread 调度策略逻辑。它们出现在最新的 docs/developers/scheduling.md 及其中文对应版本中。

4. 开发者文档 - 协议

图片路径Format引用位置Source fileStatusControl/data plane
static/img/docs/common/developers/protocol/protocol-register.pngPNGdocs/developers/protocol.md(仅英文)noneunknownnot separated
static/img/docs/common/developers/protocol/device-registration.pngPNGi18n/zh/.../developers/protocol.md(仅中文)noneunknownnot separated
static/img/docs/common/developers/protocol/task-dispatch.pngPNGi18n/zh/.../developers/protocol.md(仅中文)noneunknownnot separated

发现的不一致: 英文版 docs/developers/protocol.md 仅引用了 protocol-register.png。中文版引用了 device-registration.pngtask-dispatch.png——这是两个不同的文件,它们并未出现在英文文档中。英文文档似乎缺少了任务分派图。这一不一致必须在重绘之前解决。


5. 开发者文档 - WebUI 架构

图片路径Format引用位置Source fileStatusControl/data plane
static/img/docs/common/developers/hami-webui-architecture-diagram.svgSVGdocs/developers/hami-webui-development-guide.md、中文对应版本、blog/hami-webui-v1-1-0-release/index.mdnonecurrentnot separated

备注:

  • 此图已经是 SVG,这是正确的。但是,它没有可编辑的源文件(没有 .drawio.graffle)。下次更新时必须向 static/img/src/ 添加源文件。

6. 开发者文档 - 动态 MIG

图片路径Format引用位置Source fileStatusControl/data plane
static/img/docs/en/dynamic-mig/hami-dynamic-mig-structure.pngPNGdocs/developers/dynamic-mig.md、中文对应版本、所有版本化版本noneunknownnot separated
static/img/docs/en/dynamic-mig/hami-dynamic-mig-procedure.pngPNGdocs/developers/dynamic-mig.md、中文对应版本、所有版本化版本noneunknownnot separated

备注:

  • 两张图片均为 PNG,无源文件。被英文和中文当前文档以及所有版本化文档引用。
  • 它们是近期添加的(master 的更新将它们作为新文件包含在内)。它们相对于当前代码库的准确性未知。

7. 开发者文档 - 昆仑芯拓扑

图片路径Format引用位置Source fileStatusControl/data plane
static/img/docs/common/developers/kunlunxin-topology/kunlunxin-filter.pngPNGdocs/developers/kunlunxin-topology.md、中文对应版本noneunknownnot separated

8. 关键特性图

图片路径Format引用位置Source fileStatusControl/data plane
static/img/docs/common/key-features/example.pngPNGdocs/key-features/device-sharing.md、中文对应版本noneunknownn/a
static/img/docs/common/key-features/hard-limit.jpgJPGdocs/key-features/device-resource-isolation.md、中文对应版本noneunknownn/a

仅版本化文档中的关键特性图(当前 docs/ 中未引用):

图片路径Format引用位置Source fileStatus
static/img/docs/common/key-features/features/overall-relationship.pngPNGversioned_docs/version-v2.4.1version-v2.5.0none在当前文档中已孤立
static/img/docs/common/key-features/features/overall-scheduling.pngPNG仅版本化文档none在当前文档中已孤立
static/img/docs/common/key-features/features/overall-rescheduling.pngPNG仅版本化文档none在当前文档中已孤立
static/img/docs/common/key-features/features/cluster-failover.pngPNG仅版本化文档none在当前文档中已孤立
static/img/docs/common/key-features/features/unified-operation.pngPNG仅版本化文档none在当前文档中已孤立
static/img/docs/common/key-features/features/unified-search.pngPNG仅版本化文档none在当前文档中已孤立
static/img/docs/common/key-features/features/unified-access.pngPNG仅版本化文档none在当前文档中已孤立
static/img/docs/common/key-features/features/unified-resourcequota.pngPNG仅版本化文档none在当前文档中已孤立
static/img/docs/common/key-features/features/service-governance.pngPNG仅版本化文档none在当前文档中已孤立

备注:

  • 这 9 张 features/ 图片仅被 versioned_docs/version-v2.4.1/key-features/features.mdversion-v2.5.0/key-features/features.md 引用。它们不出现在任何当前 docs/ 页面中。必须为版本化文档渲染保留,但不是当前文档集中重绘的候选项。
  • hard-limit.jpg 是 JPG。应转换为 PNG 或 SVG。

9. 思维导图

图片路径Format引用位置Source fileStatusControl/data plane
static/img/docs/en/mindmap/hami-vgpu-mind-map-en.pngPNGdocs/developers/mindmap.md、所有版本化版本noneunknownn/a
static/img/docs/zh/mindmap/hami-vgpu-mind-map-zh.pngPNGi18n/zh/.../developers/mindmap.md、所有版本化版本noneunknownn/a

备注:

  • 两张思维导图的标题均为 "HAMi VGPU mind map"。"VGPU" 的范围窄于 HAMi 当前的支持面,后者现在除了 NVIDIA VGPU 之外,还覆盖寒武纪 MLU、海光 DCU、昆仑芯 XPU、沐曦 GPU、天数智芯 Corex 和昇腾 NPU。
  • 两张思维导图都没有可编辑的源文件。更新它们需要完全重绘。
  • 仅凭此清单无法在不进行 PNG 文件可视化检查的情况下评估完整的内容准确性。熟悉当前 HAMi 架构的维护者必须在做出任何更新或移除决定之前进行审查。
  • 在 issue #414 中跟踪重新设计工作。

10. 设备用户指南图

图片路径Format引用位置Source fileStatusControl/data plane
static/img/docs/common/userguide/metax-device/metax-gpu/metax-topology.jpgJPGdocs/userguide/metax-device/metax-gpu/enable-metax-gpu-schedule.md、中文对应版本noneunknownnot separated
static/img/docs/common/userguide/metax-device/metax-gpu/metax-spread.jpgJPGdocs/userguide/metax-device/metax-gpu/enable-metax-gpu-schedule.md、中文对应版本noneunknownnot separated
static/img/docs/common/userguide/metax-device/metax-gpu/metax-binpack.jpgJPGdocs/userguide/metax-device/metax-gpu/enable-metax-gpu-schedule.md、中文对应版本noneunknownnot separated
static/img/docs/common/userguide/kunlunxin-device/kunlunxin-topology.jpgJPGdocs/userguide/kunlunxin-device/enable-kunlunxin-schedule.mddocs/developers/kunlunxin-topology.md、中文对应版本noneunknownnot separated

备注:

  • 所有设备用户指南图都是 JPG。根据 WS4 的要求,必须重绘为 SVG。
  • 沐曦 GPU 图涵盖 PCIe 拓扑、Spread 调度策略和 Binpack 调度策略。
  • 昆仑芯拓扑图展示 P800 服务器上的 NUMA 节点连接。

11. WebUI 截图

这些是 UI 截图,而非架构图或流程图。它们无需重绘,但在 WebUI 更新时可能需要刷新。

图片路径Format引用位置
static/img/docs/en/userguide/webui-overview.pngPNGdocs/userguide/hami-webui-user-guide.mdblog/hami-webui-v1-1-0-release/index.md
static/img/docs/en/userguide/webui-node-list.pngPNG同上
static/img/docs/en/userguide/webui-node-detail.pngPNG同上
static/img/docs/en/userguide/webui-accelerator-list.pngPNG同上
static/img/docs/en/userguide/webui-accelerator-detail.pngPNG同上
static/img/docs/en/userguide/webui-workload-list.pngPNG同上
static/img/docs/en/userguide/webui-workload-detail.pngPNG同上
static/img/docs/zh/userguide/webui-*.png(7 个文件)PNG中文用户指南

12. 贡献者指南图

图片路径Format引用位置Source fileStatusControl/data plane
static/img/docs/common/contributor/github-workflow/git-workflow.pngPNGdocs/contributor/github-workflow.md、中文对应版本noneunknownn/a

13. 首页组件图

图片路径Format引用位置Source fileStatusControl/data plane
static/img/gpu-sharing-diagram.svgSVGsrc/components/BeforeAfterComparison.jsnoneunknownnot separated
static/img/gpu-sharing-diagram-zh.svgSVGsrc/components/BeforeAfterComparison.jsnoneunknownnot separated

备注:

  • 这些 SVG 在首页对比组件中渲染。它们已经是 SVG 格式。缺少源文件(.drawio 或类似文件)。

14. 博客 - 技术图

图片路径Format引用位置Source fileStatus
static/img/blog/flowchart.jpegJPEGblog/2024-12-31-post/index.mdnoneunknown

备注:

  • blog/2024-12-31-post/index.md 还引用了一个托管在 GitHub(raw.githubusercontent.com)上的外部图片。外部图片托管很脆弱,应迁移到 static/img/

清点过程中发现的已知问题

损坏的图片引用

docs/contributor/contribute-docs.md(第 153 行)引用了:

/img/docs/common/architecture/hami-arch.png

目录 static/img/docs/common/architecture/ 不存在。该路径下的文件也不存在。HAMi 核心架构图的正确路径为:

/img/docs/common/developers/hami-core-design/hami-arch.png

这是一个损坏的链接,会导致渲染页面中图片缺失。

协议图不一致(英文版 vs. 中文版)

英文版 docs/developers/protocol.md 仅引用了 protocol-register.png(设备注册)。

中文版 i18n/zh/.../developers/protocol.md 引用了 device-registration.pngtask-dispatch.png 两张图。

英文页面缺少任务分派图。在任一页面被视为完成之前,必须对此进行核对。


总结:需要重绘为 SVG 的图表

#421 中重绘工作的优先级列表:

优先级图片当前格式原因
Highstatic/img/docs/common/core-concepts/architect.jpgJPG主要架构概览;新用户的主要入口
Highstatic/img/docs/common/developers/hami-core-design/hami-arch.pngPNG核心内部设计图,无源文件
Highstatic/img/docs/common/developers/hami-core-design/hami-core-position.pngPNG核心内部设计图,无源文件
Highstatic/img/docs/en/mindmap/hami-vgpu-mind-map-en.pngPNG范围过时(仅 "VGPU"),无源文件 - 见 #414
Highstatic/img/docs/zh/mindmap/hami-vgpu-mind-map-zh.pngPNG同上
Mediumstatic/img/docs/common/developers/scheduling/scheduler-policy-story.pngPNG无源文件
Mediumstatic/img/docs/common/developers/scheduling/node-scheduler-policy-demo.pngPNG无源文件
Mediumstatic/img/docs/common/developers/scheduling/gpu-scheduler-policy-demo.pngPNG无源文件
Mediumstatic/img/docs/common/developers/protocol/protocol-register.pngPNG无源文件;必须先解决英文/中文不一致问题
Mediumstatic/img/docs/common/developers/protocol/device-registration.pngPNG无源文件;仅中文版
Mediumstatic/img/docs/common/developers/protocol/task-dispatch.pngPNG无源文件;仅中文版,英文版缺失
Mediumstatic/img/docs/en/dynamic-mig/hami-dynamic-mig-structure.pngPNG无源文件
Mediumstatic/img/docs/en/dynamic-mig/hami-dynamic-mig-procedure.pngPNG无源文件
Lowstatic/img/docs/common/userguide/metax-device/metax-gpu/metax-topology.jpgJPG设备特定,无源文件
Lowstatic/img/docs/common/userguide/metax-device/metax-gpu/metax-spread.jpgJPG设备特定,无源文件
Lowstatic/img/docs/common/userguide/metax-device/metax-gpu/metax-binpack.jpgJPG设备特定,无源文件
Lowstatic/img/docs/common/userguide/kunlunxin-device/kunlunxin-topology.jpgJPG设备特定,无源文件
Lowstatic/img/docs/common/key-features/hard-limit.jpgJPG应为 PNG 或 SVG
Lowstatic/img/docs/common/developers/kunlunxin-topology/kunlunxin-filter.pngPNG无源文件
Lowstatic/img/docs/common/contributor/github-workflow/git-workflow.pngPNG无源文件
Lowstatic/img/gpu-sharing-diagram.svgSVG已是 SVG;仅缺少源文件
Lowstatic/img/gpu-sharing-diagram-zh.svgSVG已是 SVG;仅缺少源文件
CNCFHAMi 是 CNCF Sandbox 项目