Skip to content

Conversation

@zhangyuqin1998
Copy link
Contributor

@zhangyuqin1998 zhangyuqin1998 commented Nov 7, 2024

PR Category

Auto Parallel

PR Types

Bug fixes

Description

add masked_select to ops_infer_shape_in_runtime。和nonzero一样,masked_select也是运行时才能确定输出的ddim。先使用兜底方案,让这些算子的输入在执行时转为replicated,再使用local shape回填global shape。

Pcard-76459

@paddle-bot
Copy link

paddle-bot bot commented Nov 7, 2024

你的PR提交成功,感谢你对开源项目的贡献!
请关注后续CI自动化测试结果,详情请参考Paddle-CI手册
Your PR has been submitted. Thanks for your contribution!
Please wait for the result of CI firstly. See Paddle CI Manual for details.

@zhiqiu zhiqiu merged commit a9d3f60 into PaddlePaddle:develop Nov 11, 2024
28 checks passed
@zhangyuqin1998 zhangyuqin1998 deleted the masked_select branch March 6, 2025 07:09
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.

3 participants