Skip to content

feat: fix the ATen compilation of torch 2.11 on the Hygon platform - #1550

Merged
wooway777 merged 1 commit into
mainfrom
feat/hygon-bw1100-torch
Sep 4, 2026
Merged

feat: fix the ATen compilation of torch 2.11 on the Hygon platform#1550
wooway777 merged 1 commit into
mainfrom
feat/hygon-bw1100-torch

Conversation

@pengcheng888

@pengcheng888 pengcheng888 commented Sep 4, 2026

Copy link
Copy Markdown
Collaborator

问题:在bw1100上,torch版本是2.11,aten的命名空间不一样,导致编译报错。

解决方式: 新增了INFINICORE_TORCH_VERSION_GE_2_11宏, 表示 torch版本。该宏只会在bw1100的torch2.11时,起作用。 不影响以前的代码。

修改前:bw1000上正常,bw1100上编译报错。

修改后:bw1000和bw1100都正常,都可以做端到端graph的推理。

bw1000
image

bw1100
image

@pengcheng888
pengcheng888 marked this pull request as ready for review September 4, 2026 08:29
@pengcheng888
pengcheng888 requested a review from a team September 4, 2026 08:29
@wooway777
wooway777 merged commit d3551f3 into main Sep 4, 2026
10 checks passed
@wooway777
wooway777 deleted the feat/hygon-bw1100-torch branch September 4, 2026 08:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants