已关闭
[Bug-Report|缺陷反馈]: cla_gate_quant 走 torchair(GE 图)通路报错 #6205
luckdog111创建于  9月24日关闭于  9月24日
luckdog111
luckdog111
9月24日 创建

Thanks for sending an issue! Please fill in the following template to help quickly solve your problem.

Describe the current behavior / 问题描述 (Mandatory / 必填)

cla_gate_quant 走 torchair(GE 图)通路报错。AttributeError: module 'torchair.ge.attr' has no attribute 'String'

Environment Information / 环境信息 (Mandatory / 必填)

昇腾硬件型号:Ascend950DT
CANN:9.2.0
python: 3.12
torch_npu: 2.10.0.post6

Steps to reproduce the issue / 重现步骤 (Mandatory / 必填)

compiled = torch.compile(
    model,
    backend=torchair.get_npu_backend(),
    dynamic=DYNAMIC,
    fullgraph=True,
)
使用torchair的backend进行编图出现AttributeError: module 'torchair.ge.attr' has no attribute 'String'报错。

Describe the expected behavior / 预期结果 (Mandatory / 必填)

正常编图成功后执行。

AttributeError: module 'torchair.ge.attr' has no attribute 'String'

Special notes for this issue/备注 (Optional / 选填)

likedislike
luckdog111
luckdog111
9月24日 评论:

/assgin @luckdog111

likedislike
yuning_chenyuning_chen成员
9月24日 将 luckdog111 设为负责人
CANN-robotCANN-robot成员
9月24日 关闭了 issue
CANN-robotCANN-robot成员
9月24日 添加了label:resolved