Skip to content

[quant][graphmode] Make interpolate/upsample work again#35130

Closed
jerryzh168 wants to merge 22 commits intogh/jerryzh168/259/basefrom
gh/jerryzh168/259/head
Closed

[quant][graphmode] Make interpolate/upsample work again#35130
jerryzh168 wants to merge 22 commits intogh/jerryzh168/259/basefrom
gh/jerryzh168/259/head

Conversation

@jerryzh168
Copy link
Copy Markdown
Contributor

@jerryzh168 jerryzh168 commented Mar 20, 2020

Stack from ghstack:

Summary:

Test Plan:
python test/test_jit.py TestJit.test_swap_dequantize_all_ops
Reviewers:
.
Subscribers:

Tasks:

Tags:

Differential Revision: D20655303

Summary:

Test Plan:
python test/test_jit.py TestJit.test_swap_dequantize_all_ops
Reviewers:
.
Subscribers:

Tasks:

Tags:

[ghstack-poisoned]
jerryzh168 added a commit that referenced this pull request Mar 20, 2020
Summary:

Test Plan:
python test/test_jit.py TestJit.test_swap_dequantize_all_ops
Reviewers:
.
Subscribers:

Tasks:

Tags:

ghstack-source-id: 2cc4cbe
Pull Request resolved: #35130
Summary:

Test Plan:
python test/test_jit.py TestJit.test_swap_dequantize_all_ops
Reviewers:
.
Subscribers:

Tasks:

Tags:

[ghstack-poisoned]
@dr-ci
Copy link
Copy Markdown

dr-ci Bot commented Mar 21, 2020

💊 CircleCI build failures summary and remediations

As of commit 57dbb19 (more details on the Dr. CI page):


None of the build failures appear to be your fault 💚


  • 1/1 broken upstream at merge base 04a3345 since Mar 27

    Please rebase on the viable/strict branch (expand for instructions)

    If your commit is newer than viable/strict, you can try basing on an older, stable commit:

    git fetch https://github.com/pytorch/pytorch viable/strict
    git rebase --onto FETCH_HEAD $(git merge-base origin/master HEAD)
    

    If your commit is older than viable/strict:

    git fetch https://github.com/pytorch/pytorch viable/strict
    git rebase FETCH_HEAD
    

    Check out the recency history of this "viable master" tracking branch.


🚧 1 upstream failure:

These were probably caused by upstream breakages:


This comment was automatically generated by Dr. CI (expand for details).Follow this link to opt-out of these comments for your Pull Requests.

Please report bugs/suggestions on the GitHub issue tracker.

See how this bot performed.

This comment has been revised 103 times.

Summary:

Test Plan:
python test/test_jit.py TestJit.test_swap_dequantize_all_ops
Reviewers:
.
Subscribers:

Tasks:

Tags:

[ghstack-poisoned]
jerryzh168 added a commit that referenced this pull request Mar 21, 2020
Summary:

Test Plan:
python test/test_jit.py TestJit.test_swap_dequantize_all_ops
Reviewers:
.
Subscribers:

Tasks:

Tags:

ghstack-source-id: 8be4130
Pull Request resolved: #35130
Summary:

Test Plan:
python test/test_jit.py TestJit.test_swap_dequantize_all_ops
Reviewers:
.
Subscribers:

Tasks:

Tags:

[ghstack-poisoned]
jerryzh168 added a commit that referenced this pull request Mar 22, 2020
Summary:

Test Plan:
python test/test_jit.py TestJit.test_swap_dequantize_all_ops
Reviewers:
.
Subscribers:

Tasks:

Tags:

ghstack-source-id: 70cf535
Pull Request resolved: #35130
Summary:

Test Plan:
python test/test_jit.py TestJit.test_swap_dequantize_all_ops
Reviewers:
.
Subscribers:

Tasks:

Tags:

[ghstack-poisoned]
Summary:

Test Plan:
python test/test_jit.py TestJit.test_swap_dequantize_all_ops
Reviewers:
.
Subscribers:

Tasks:

Tags:

Differential Revision: [D20655303](https://our.internmc.facebook.com/intern/diff/D20655303)

[ghstack-poisoned]
jerryzh168 added a commit that referenced this pull request Mar 25, 2020
Summary:
supporting swap dequant for prim::If nodes, this includes detecting
all blocks of prim::If ends with dequantize, deleting these dequantize
and inserting new dequantize for the output of prim::If

Test Plan:
see next PR that enables swap dequant for interpolate: #35130

Reviewers:
.

Subscribers:

Tasks:

Tags:

Differential Revision: [D20655307](https://our.internmc.facebook.com/intern/diff/D20655307)

[ghstack-poisoned]
Summary:

Test Plan:
python test/test_jit.py TestJit.test_swap_dequantize_all_ops
Reviewers:
.
Subscribers:

Tasks:

Tags:

Differential Revision: [D20655303](https://our.internmc.facebook.com/intern/diff/D20655303)

[ghstack-poisoned]
jerryzh168 added a commit that referenced this pull request Mar 26, 2020
Summary:
supporting swap dequant for prim::If nodes, this includes detecting
all blocks of prim::If ends with dequantize, deleting these dequantize
and inserting new dequantize for the output of prim::If

Test Plan:
see next PR that enables swap dequant for interpolate: #35130

Reviewers:
.

Subscribers:

Tasks:

Tags:

Differential Revision: [D20655307](https://our.internmc.facebook.com/intern/diff/D20655307)

[ghstack-poisoned]
Summary:

Test Plan:
python test/test_jit.py TestJit.test_swap_dequantize_all_ops
Reviewers:
.
Subscribers:

Tasks:

Tags:

Differential Revision: [D20655303](https://our.internmc.facebook.com/intern/diff/D20655303)

[ghstack-poisoned]
jerryzh168 added a commit that referenced this pull request Mar 27, 2020
Summary:
supporting swap dequant for prim::If nodes, this includes detecting
all blocks of prim::If ends with dequantize, deleting these dequantize
and inserting new dequantize for the output of prim::If

Test Plan:
see next PR that enables swap dequant for interpolate: #35130

Reviewers:
.

Subscribers:

Tasks:

Tags:

Differential Revision: [D20655307](https://our.internmc.facebook.com/intern/diff/D20655307)

[ghstack-poisoned]
Summary:

Test Plan:
python test/test_jit.py TestJit.test_swap_dequantize_all_ops
Reviewers:
.
Subscribers:

Tasks:

Tags:

Differential Revision: [D20655303](https://our.internmc.facebook.com/intern/diff/D20655303)

[ghstack-poisoned]
jerryzh168 added a commit that referenced this pull request Mar 27, 2020
Summary:
supporting swap dequant for prim::If nodes, this includes detecting
all blocks of prim::If ends with dequantize, deleting these dequantize
and inserting new dequantize for the output of prim::If

Test Plan:
see next PR that enables swap dequant for interpolate: #35130

Reviewers:
.

Subscribers:

Tasks:

Tags:

Differential Revision: [D20655307](https://our.internmc.facebook.com/intern/diff/D20655307)

[ghstack-poisoned]
Summary:

Test Plan:
python test/test_jit.py TestJit.test_swap_dequantize_all_ops
Reviewers:
.
Subscribers:

Tasks:

Tags:

Differential Revision: [D20655303](https://our.internmc.facebook.com/intern/diff/D20655303)

[ghstack-poisoned]
jerryzh168 added a commit that referenced this pull request Mar 27, 2020
Summary:
supporting swap dequant for prim::If nodes, this includes detecting
all blocks of prim::If ends with dequantize, deleting these dequantize
and inserting new dequantize for the output of prim::If

Test Plan:
see next PR that enables swap dequant for interpolate: #35130

Reviewers:
.

Subscribers:

Tasks:

Tags:

Differential Revision: [D20655307](https://our.internmc.facebook.com/intern/diff/D20655307)

[ghstack-poisoned]
Summary:

Test Plan:
python test/test_jit.py TestJit.test_swap_dequantize_all_ops
Reviewers:
.
Subscribers:

Tasks:

Tags:

Differential Revision: [D20655303](https://our.internmc.facebook.com/intern/diff/D20655303)

[ghstack-poisoned]
jerryzh168 added a commit that referenced this pull request Mar 27, 2020
Summary:
supporting swap dequant for prim::If nodes, this includes detecting
all blocks of prim::If ends with dequantize, deleting these dequantize
and inserting new dequantize for the output of prim::If

Test Plan:
see next PR that enables swap dequant for interpolate: #35130

Reviewers:
.

Subscribers:

Tasks:

Tags:

Differential Revision: [D20655307](https://our.internmc.facebook.com/intern/diff/D20655307)

[ghstack-poisoned]
Summary:

Test Plan:
python test/test_jit.py TestJit.test_swap_dequantize_all_ops
Reviewers:
.
Subscribers:

Tasks:

Tags:

Differential Revision: [D20655303](https://our.internmc.facebook.com/intern/diff/D20655303)

[ghstack-poisoned]
jerryzh168 added a commit that referenced this pull request Mar 27, 2020
Summary:
supporting swap dequant for prim::If nodes, this includes detecting
all blocks of prim::If ends with dequantize, deleting these dequantize
and inserting new dequantize for the output of prim::If

Test Plan:
see next PR that enables swap dequant for interpolate: #35130

Reviewers:
.

Subscribers:

Tasks:

Tags:

Differential Revision: [D20655307](https://our.internmc.facebook.com/intern/diff/D20655307)

[ghstack-poisoned]
Summary:

Test Plan:
python test/test_jit.py TestJit.test_swap_dequantize_all_ops
Reviewers:
.
Subscribers:

Tasks:

Tags:

Differential Revision: [D20655303](https://our.internmc.facebook.com/intern/diff/D20655303)

[ghstack-poisoned]
jerryzh168 added a commit that referenced this pull request Mar 27, 2020
Summary:
supporting swap dequant for prim::If nodes, this includes detecting
all blocks of prim::If ends with dequantize, deleting these dequantize
and inserting new dequantize for the output of prim::If

Test Plan:
see next PR that enables swap dequant for interpolate: #35130

Reviewers:
.

Subscribers:

Tasks:

Tags:

Differential Revision: [D20655307](https://our.internmc.facebook.com/intern/diff/D20655307)

[ghstack-poisoned]
facebook-github-bot pushed a commit that referenced this pull request Mar 28, 2020
Summary:
Pull Request resolved: #35142

supporting swap dequant for prim::If nodes, this includes detecting
all blocks of prim::If ends with dequantize, deleting these dequantize
and inserting new dequantize for the output of prim::If

Test Plan:
see next PR that enables swap dequant for interpolate: #35130

Imported from OSS

Differential Revision: D20655307

fbshipit-source-id: 4fd53fbde8e169b7d98251e72ca37a29acdeb295
@facebook-github-bot
Copy link
Copy Markdown
Contributor

This pull request has been merged in df27b32.

@facebook-github-bot facebook-github-bot deleted the gh/jerryzh168/259/head branch March 31, 2020 14:18
laurentdupin pushed a commit to laurentdupin/pytorch that referenced this pull request Apr 24, 2026
Summary:
Pull Request resolved: pytorch#35142

supporting swap dequant for prim::If nodes, this includes detecting
all blocks of prim::If ends with dequantize, deleting these dequantize
and inserting new dequantize for the output of prim::If

Test Plan:
see next PR that enables swap dequant for interpolate: pytorch#35130

Imported from OSS

Differential Revision: D20655307

fbshipit-source-id: 4fd53fbde8e169b7d98251e72ca37a29acdeb295
laurentdupin pushed a commit to laurentdupin/pytorch that referenced this pull request Apr 24, 2026
Summary: Pull Request resolved: pytorch#35130

Test Plan:
python test/test_jit.py TestJit.test_swap_dequantize_all_ops

Imported from OSS

Differential Revision: D20655303

fbshipit-source-id: 5ad8c6de28bcabffdfab4c9bc6a61f19f1d061cc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants