Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Checks kv pair indexing in OrderedPreservingDictTest.test_range_insert #148136

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

redwrasse
Copy link
Contributor

@redwrasse redwrasse commented Feb 27, 2025

OrderedPreservingDictTest.test_range_insert has an unused loop variable j, I think taken from the inspired project testcase for range inserts, where it checks kv pair indexing/order for the ordered dict.

This just adds in that functionality to the test case.

cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @ipiszy @yf225 @chenyang78 @kadeng @muchulee8 @amjames @chauhang @aakhundov

@pytorch-bot pytorch-bot bot added the topic: not user facing topic category label Feb 27, 2025
Copy link

pytorch-bot bot commented Feb 27, 2025

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/148136

Note: Links to docs will display an error until the docs builds have been completed.

❗ 1 Active SEVs

There are 1 currently active SEVs. If your PR is affected, please view them below:

❌ 11 New Failures, 2 Unrelated Failures

As of commit f6a3b11 with merge base 85467ed (image):

NEW FAILURES - The following jobs have failed:

FLAKY - The following job failed but was likely due to flakiness present on trunk:

UNSTABLE - The following job is marked as unstable, possibly due to flakiness on trunk:

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@janeyx99 janeyx99 requested a review from eellison March 3, 2025 20:13
@janeyx99 janeyx99 added the triaged This issue has been looked at a team member, and triaged and prioritized into an appropriate module label Mar 3, 2025
@redwrasse
Copy link
Contributor Author

Are the no viable overloaded '+=' errors real? If so I can replace the line 187:

begin += 2;

with

begin++;
begin++;

@redwrasse redwrasse force-pushed the redwrasse/odict-range-insert-order-check branch from e837c03 to f496bb1 Compare March 8, 2025 03:54
@redwrasse redwrasse force-pushed the redwrasse/odict-range-insert-order-check branch 2 times, most recently from 9a07ae9 to a44dee3 Compare March 8, 2025 03:58
@redwrasse
Copy link
Contributor Author

Updated

auto begin = map.begin();
begin += 2;

to

auto begin = map.begin() + 2;

@redwrasse redwrasse force-pushed the redwrasse/odict-range-insert-order-check branch from a44dee3 to f6a3b11 Compare May 1, 2025 16:11
@redwrasse
Copy link
Contributor Author

Bump, I think the CI errors should be fixed now. cc @janeyx99 @eellison

@janeyx99
Copy link
Contributor

janeyx99 commented May 5, 2025

@pytorchbot merge

@pytorch-bot pytorch-bot bot added the ciflow/trunk Trigger trunk jobs on your pull request label May 5, 2025
@pytorchmergebot
Copy link
Collaborator

Merge started

Your change will be merged once all checks pass (ETA 0-4 Hours).

Learn more about merging in the wiki.

Questions? Feedback? Please reach out to the PyTorch DevX Team

Advanced Debugging
Check the merge workflow status
here

@pytorchmergebot
Copy link
Collaborator

Merge failed

Reason: 2 mandatory check(s) failed. The first few are:

Dig deeper by viewing the failures on hud

Details for Dev Infra team Raised by workflow job

Failing merge rule: Core Maintainers

@janeyx99
Copy link
Contributor

janeyx99 commented May 5, 2025

@pytorchbot mergr

Copy link

pytorch-bot bot commented May 5, 2025

❌ 🤖 pytorchbot command failed:

@pytorchbot: error: argument command: invalid choice: 'mergr' (choose from 'merge', 'revert', 'rebase', 'label', 'drci', 'cherry-pick', 'close')

usage: @pytorchbot [-h] {merge,revert,rebase,label,drci,cherry-pick,close} ...

Try @pytorchbot --help for more info.

@janeyx99
Copy link
Contributor

janeyx99 commented May 5, 2025

@pytorchbot merge

@pytorchmergebot
Copy link
Collaborator

Merge started

Your change will be merged once all checks pass (ETA 0-4 Hours).

Learn more about merging in the wiki.

Questions? Feedback? Please reach out to the PyTorch DevX Team

Advanced Debugging
Check the merge workflow status
here

@pytorchmergebot
Copy link
Collaborator

Merge failed

Reason: 1 jobs have failed, first few of them are: linux-binary-libtorch-cxx11-abi / libtorch-cpu-shared-with-deps-cxx11-abi-build / build

Details for Dev Infra team Raised by workflow job

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ciflow/trunk Trigger trunk jobs on your pull request module: inductor open source topic: not user facing topic category 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.

5 participants