Skip to content

Use isinstance test rather than exact type test for wrap to fake#89671

Closed
ezyang wants to merge 9 commits intogh/ezyang/1590/basefrom
gh/ezyang/1590/head
Closed

Use isinstance test rather than exact type test for wrap to fake#89671
ezyang wants to merge 9 commits intogh/ezyang/1590/basefrom
gh/ezyang/1590/head

Conversation

I'm not sure why we did an exact test originally.  Let's find out!

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

[ghstack-poisoned]
@pytorch-bot
Copy link

pytorch-bot bot commented Nov 25, 2022

🔗 Helpful Links

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

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

❌ 2 Failures

As of commit 86b2565:

The following jobs have failed:

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

…o fake"

I'm not sure why we did an exact test originally.  Let's find out!

Signed-off-by: Edward Z. Yang <ezyangfb.com>

cc mlazos soumith voznesenskym yanboliang penguinwu anijain2305 EikanWang jgong5 Guobing-Chen chunyuan-w XiaobingSuper zhuhaozhe blzheng Xia-Weiwen wenzhe-nrv jiayisunx desertfire

[ghstack-poisoned]
@ezyang ezyang added the ciflow/trunk Trigger trunk jobs on your pull request label Nov 25, 2022
…o fake"

I'm not sure why we did an exact test originally.  Let's find out!

Signed-off-by: Edward Z. Yang <ezyangfb.com>

cc mlazos soumith voznesenskym yanboliang penguinwu anijain2305 EikanWang jgong5 Guobing-Chen chunyuan-w XiaobingSuper zhuhaozhe blzheng Xia-Weiwen wenzhe-nrv jiayisunx desertfire

[ghstack-poisoned]
@ezyang
Copy link
Contributor Author

ezyang commented Nov 25, 2022

@pytorchbot merge -f "ci failures only on master"

@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

@pytorchmergebot
Copy link
Collaborator

Merge failed

Reason: Command git -C /home/runner/work/pytorch/pytorch cherry-pick -x 963c8098655072c1c6dc2354dba8d3b174289810 returned non-zero exit code 1

Auto-merging functorch/_src/aot_autograd.py
CONFLICT (content): Merge conflict in functorch/_src/aot_autograd.py
error: could not apply 963c809865... Make aot_module_simplified accept fake tensors
hint: After resolving the conflicts, mark them with
hint: "git add/rm <pathspec>", then run
hint: "git cherry-pick --continue".
hint: You can instead skip this commit with "git cherry-pick --skip".
hint: To abort and get back to the state before "git cherry-pick",
hint: run "git cherry-pick --abort".
Details for Dev Infra team Raised by workflow job

…o fake"

I'm not sure why we did an exact test originally.  Let's find out!

Signed-off-by: Edward Z. Yang <ezyangfb.com>

cc mlazos soumith voznesenskym yanboliang penguinwu anijain2305 EikanWang jgong5 Guobing-Chen chunyuan-w XiaobingSuper zhuhaozhe blzheng Xia-Weiwen wenzhe-nrv jiayisunx desertfire

[ghstack-poisoned]
ezyang added a commit that referenced this pull request Nov 25, 2022
I'm not sure why we did an exact test originally.  Let's find out!

Signed-off-by: Edward Z. Yang <ezyangfb.com>

ghstack-source-id: 7790480
Pull Request resolved: #89671
@ezyang
Copy link
Contributor Author

ezyang commented Nov 25, 2022

@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

@ezyang
Copy link
Contributor Author

ezyang commented Nov 25, 2022

Sooooooo it turns out this causes an accuracy failure on BERT_pytorch with dynamic shapes aot eager! None of our asserts trigger. might be wrong, retesting

@pytorchmergebot
Copy link
Collaborator

The merge job was canceled. If you believe this is a mistake,then you can re trigger it through pytorch-bot.

…o fake"

I'm not sure why we did an exact test originally.  Let's find out!

Signed-off-by: Edward Z. Yang <ezyangfb.com>

cc mlazos soumith voznesenskym yanboliang penguinwu anijain2305 EikanWang jgong5 Guobing-Chen chunyuan-w XiaobingSuper zhuhaozhe blzheng Xia-Weiwen wenzhe-nrv jiayisunx desertfire

[ghstack-poisoned]
…o fake"

I'm not sure why we did an exact test originally.  Let's find out!

Signed-off-by: Edward Z. Yang <ezyangfb.com>

cc mlazos soumith voznesenskym yanboliang penguinwu anijain2305 EikanWang jgong5 Guobing-Chen chunyuan-w XiaobingSuper zhuhaozhe blzheng Xia-Weiwen wenzhe-nrv jiayisunx desertfire

[ghstack-poisoned]
@voznesenskym voznesenskym mentioned this pull request Nov 26, 2022
…o fake"

I'm not sure why we did an exact test originally.  Let's find out!

Signed-off-by: Edward Z. Yang <ezyangfb.com>

cc mlazos soumith voznesenskym yanboliang penguinwu anijain2305 EikanWang jgong5 Guobing-Chen chunyuan-w XiaobingSuper zhuhaozhe blzheng Xia-Weiwen wenzhe-nrv jiayisunx desertfire

[ghstack-poisoned]
…o fake"

I'm not sure why we did an exact test originally.  Let's find out!

Signed-off-by: Edward Z. Yang <ezyangfb.com>

cc mlazos soumith voznesenskym yanboliang penguinwu anijain2305 EikanWang jgong5 Guobing-Chen chunyuan-w XiaobingSuper zhuhaozhe blzheng Xia-Weiwen wenzhe-nrv jiayisunx desertfire

[ghstack-poisoned]
…o fake"

I'm not sure why we did an exact test originally.  Let's find out!

Signed-off-by: Edward Z. Yang <ezyangfb.com>

cc mlazos soumith voznesenskym yanboliang penguinwu anijain2305 EikanWang jgong5 Guobing-Chen chunyuan-w XiaobingSuper zhuhaozhe blzheng Xia-Weiwen wenzhe-nrv jiayisunx desertfire

[ghstack-poisoned]
@voznesenskym voznesenskym mentioned this pull request Nov 28, 2022
@ezyang
Copy link
Contributor Author

ezyang commented Nov 28, 2022

@pytorchbot merge -f "master failures and flaky ci only"

@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

kulinseth pushed a commit to kulinseth/pytorch that referenced this pull request Dec 10, 2022
…orch#89671)

I'm not sure why we did an exact test originally.  Let's find out!

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

Pull Request resolved: pytorch#89671
Approved by: https://github.com/voznesenskym
@facebook-github-bot facebook-github-bot deleted the gh/ezyang/1590/head branch June 8, 2023 16:35
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.

3 participants