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

Remove No Used Indexing Code #59281

Merged

Conversation

zoooo0820
Copy link
Contributor

@zoooo0820 zoooo0820 commented Nov 23, 2023

PR types

Others

PR changes

Others

Description

Pcard-66985

Removed old indexing parsing code in Pybind and Python

  • For pybind code , since new indexing parsing for setitem and getitem was introduced in PR Move Dygraph Indexing Parsing to Pybind #58643 , it was no longer used in dygraph , will be removed.

  • For python code, it was remained before since there is no index_put kernel for xpu. With this kernel, we can unify the indexing code for these device, and remove the old code.

The unit test cases of test_set_value_op_xpu was modified, to keep it same to corresponding test_set_value_op .

Copy link

paddle-bot bot commented Nov 23, 2023

你的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.

@zoooo0820 zoooo0820 marked this pull request as draft November 23, 2023 03:48
@zoooo0820 zoooo0820 marked this pull request as ready for review November 23, 2023 03:48
@zoooo0820 zoooo0820 marked this pull request as draft November 23, 2023 03:50
@zoooo0820 zoooo0820 marked this pull request as ready for review November 23, 2023 03:50
Copy link
Contributor

@jeff41404 jeff41404 left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@Aurelius84 Aurelius84 left a comment

Choose a reason for hiding this comment

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

LGTM

@jeff41404 jeff41404 merged commit 610583b into PaddlePaddle:develop Nov 28, 2023
28 checks passed
@zoooo0820 zoooo0820 deleted the remove_no_used_indexing_code branch November 28, 2023 06:37
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