Closed
[Requirement|需求建议]: CATLASS引入版本有误,需修改引入的hash为1.5.0版本 #6603
yuantaoAdd on  Oct 23Closed at  17 days ago
yuantao
yuantao
Oct 23 Create

Backgroud(背景信息)

CATLASS是一个为矩阵类算子编程提供便利的代码模板库,在之前的sig会议中已经正式引入,并根据committer建议,使用FetchContent进行内容拉取。
但在切换引入方式时,由于疏忽引入了2.0.0版本,需要切换回sig统一的1.5.0版本
当前仓上算子未使用新版本特性,无对应风险

Benefit / Necessity (价值/作用)

简化算子编程,提升生态易用性

Design(设计方案)

修改hash值为1.5.0所对应的

likedislike
yuantaoyuantao
Oct 23 Associated pull request
yuantao
yuantao
Oct 23 Comments:

/assign @yuantao_

likedislike
CANN-robotCANN-robotCollaborators
Oct 23 Assign yuantao_ as responsible person
周云飞
周云飞Collaborators
Oct 23 Comments:

/assign @yuantao_

likedislike
周云飞
周云飞Collaborators
Oct 23 Comments:

您好,感谢反馈!按您的描述,此次调整是为了让 CATLASS 依赖回到 SIG 约定的 1.5.0 版本,保留现有 FetchContent 引入方式,而不是调整算子功能。

一个可行的处理方向是,将 FetchContent 中固定 CATLASS 版本的提交哈希替换为 1.5.0 对应的准确提交,并通过重新配置、拉取和编译确认实际使用的版本已切换。您提到当前算子未使用 2.0.0 新特性,这有助于降低回退风险;但是否兼容仍需结合依赖该库的算子编译及必要的运行验证确认,暂不能直接认定为无风险。

目前提供的代码片段未包含 FetchContent 配置,也未给出 1.5.0 对应的提交哈希,因此还不能确认具体替换值。若方便,请补充该配置的位置及目标提交哈希,以便进一步确认修改范围。

likedislike
CANN-robotCANN-robotCollaborators
17 days ago Close issue
周云飞
周云飞Collaborators
17 days ago Comments:

已在 PR #14500 中修正 CATLASS 的引入版本:将 cmake/third_party/catlass.cmake 中的依赖提交哈希从 v2.0.0 对应的版本调整为 v1.5.0 对应的 83073fedcac3d9df5b83f701b2cc00ec6a94f984。

关联 PR:PR #14500

likedislike
CANN-robotCANN-robotCollaborators
17 days ago Added label: resolved