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

[dynamo] Fix test #125107

Closed
wants to merge 1 commit into from
Closed

Conversation

[ghstack-poisoned]
Copy link

pytorch-bot bot commented Apr 27, 2024

🔗 Helpful Links

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

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

❌ 1 New Failure

As of commit 24a77fe with merge base bad8d25 (image):

NEW FAILURE - The following job has failed:

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

Copy link
Member

@williamwen42 williamwen42 left a comment

Choose a reason for hiding this comment

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

What's wrong with this test?

Also, can we get #125062 in first? It adds an xfail to 3.12 and makes Mod.forward refer to self.fc instead of fc.

@anijain2305
Copy link
Contributor Author

The test was returning input as well as fc. And we were passing both the input and the fc to the module call. This was exposed in a PR in this stack. I am fine rebasing after your PR goes in.

pytorchmergebot pushed a commit that referenced this pull request Apr 28, 2024
Earlier globals of inlined functions from other files were not handled correctly. We were not tracking mutations on them. They were colliding with the same global name in the parent function etc. This PR overrides the LOAD/STORE_GLOBAL for inline tx and tracks mutation on them separately.

Pull Request resolved: #125002
Approved by: https://github.com/jansel
ghstack dependencies: #125097, #125107
carmocca pushed a commit to carmocca/pytorch that referenced this pull request Apr 29, 2024
Pull Request resolved: pytorch#125107
Approved by: https://github.com/jansel
ghstack dependencies: pytorch#125097
carmocca pushed a commit to carmocca/pytorch that referenced this pull request Apr 29, 2024
Earlier globals of inlined functions from other files were not handled correctly. We were not tracking mutations on them. They were colliding with the same global name in the parent function etc. This PR overrides the LOAD/STORE_GLOBAL for inline tx and tracks mutation on them separately.

Pull Request resolved: pytorch#125002
Approved by: https://github.com/jansel
ghstack dependencies: pytorch#125097, pytorch#125107
andoorve pushed a commit to andoorve/pytorch that referenced this pull request May 1, 2024
Pull Request resolved: pytorch#125107
Approved by: https://github.com/jansel
ghstack dependencies: pytorch#125097
andoorve pushed a commit to andoorve/pytorch that referenced this pull request May 1, 2024
Earlier globals of inlined functions from other files were not handled correctly. We were not tracking mutations on them. They were colliding with the same global name in the parent function etc. This PR overrides the LOAD/STORE_GLOBAL for inline tx and tracks mutation on them separately.

Pull Request resolved: pytorch#125002
Approved by: https://github.com/jansel
ghstack dependencies: pytorch#125097, pytorch#125107
petrex pushed a commit to petrex/pytorch that referenced this pull request May 3, 2024
Pull Request resolved: pytorch#125107
Approved by: https://github.com/jansel
ghstack dependencies: pytorch#125097
petrex pushed a commit to petrex/pytorch that referenced this pull request May 3, 2024
Earlier globals of inlined functions from other files were not handled correctly. We were not tracking mutations on them. They were colliding with the same global name in the parent function etc. This PR overrides the LOAD/STORE_GLOBAL for inline tx and tracks mutation on them separately.

Pull Request resolved: pytorch#125002
Approved by: https://github.com/jansel
ghstack dependencies: pytorch#125097, pytorch#125107
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.

None yet

4 participants