脚本头注释、--soc=SOC 选项说明以及 show_help() 的 Supported SoC models 均写明“当前仅支持: Ascend950”、“Other SoC models ... are not supported in the current version”,但 get_soc_version() 的映射表明确支持 Ascend950、Ascend910B、Ascend910_93、Ascend910、Ascend310P、Ascend310B 六种型号,soc_to_npu_arch() 也支持除 310B 外的五种架构映射。
--soc=SOC
show_help()
get_soc_version()
soc_to_npu_arch()
文档与实现不一致,用户会误以为 910B 等型号不受支持而放弃使用,或误以为 310B 可用(实际 soc_to_npu_arch 会拒绝)。
同步更新头注释与 help 文本,列出代码中真实支持的 SoC 列表,并注明 310B 的受限情况。
感谢您的建议,开发人员处理中。
问题描述
脚本头注释、
--soc=SOC选项说明以及show_help()的 Supported SoC models 均写明“当前仅支持: Ascend950”、“Other SoC models ... are not supported in the current version”,但get_soc_version()的映射表明确支持 Ascend950、Ascend910B、Ascend910_93、Ascend910、Ascend310P、Ascend310B 六种型号,soc_to_npu_arch()也支持除 310B 外的五种架构映射。影响
文档与实现不一致,用户会误以为 910B 等型号不受支持而放弃使用,或误以为 310B 可用(实际 soc_to_npu_arch 会拒绝)。
建议
同步更新头注释与 help 文本,列出代码中真实支持的 SoC 列表,并注明 310B 的受限情况。