Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

【Hackathon 6th Fundable Projects 3 No.352】shuffle_batch #64737

Merged
merged 3 commits into from
Jun 5, 2024

Conversation

co63oc
Copy link
Contributor

@co63oc co63oc commented May 30, 2024

PR Category

Others

PR Types

Others

Description

迁移 shuffle_batch

Copy link

paddle-bot bot commented May 30, 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.

@paddle-bot paddle-bot bot added the contributor External developers label May 30, 2024
@luotao1 luotao1 self-assigned this May 30, 2024
wanghuancoder
wanghuancoder previously approved these changes Jun 3, 2024
Copy link
Contributor

@wanghuancoder wanghuancoder left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Comment on lines +3779 to +3788
- op : shuffle_batch
args : (Tensor x, Tensor seed, int startup_seed=0)
output : Tensor(out), Tensor(shuffle_idx), Tensor(seed_out)
infer_meta:
func: ShuffleBatchInferMeta
kernel:
func: shuffle_batch
data_type: x
backward : shuffle_batch_grad
traits : pir::SideEffectTrait
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image

seed需要配置下skip_transform

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@luotao1 luotao1 merged commit 8399cd3 into PaddlePaddle:develop Jun 5, 2024
32 checks passed
@co63oc co63oc deleted the fix_shuffle_batch branch June 5, 2024 22:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants