已合并
实际项目运行中,需要sympy等py库,增加requirements.txt #1096
songkai111创建于 2月3日
实际项目运行中,需要sympy等py库,增加requirements.txt #1096
已合并
songkai111创建于 2月3日
songkai111成员
2月3日

描述

实际项目运行中,需要sympy、attrs、decorator三方库,增加requirements.txt

关联的Issue

测试

文档更新

类型标签

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

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


PR Approval Progress

Congratulations! All modules have met the lgtm and approve requirements.

Module Approval Details

Module lgtm Status approve Status
repo-cann/ops-math zhou-qilong, wangrui_ (2/2) zhou-qilong (1/1)

💡 Tip:

  • Committer can comment /approve or /lgtm
  • Commenting /approve implies both code review (lgtm) and intent to merge (approve)
likedislike
CANN-robotCANN-robot成员
2月3日 添加了label:cann-cla/yes
CANN-robot
CANN-robot成员
2月3日 评论:

CLA Signature Pass

songkai111, thanks for your pull request. All authors of the commits have signed the CLA. 👍

likedislike
CANN-robot
CANN-robot成员
2月3日 评论:

🔵 source code change are detected, tasks labels is removed in this pull request!

likedislike
Ssongkai111成员
2月3日 修改了pull request 的描述
CANN-robot
CANN-robot成员
2月3日 评论:

问题/功能描述

本次PR主要包含两方面更新:一是更新了项目的第三方开源软件依赖清单,为现有依赖项补充了类型标签并新增了protobuf依赖,同时新增了若干Python包依赖以满足构建或测试需求;二是优化了算子测试用例的构造方式,通过补充硬件资源相关的参数,使测试环境能更精确地模拟实际运行上下文。

修改方案描述

  1. 依赖清单更新:在Third_Party_Open_Source_Software_List.yaml中,为eigen、googletest等四个现有依赖项添加了type字段以明确其用途,并新增了protobuf(v25.1)依赖。在requirements.txt中新增了decoratorsympyattrs三个Python包。
  2. 测试用例优化:在test_add_example_tiling.cpp中,修改了add_example_0测试用例,在构造gert::TilingContextPara对象时补充了核数、UB缓冲区大小等硬件资源参数,提升了测试对真实执行环境的模拟精度。
likedislike
Ssongkai111成员
2月3日 关联了issue:[Bug-Report|缺陷反馈]: 仓编译过程中,实际依赖sympy等py三方库,需要添加到requirements.txt
songkai111成员
2月3日 评论:

compile

likedislike
CANN-robotCANN-robot成员
2月3日 添加了label:ci-pipeline-running
CANN-robot
CANN-robot成员
2月3日 评论:

流水线任务触发成功 [流水线指导]
任务链接 [112292652c58493b86f75a820acff89a]

任务名称状态日志下载链接
codecheck ✅ SUCCESS >>>>>
SCA ✅ SUCCESS >>>>>
anti_virus ✅ SUCCESS >>>>>
Check_Pr ✅ SUCCESS >>>>>
Compile_Ascend_X86 ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_X86_mobile_station ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_ARM ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_X86_experimental ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_ARM_experimental ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_single ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_X86_A5 ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_ARM_A5 ✅ SUCCESS >>>>> >>>>>
API_Check ✅ SUCCESS >>>>>
UT_Test ✅ SUCCESS
UT_Test_experimental ✅ SUCCESS
Smoke_A900 ✅ SUCCESS >>>>> >>>>>

[2026-02-03 16:08:17]    CI执行结束

likedislike
CANN-robotCANN-robot成员
2月3日 删除了label:ci-pipeline-running
此处折叠了5条事件消息 查看更多
CANN-robotCANN-robot成员
2月3日 添加了label:ci-pipeline-passed
RuiWang_成员
2月3日 评论:

/lgtm

likedislike
sunday成员
2月3日 评论:

/lgtm
/approve

likedislike
CANN-robotCANN-robot成员
2月3日 添加了label:lgtmapproved
CANN-robot
CANN-robot成员
2月3日 评论:

Review Guide

This Pull-Request Passes Review.
Committers who wrote a comment of /approve are: zhou-qilong.
Reviewers who wrote a comment of /lgtm are: wangrui_, zhou-qilong.

likedislike
CANN-robotCANN-robot成员
2月3日 关闭了关联的issue
CANN-robotCANN-robot成员
2月3日 合入了pull request