Skip to content

Add torch._dynamo.maybe_mark_dynamic#105145

Closed
ezyang wants to merge 3 commits intogh/ezyang/2226/basefrom
gh/ezyang/2226/head
Closed

Add torch._dynamo.maybe_mark_dynamic#105145
ezyang wants to merge 3 commits intogh/ezyang/2226/basefrom
gh/ezyang/2226/head

Conversation

@ezyang
Copy link
Contributor

@ezyang ezyang commented Jul 13, 2023

Signed-off-by: Edward Z. Yang <ezyang@meta.com>

[ghstack-poisoned]
@pytorch-bot
Copy link

pytorch-bot bot commented Jul 13, 2023

🔗 Helpful Links

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

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

✅ You can merge normally! (1 Unrelated Failure)

As of commit bef28e5 with merge base 194fe1d (image):

BROKEN TRUNK - The following job failed but were present on the merge base:

👉 Rebase onto the `viable/strict` branch to avoid these failures

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

Copy link
Contributor

@aakhundov aakhundov left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

ezyang added 2 commits July 13, 2023 15:11
Signed-off-by: Edward Z. Yang <ezyangmeta.com>

cc voznesenskym penguinwu anijain2305 EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng Xia-Weiwen wenzhe-nrv jiayisunx ipiszy chenyang78

[ghstack-poisoned]
Signed-off-by: Edward Z. Yang <ezyangmeta.com>

cc voznesenskym penguinwu anijain2305 EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng Xia-Weiwen wenzhe-nrv jiayisunx ipiszy chenyang78

[ghstack-poisoned]
@ezyang ezyang requested a review from Chillee July 13, 2023 19:11
ezyang added a commit that referenced this pull request Jul 13, 2023
Signed-off-by: Edward Z. Yang <ezyangmeta.com>

ghstack-source-id: dc910a4
Pull Request resolved: #105145
@ezyang ezyang changed the title Add torch._dynamo.mark_weak_dynamic Add torch._dynamo.maybe_mark_dynamic Jul 13, 2023
@ezyang
Copy link
Contributor Author

ezyang commented Jul 13, 2023

@pytorchbot merge

@albanD albanD removed their request for review July 13, 2023 19:11
@pytorchmergebot
Copy link
Collaborator

Merge failed

Reason: Approval needed from one of the following:
jbitton, kmh4321, xcheng16, iramazanli, PaliC, ...

Details for Dev Infra team Raised by workflow job

Failing merge rule: Core Maintainers

@ezyang
Copy link
Contributor Author

ezyang commented Jul 14, 2023

@pytorchbot merge -f "known master failure"

@pytorchmergebot
Copy link
Collaborator

Merge started

Your change will be merged immediately since you used the force (-f) flag, bypassing any CI checks (ETA: 1-5 minutes).

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

huydhn added a commit to pytorch/test-infra that referenced this pull request Jul 15, 2023
[Object.keys](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/keys)
iterates though all string-keyed property names in the object. However,
this works with `{}` but not with a `Map` object. In fact,
`Object.keys(mapObject)` returns an empty array.

Getting the empty list of base commit jobs means Dr.CI fails to detect
broken trunk failures, i.e.
pytorch/pytorch#105145

### Testing

This is a big gotcha moment for me, so I add an unit test for
`getBaseCommitJobs` to properly test this
@huydhn
Copy link
Contributor

huydhn commented Jul 15, 2023

@pytorchbot drci

@facebook-github-bot facebook-github-bot deleted the gh/ezyang/2226/head branch July 17, 2023 14:17
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