Closed
[算子开发][内测体验][AscendC][Documentation|文档反馈]: GetSocVersion.md中 npu-smi 命令的 Markdown 粗斜体标记嵌套错乱 #1506
shutongAdd on  Aug 13Closed at  Aug 17
shutong
Aug 13 Create

Thanks for sending an issue! Please fill in the following template to help quickly solve your problem.

Document Link(文档链接)

https://gitcode.com/cann/asc-devkit/blob/master/docs/zh/api/Utils-API/platform_info/PlatformAscendC/GetSocVersion.md

Issues Section(问题文档片段)

针对Atlas A3 训练系列产品/Atlas A3 推理系列产品,在安装AI处理器的服务器执行npu-smi info -t board -i id -c _chip_id_命令进行查询,获取Chip Name和NPU Name信息,实际配置值为Chip Name_NPU Name。例如Chip Name取值为Ascendxxx,NPU Name取值为1234,实际配置值为Ascendxxx_1234。其中:

Existing Issues(存在的问题)

粗体/斜体标记不配对、交错嵌套:
**npu-smi info -t board -i ** 先开/关了一个粗体,后面紧跟 id 斜体,然后 -c ** 又开了一个没有闭合的粗体,最后以 chip_id 的斜体标记结尾。
第 50 行 **npu-smi info -t board -i **id 同样是把粗体、斜体、下划线参数 id 混在一起,Markdown 解析器会把参数名 id、后续的"命令进行查询"整段拖进粗体/斜体,渲染结果支离破碎。
id、chip_id 这两个用户实际要替换的占位参数被写进了斜体标记里,很容易让用户误以为 id 是语法的一部分。

likedislike
CchenyiyuanCollaborators
Aug 14 Assign m0_56712298 as responsible person
chenyiyuanCollaborators
Aug 14 Comments:

感谢你的反馈,该问题预计将于下周完成修复,会采用如下npu-smi info -t board -i -c <chip_id>`格式进行区分

likedislike
m0_56712298m0_56712298Collaborators
Aug 14 Associated pull request
CANN-robotCANN-robotCollaborators
Aug 17 Close issue
CANN-robotCANN-robotCollaborators
Aug 17 Added label: resolved
MmunanhwCollaborators
Sep 11 Associated pull request