对单算子执行Tiling调测时,自动获取自定义算子安装包中的算子Tiling so文件,执行Tiling运算,并生成Tiling bin文件。
ascendebug tiling --repo-type customize --customize-path ${INSTALL_DIR}/opp/vendors/${vendor_name} --json-file ${op_config_json_file}
命令参数 |
参数含义 |
取值说明 |
---|---|---|
--repo-type |
算子开发场景类型。 |
标准自定义场景固定配置为customize。 |
--customize-path |
自定义算子包的安装目录。 |
根据实际自定义算子的部署环境配置,例如${INSTALL_DIR}/opp/vendors/${vendor_name},其中${INSTALL_DIR}为CANN安装包路径,${vendor_name}为部署自定义算子包时设置的vendor名。 |
--json-file |
算子信息配置文件。 |
具体参见输入配置中的json配置文件。 |