已合并
Add test_matmul_cuda ut for npu #8349
wang-guangbin创建于 2023年12月13日
Add test_matmul_cuda ut for npu #8349
已合并
wang-guangbin创建于 2023年12月13日
refs/pull/8349/head合入到master
wang-guangbin
2023年12月13日

What type of PR is this?

Uncomment only one /kind <> line, hit enter to put that in a new line, and remove leading whitespaces from that line:

/kind bug
/kind task
/kind feature
UT

What does this PR do / why do we need it:
Add test_matmul_cuda ut for npu

Which issue(s) this PR fixes:

Fixes #

Special notes for your reviewers:

likedislike
Pull Request已成功合入, 合并人@
(感谢 wang-guangbin 的贡献)
AAtomGit-Bot
2023年12月13日 添加了 &nbsp; ascend-cla/yes 标签
wang-guangbin
2023年12月13日 评论:

compile

likedislike
atlasaccount1
atlasaccount1
2023年12月13日 评论:

流水线任务触发成功,正在执行,请稍候。 任务链接[aebef516fba64e5eb3627484c1159a66]

likedislike
atlasaccount1atlasaccount1
2023年12月13日 添加了 &nbsp; ci-pipeline-running 标签
atlasaccount1
atlasaccount1
2023年12月13日 评论:


SCA扫描: success

# check type result report
1 sca success >>>

likedislike
atlasaccount1
atlasaccount1
2023年12月13日 评论:


静态检查: pass

# check type result report
1 codecheck pass >>>

likedislike
atlasaccount1atlasaccount1
2023年12月13日 移除了 &nbsp; ci-pipeline-running 标签
atlasaccount1atlasaccount1
2023年12月13日 添加了 &nbsp; ci-pipeline-passed 标签
Wwang-guangbin
2023年12月15日 强制推送 了代码
wang-guangbin
2023年12月15日 评论:

compile

likedislike
atlasaccount1
atlasaccount1
2023年12月15日 评论:

流水线任务触发成功,正在执行,请稍候。 任务链接[8c8b1c5f8e5242ea957077ec4d394e8b]

likedislike
atlasaccount1atlasaccount1
2023年12月15日 移除了 &nbsp; ci-pipeline-passed 标签
atlasaccount1atlasaccount1
2023年12月15日 添加了 &nbsp; ci-pipeline-running 标签
wang-guangbin2023年12月15日进行代码检视1
test/test_matmul_npu.py
@@ -0,0 +44,4 @@
44+ torch.float32: xtol(atol=1e-1, rtol=1e-1)})
45+ @dtypes(torch.float16, torch.bfloat16, torch.float32)
46+ @parametrize("size", [100, 1000, 10000])
47+ def test_addmm(self, size: int, dtype: torch.dtype):
wang-guangbin2023年12月15日评论:

已修改

likedislike
atlasaccount1
atlasaccount1
2023年12月15日 评论:


SCA扫描: success

# check type result report
1 sca success >>>

likedislike
atlasaccount1
atlasaccount1
2023年12月15日 评论:


静态检查: no pass

# check type result report
1 codecheck no pass >>>

likedislike
atlasaccount1atlasaccount1
2023年12月15日 移除了 &nbsp; ci-pipeline-running 标签
atlasaccount1atlasaccount1
2023年12月15日 添加了 &nbsp; ci-pipeline-failed 标签
Wwang-guangbin
2023年12月15日 强制推送 了代码
wang-guangbin
2023年12月15日 评论:

compile

likedislike
atlasaccount1
atlasaccount1
2023年12月15日 评论:

流水线任务触发成功,正在执行,请稍候。 任务链接[e0593f1eef9a424698af40e750b0d4f1]

likedislike
atlasaccount1atlasaccount1
2023年12月15日 移除了 &nbsp; ci-pipeline-failed 标签
atlasaccount1atlasaccount1
2023年12月15日 添加了 &nbsp; ci-pipeline-running 标签
atlasaccount1
atlasaccount1
2023年12月15日 评论:


SCA扫描: success

# check type result report
1 sca success >>>

likedislike
atlasaccount1atlasaccount1
2023年12月15日 移除了 &nbsp; ci-pipeline-running 标签
atlasaccount1atlasaccount1
2023年12月15日 添加了 &nbsp; ci-pipeline-failed 标签
wang-guangbin
2023年12月15日 评论:

compile

likedislike
atlasaccount1
atlasaccount1
2023年12月15日 评论:

流水线任务触发成功,正在执行,请稍候。 任务链接[c6ef06e464d44d62a257a813e0a722db]

likedislike
atlasaccount1atlasaccount1
2023年12月15日 移除了 &nbsp; ci-pipeline-failed 标签
atlasaccount1atlasaccount1
2023年12月15日 添加了 &nbsp; ci-pipeline-running 标签
atlasaccount1
atlasaccount1
2023年12月15日 评论:


SCA扫描: success

# check type result report
1 sca success >>>

likedislike
atlasaccount1
atlasaccount1
2023年12月15日 评论:


静态检查: pass

# check type result report
1 codecheck pass >>>

likedislike
atlasaccount1atlasaccount1
2023年12月15日 移除了 &nbsp; ci-pipeline-running 标签
atlasaccount1atlasaccount1
2023年12月15日 添加了 &nbsp; ci-pipeline-passed 标签
Wwang-guangbin
2023年12月15日 强制推送 了代码
wang-guangbin
2023年12月15日 评论:

compile

likedislike
atlasaccount1atlasaccount1
2023年12月15日 移除了 &nbsp; ci-pipeline-passed 标签
atlasaccount1
atlasaccount1
2023年12月15日 评论:

流水线任务触发成功,正在执行,请稍候。 任务链接[d7500be7906f4ce3a41507ac17b0f13c]

likedislike
atlasaccount1atlasaccount1
2023年12月15日 添加了 &nbsp; ci-pipeline-running 标签
atlasaccount1
atlasaccount1
2023年12月15日 评论:


SCA扫描: success

# check type result report
1 sca success >>>

likedislike
atlasaccount1
atlasaccount1
2023年12月15日 评论:


静态检查: pass

# check type result report
1 codecheck pass >>>

likedislike
atlasaccount1atlasaccount1
2023年12月15日 移除了 &nbsp; ci-pipeline-running 标签
atlasaccount1atlasaccount1
2023年12月15日 添加了 &nbsp; ci-pipeline-passed 标签
AAtomGit-Bot
2023年12月15日 添加了 &nbsp; lgtm 标签
AAtomGit-Bot
2023年12月15日 添加了 &nbsp; approved 标签
AAtomGit-Bot
2023年12月15日 合并了Pull Request(通过 API 合并)