From 5387f344c3d6a729171b9ab7b2bb39b84ae3f5d8 Mon Sep 17 00:00:00 2001 From: Eliwii_Keeya Date: Fri, 14 Feb 2025 05:40:27 +0000 Subject: [PATCH] =?UTF-8?q?=E6=AD=A3=E7=A1=AE=E6=80=A7=EF=BC=9A=20-=20=20?= =?UTF-8?q?=E5=91=BD=E4=BB=A4=E3=80=81=E5=91=BD=E4=BB=A4=E5=8F=82=E6=95=B0?= =?UTF-8?q?=E7=AD=89=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 缺少参数说明 --soc_version https://gitee.com/mindspore/mindspore/blob/master/mindspore/python/mindspore/custom_compiler/setup.py#L41 Signed-off-by: Eliwii_Keeya --- .../model_train/custom_program/operation/op_custom_ascendc.md | 1 + .../model_train/custom_program/operation/op_custom_ascendc.md | 1 + 2 files changed, 2 insertions(+) diff --git a/docs/mindspore/source_en/model_train/custom_program/operation/op_custom_ascendc.md b/docs/mindspore/source_en/model_train/custom_program/operation/op_custom_ascendc.md index 6d9fe8ba8d..0ca9338803 100644 --- a/docs/mindspore/source_en/model_train/custom_program/operation/op_custom_ascendc.md +++ b/docs/mindspore/source_en/model_train/custom_program/operation/op_custom_ascendc.md @@ -62,6 +62,7 @@ If you have already completed the compilation and deployment of the custom opera | `--op_host_path` `-o` | Host-side operator implementation path | None | Yes | | `--op_kernel_path` `-k`| Kernel-side operator implementation path | None | Yes | | `--vendor_name` | Custom operator vendor name | "customize" | No | + | `--soc_version` | Custom the version of the Ascend AI Processor | None | No | | `--ascend_cann_package_path` | CANN software package installation path | None | No | | `--install_path` | Custom operator installation path | None | No | | `-i` | Install the custom operator to the path specified by `--install_path`; if not specified, install to the path designated by the environment variable `ASCEND_OPP_PATH`. | Not set | No | diff --git a/docs/mindspore/source_zh_cn/model_train/custom_program/operation/op_custom_ascendc.md b/docs/mindspore/source_zh_cn/model_train/custom_program/operation/op_custom_ascendc.md index f591b9f461..c1920fc3e8 100644 --- a/docs/mindspore/source_zh_cn/model_train/custom_program/operation/op_custom_ascendc.md +++ b/docs/mindspore/source_zh_cn/model_train/custom_program/operation/op_custom_ascendc.md @@ -63,6 +63,7 @@ kernel侧和host侧,您可按照下述步骤进行自定义算子的编译部 | `--op_host_path` `-o` | host侧算子实现路径 | 无 | 是 | | `--op_kernel_path` `-k`| kernel侧算子实现路径 | 无 | 是 | | `--vendor_name` | 自定义算子厂商名称 | "customize" | 否 | + | `--soc_version` | 自定义昇腾AI处理器的版本 | 无 | 否 | | `--ascend_cann_package_path` | CANN软件包安装路径 | 无 | 否 | | `--install_path` | 自定义算子安装路径 | 无 | 否 | | `-i` | 安装自定义算子到`--install_path`,否则安装到环境变量`ASCEND_OPP_PATH`指定的路径 | 不设置 | 否 | -- Gitee