已合并
【PR】:ge一月份需求合入(包含整改dflow ST、自定义算子执行Context等) #223
嵇锴创建于 1月27日
【PR】:ge一月份需求合入(包含整改dflow ST、自定义算子执行Context等) #223
已合并
嵇锴创建于 1月27日
嵇锴
嵇锴成员
1月27日

Pull Request

描述

ge一月份需求合入:
1、llt测试用例相关重复stub文件清理
2、Triton入图parser解析dlopen的handle关闭

  • Triton入图parser解析dlopen的handle关闭
  • 补充tensorflow 中其他的入参类型
  • 优化parser 解析的的代码

3、UserGraphsManager suppport gert::Tensor

  • UserGraphsManager及JitExecutor等RunGraphAsync入参由ge::Tensor改为gert::Tensor
  • 老的兼容接口Session::RunGraph/RunGraphAsync在ge_api.cc 将ge::Tensor转换为gert::Tensor,然后调用InnerSession的接口。

4、整改dflow ST中的HELPER_RES_FILE_PATH

  • HELPER_RES_FILE_PATH配置文件已经废弃,需要删除并整改用例使用RESOURCE_CONFIG_PATH。
  • rtGetIsHeterogenous接口已经废弃,需要删除并整改用例使用RESOURCE_CONFIG_PATH环境变量。

5、注册ge错误码

  • 从error_code.json文件中拆分出GE错误码,通过ErrorManager模块的对外接口REG_FORMAT_ERROR_MSG宏完成GE错误码的注册

6、使能acl目录覆盖率拦截项
7、triton入图parser解析优化
8、告警规则处理
9、refactor parser/common/tuple.h
10、fix UserGraphControl SetCompiledFlag/SetCompiledFlag
11、修复Sample问题

  • Include stdint and stddef for base mdl
  • move CheckRunGraphMode to ge_api_v2.cc

12、自定义算子执行Context
13、fix AllRealInputsAreTheSameOutAnchor error log issue

  • 在Session::AddGraph时会造一个UserGraphControl实例。因此在UserGraphControl中增加compiled_flag

14、bugfix:handling excessively long name

  • 避免因字符串过长导致二进制匹配耗尽资源而coredump,裁剪name,只保留最开始的128字符

15、acl code check告警处理
16、modify 3rd compile para
17、修改自定义ES_API Sample问题 && README.md
18、Refined inner session to no longer retrieve GraphNode or GraphOptions via graph_id from graph_manager.
19、ES关键类PIMPL实现 && 修改命名空间

  • EsCGraphBuilder, CompliantNodeBuilder, EsCTensorHolder改为PIMPL实现
  • 修改AddEdgeAndUpdatePeerDesc和CompliantNodeBuilder命名空间至ge::es

20、手动实现log功能, 实现debug_print函数来定位

变更类型

请选择本次引入的变更类型:

关联的Issue

如何测试

描述测试此变更的步骤和前提条件:
1.存量用例执行
2.告警规则检测

核对清单

其他信息

在此添加任何其他关于本次 PR 的说明。

likedislike
Pull Request已成功合入, 合并人@CANN-robot
(感谢 嵇锴 的贡献)
CANN-robot
CANN-robot成员
1月27日 评论:

Thanks for your pull-request.

The full list of commands accepted by me can be found at here.

You can get sig-info at here

likedislike
CANN-robot
CANN-robot成员
1月27日 评论:

以下是根据您提交的修改文件推荐的Reviewer和Committer序列,需各模块评审通过后方可合入

Module List Reviewers Committers
repo-cann/ge N/A stevenaw0, wangxiaotian995, fu-jun2, xchu42, wqtshg_wt
likedislike
CANN-robotCANN-robot成员
1月27日 添加了label:cann-cla/yes
嵇锴
嵇锴成员
1月27日 评论:

compile

likedislike
CANN-robot
CANN-robot成员
1月27日 评论:

流水线任务触发成功,任务链接 [559190861d754e0b8a523e4a8e33a0e9]

任务名称状态日志下载链接
Check_Pr ✅ SUCCESS >>>>>
Compile_X86_compiler ✅ SUCCESS >>>>> >>>>>
Compile_X86_executor ✅ SUCCESS >>>>> >>>>>
Compile_X86_dflow ✅ SUCCESS >>>>> >>>>>
Compile_ARM_compiler ✅ SUCCESS >>>>> >>>>>
Compile_ARM_executor ✅ SUCCESS >>>>> >>>>>
Compile_ARM_dflow ✅ SUCCESS >>>>> >>>>>
pre_comment ✅ SUCCESS
UT_Test_dflow ❌ FAILED
UT_Test_ge_common ✅ SUCCESS
UT_Test_parser ✅ SUCCESS
UT_Test_python ✅ SUCCESS
UT_Test_rt ✅ SUCCESS
UT_Test_acl ✅ SUCCESS
ST_Test_dflow ✅ SUCCESS
ST_Test_ge_common ✅ SUCCESS
ST_Test_hetero ✅ SUCCESS
ST_Test_parser ✅ SUCCESS
ST_Test_rt ✅ SUCCESS
ST_Test_python ✅ SUCCESS
codecheck ✅ SUCCESS >>>>>
anti_virus ✅ SUCCESS
SCA ✅ SUCCESS >>>>>
API_Check ✅ SUCCESS >>>>>
likedislike
此处折叠了607条消息 查看更多
gk
gk成员
1月30日 评论:

/approve

likedislike
CANN-robotCANN-robot成员
1月30日 添加了label:approved
gk
gk成员
1月30日 评论:

/lgtm

likedislike
CANN-robot
CANN-robot成员
1月30日 评论:

Review Guide

This Pull-Request Passes Review.
Committers who wrote a comment of /approve are: wqtshg_wt, wangxiaotian995, zhanj, qq_28230035.
Reviewers who wrote a comment of /lgtm are: tangqunzhang, stevenaw0, qq_28230035, wqtshg_wt, wangxiaotian995, zhanj.

likedislike
CANN-robotCANN-robot成员
1月30日 合入了pull request