8000 [Set] Add CPython set tests by guilhermeleobas · Pull Request #150792 · pytorch/pytorch · GitHub
[go: up one dir, main page]

Skip to content

[Set] Add CPython set tests #150792

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

Closed

Conversation

guilhermeleobas
Copy link
Collaborator
@guilhermeleobas guilhermeleobas commented Apr 7, 2025

[ghstack-poisoned]
Copy link
pytorch-bot bot commented Apr 7, 2025

🔗 Helpful Links

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

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

✅ No Failures

As of commit 5294bbb with merge base 064f4c1 (image):
💚 Looks good so far! There are no failures yet. 💚

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

[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
Update
8000
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
Divigroup-RAP pushed a commit to Divigroup-RAP/PYTORCH that referenced this pull request Apr 22, 2025
Tests:
* test_set.py

ghstack-source-id: ae2723f
Pull Request resolved: pytorch/pytorch#150792
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
@guilhermeleobas
Copy link
Collaborator Author

@albanD, are you ok if I merge this one with the failing sanity check?

@guilhermeleobas
Copy link
Collaborator Author

This PR adds test_set.py from the CPython 3.13 branch and ~400 files to test/dynamo_expected_failures. Most of these are expected to be fixed in upcoming PRs. Only minimal changes were made to test_set.py to enable compilation with Dynamo using the PYTORCH_TEST_WITH_DYNAMO=1 environment variable.

To run the test, use:
python test/dynamo/cpython/3_13/test_set.py

[ghstack-poisoned]
[ghstack-poisoned]
@guilhermeleobas
Copy link
Collaborator Author

@albanD, I added a diff file, to which one can see the changes I made to the test_set.py file. To reproduce, one can run the following commands:

wget -O test/dynamo/cpython/3_13/test_set.py https://raw.githubusercontent.com/python/cpython/refs/heads/3.13/Lib/test/test_set.py
git apply test/dynamo/cpython/3_13/test_set.diff

These changes are required to run the test with Dynamo and pytest.

@albanD
Copy link
Collaborator
albanD commented May 14, 2025

Thanks for the details, skipping PR sanity check since this is auto-generated from cpython tests.

@pytorchmergebot
Copy link
Collaborator

Starting merge as part of PR stack under #152990

1 similar comment
@pytorchmergebot
Copy link
Collaborator

Starting merge as part of PR stack under #152990

[ghstack-poisoned]
@pytorchmergebot
Copy link
Collaborator

Starting merge as part of PR stack under #152908

[ghstack-poisoned]
@pytorchmergebot
Copy link
Collaborator 8000

Starting merge as part of PR stack under #152990

pytorchmergebot pushed a commit that referenced this pull request May 16, 2025
pytorchmergebot pushed a commit that referenced this pull request May 16, 2025
pytorchmergebot pushed a commit that referenced this pull request May 16, 2025
pytorchmergebot pushed a commit that referenced this pull request May 16, 2025
pytorchmergebot pushed a commit that referenced this pull request May 16, 2025
pytorchmergebot pushed a commit that referenced this pull request May 16, 2025
pytorchmergebot pushed a commit that referenced this pull request May 16, 2025
pytorchmergebot pushed a commit that referenced this pull request May 16, 2025
pytorchmergebot pushed a commit that referenced this pull request May 16, 2025
pytorchmergebot pushed a commit that referenced this pull request May 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants
0