Skip to content

Stable sort for the CPU take 2.#51790

Closed
nikitaved wants to merge 38 commits intomasterfrom
nikitaved/stable_sort_CPU_take_2
Closed

Stable sort for the CPU take 2.#51790
nikitaved wants to merge 38 commits intomasterfrom
nikitaved/stable_sort_CPU_take_2

Conversation

@nikitaved
Copy link
Copy Markdown
Collaborator

Fixes #38681.
A duplicate of #50052 created to become importable to the fb internal tests.

@nikitaved
Copy link
Copy Markdown
Collaborator Author

@glaringlee , hopefully now it could be imported.

@facebook-github-bot
Copy link
Copy Markdown
Contributor

facebook-github-bot commented Feb 5, 2021

💊 CI failures summary and remediations

As of commit ba09214 (more details on the Dr. CI page):


  • 1/1 failures possibly* introduced in this PR
    • 1/1 non-scanned failure(s)

ci.pytorch.org: 1 failed


This comment was automatically generated by Dr. CI (expand for details).Follow this link to opt-out of these comments for your Pull Requests.

Please report bugs/suggestions to the (internal) Dr. CI Users group.

Copy link
Copy Markdown
Contributor

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

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

@glaringlee has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@glaringlee
Copy link
Copy Markdown
Contributor

@glaringlee , hopefully now it could be imported.

Imported!

Copy link
Copy Markdown
Contributor

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

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

@glaringlee has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

Copy link
Copy Markdown
Contributor

@glaringlee glaringlee left a comment

Choose a reason for hiding this comment

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

@nikitaved This looks good to me now. Please rebase the code, let's get this land.

Copy link
Copy Markdown
Contributor

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

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

@glaringlee has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

Copy link
Copy Markdown
Contributor

@glaringlee glaringlee left a comment

Choose a reason for hiding this comment

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

@nikitaved Hi, sorry about the last minute change.
This PR broke the Rocm build here:
https://ci.pytorch.org/jenkins/job/pytorch-builds/job/pytorch-linux-bionic-rocm4.0.1-py3.6-test1/246/console (go to the bottom). I commented in the code on how to fix this, please make the change, thanks.

OpInfo('sort',
dtypes=all_types_and(torch.bool, torch.float16),
# sort on CUDA is still in the TH, no torch.bool/torch.float16 support yet
dtypesIfCUDA=all_types_and(torch.float16),
Copy link
Copy Markdown
Contributor

@glaringlee glaringlee Feb 17, 2021

Choose a reason for hiding this comment

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

Please add this as well after dtypesIfCUDA
dtypesIfROCM=all_types_and(torch.float16)

Copy link
Copy Markdown
Contributor

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

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

@glaringlee has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@glaringlee
Copy link
Copy Markdown
Contributor

@nikitaved Can you rebase again? There is a problem with master branch yesterday which broke many CI tests. Thanks a lot.

Copy link
Copy Markdown
Contributor

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

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

@glaringlee has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@facebook-github-bot
Copy link
Copy Markdown
Contributor

@glaringlee merged this pull request in 9699c70.

@nikitaved
Copy link
Copy Markdown
Collaborator Author

nikitaved commented Feb 19, 2021

@glaringlee, @mruberry , thank you so much for leading this effort! That was a tough one :)

iramazanli pushed a commit to iramazanli/pytorch that referenced this pull request Feb 23, 2021
Summary:
Fixes pytorch#38681.
A duplicate of pytorch#50052 created to become importable to the fb internal tests.

Pull Request resolved: pytorch#51790

Reviewed By: agolynski

Differential Revision: D26279045

Pulled By: glaringlee

fbshipit-source-id: 348e171dee9c370a76002b65d0c82c329f57a421
@rgommers rgommers mentioned this pull request Mar 9, 2021
aocsa pushed a commit to Quansight/pytorch that referenced this pull request Mar 15, 2021
Summary:
Fixes pytorch#38681.
A duplicate of pytorch#50052 created to become importable to the fb internal tests.

Pull Request resolved: pytorch#51790

Reviewed By: agolynski

Differential Revision: D26279045

Pulled By: glaringlee

fbshipit-source-id: 348e171dee9c370a76002b65d0c82c329f57a421
xsacha pushed a commit to xsacha/pytorch that referenced this pull request Mar 31, 2021
Summary:
Fixes pytorch#38681.
A duplicate of pytorch#50052 created to become importable to the fb internal tests.

Pull Request resolved: pytorch#51790

Reviewed By: agolynski

Differential Revision: D26279045

Pulled By: glaringlee

fbshipit-source-id: 348e171dee9c370a76002b65d0c82c329f57a421
@github-actions github-actions Bot deleted the nikitaved/stable_sort_CPU_take_2 branch February 10, 2024 01:57
laurentdupin pushed a commit to laurentdupin/pytorch that referenced this pull request Apr 24, 2026
Summary:
Fixes pytorch#38681.
A duplicate of pytorch#50052 created to become importable to the fb internal tests.

Pull Request resolved: pytorch#51790

Reviewed By: agolynski

Differential Revision: D26279045

Pulled By: glaringlee

fbshipit-source-id: 348e171dee9c370a76002b65d0c82c329f57a421
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla signed Merged open source triaged This issue has been looked at a team member, and triaged and prioritized into an appropriate module

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Stable torch.sort and torch.argsort

6 participants