2.4K Star 8.2K Fork 4.4K

GVPMindSpore / mindspore

 / 详情

unstack 算子不支持 parallel infer 导致开启 SEMI_AUTO_PARALLEL 后编译报错

TODO
Requirement 成员
创建于  
2024-04-19 15:02
name about labels
RFC Use this template for requirement to be discussed kind/feature or kind/enhancement
Requirement Use this template for Confirmed requirements kind/feature or kind/enhancement

Backgroud(背景信息)

  • Describe/Explain the status of the problem you wish to solve.
  • Attach relevant issues if there is any.

Dit模块中使用了

q, k, v = ops.unstack(qkv, axis=2)

开启优化器并行后出现:

输入图片说明

分析发现是unstack 算子不支持 parallel infer导致重排错误。

Origin(信息来源)

  • Explain which department/team made this request so that its priority can be given.

Benefit / Necessity (价值/作用)

  • Describe/Explain the key value by fulfilling the request.

Design(设计方案)

  • Describe/Explain the general idea of the design. Pseudo-code is allowed

评论 (2)

zhaoting 创建了Requirement
zhaoting 添加了
 
v2.3.0.rc2
标签
zhaoting 任务状态CLOSED 修改为TODO
展开全部操作日志

Please assign maintainer to check this issue.
请为此issue分配处理人。
@zhaoting

感谢您的提问,您可以评论//mindspore-assistant更快获取帮助:

  1. 如果您刚刚接触MindSpore,或许您可以在教程找到答案
  2. 如果您是资深Pytorch用户,您或许需要:
  1. 如果您遇到动态图问题,可以设置set_context(pynative_synchronize=True)查看报错栈协助定位
  2. 模型精度调优问题可参考官网调优指南
  3. 如果您反馈的是框架BUG,请确认您在ISSUE中提供了MindSpore版本、使用的后端类型(CPU、GPU、Ascend)、环境、训练的代码官方链接以及可以复现报错的代码的启动方式等必要的定位信息
  4. 如果您已经定位出问题根因,欢迎提交PR参与MindSpore开源社区,我们会尽快review
zhaoting 优先级严重 修改为主要
fangwenyi 移除了
 
v2.3.0.rc2
标签
fangwenyi 添加了
 
master
标签

登录 后才可以发表评论

状态
负责人
项目
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
预计工期 (小时)
参与者(2)
6584633 zhao ting v 1585658628
Python
1
https://gitee.com/mindspore/mindspore.git
git@gitee.com:mindspore/mindspore.git
mindspore
mindspore
mindspore

搜索帮助