Skip to content

[quant][graphmode][fix] Insert dequantize before use node#34411

Closed
jerryzh168 wants to merge 29 commits intogh/jerryzh168/242/basefrom
gh/jerryzh168/242/head
Closed

[quant][graphmode][fix] Insert dequantize before use node#34411
jerryzh168 wants to merge 29 commits intogh/jerryzh168/242/basefrom
gh/jerryzh168/242/head

Conversation

@jerryzh168
Copy link
Copy Markdown
Contributor

@jerryzh168 jerryzh168 commented Mar 7, 2020

Stack from ghstack:

Summary:
To make sure dequantize and the node that uses the dequantized value reside in the
block, so that we can do quant fusion

Test Plan:
python test/test_jit.py

Reviewers:
.

Subscribers:

Tasks:

Tags:

Differential Revision: D20519603

Summary:
To make sure dequantize and the node that uses the dequantized value reside in the
block, so that we can do quant fusion

Test Plan:
python test/test_jit.py

Reviewers:
.

Subscribers:

Tasks:

Tags:

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

dr-ci Bot commented Mar 7, 2020

💊 CircleCI build failures summary and remediations

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


  • 1/3 failures introduced in this PR

  • 2/3 broken upstream at merge base 11a4041 since Mar 21

    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 new failure recognized by patterns

The following build failures do not appear to be due to upstream breakages:

See CircleCI build pytorch_macos_10_13_py3_test (1/1)

Step: "Test" (full log | pattern match details)

Mar 22 15:14:17 RuntimeError: test_jit_legacy failed!
Mar 22 15:14:17 Ran 2438 tests in 236.944s 
Mar 22 15:14:17  
Mar 22 15:14:17 FAILED (failures=1, skipped=74, expected failures=1) 
Mar 22 15:14:17  
Mar 22 15:14:17 Generating XML reports... 
Mar 22 15:14:17 Traceback (most recent call last): 
Mar 22 15:14:17   File "test/run_test.py", line 682, in <module> 
Mar 22 15:14:17     main() 
Mar 22 15:14:17   File "test/run_test.py", line 675, in main 
Mar 22 15:14:17     raise RuntimeError(message) 
Mar 22 15:14:17 RuntimeError: test_jit_legacy failed! 
Mar 22 15:14:18 + cleanup 
Mar 22 15:14:18 + retcode=1 
Mar 22 15:14:18 + set +x 

🚧 2 upstream failures:

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.

This comment has been revised 129 times.

Summary:
To make sure dequantize and the node that uses the dequantized value reside in the
block, so that we can do quant fusion

Test Plan:
python test/test_jit.py

Reviewers:
.

Subscribers:

Tasks:

Tags:

[ghstack-poisoned]
Summary:
To make sure dequantize and the node that uses the dequantized value reside in the
block, so that we can do quant fusion

Test Plan:
python test/test_jit.py

Reviewers:
.

Subscribers:

Tasks:

Tags:

[ghstack-poisoned]
Summary:
To make sure dequantize and the node that uses the dequantized value reside in the
block, so that we can do quant fusion

Test Plan:
python test/test_jit.py

Reviewers:
.

Subscribers:

Tasks:

Tags:

[ghstack-poisoned]
Summary:
To make sure dequantize and the node that uses the dequantized value reside in the
block, so that we can do quant fusion

Test Plan:
python test/test_jit.py

Reviewers:
.

Subscribers:

Tasks:

Tags:

[ghstack-poisoned]
Summary:
To make sure dequantize and the node that uses the dequantized value reside in the
block, so that we can do quant fusion

Test Plan:
python test/test_jit.py

Reviewers:
.

Subscribers:

Tasks:

Tags:

[ghstack-poisoned]
Summary:
To make sure dequantize and the node that uses the dequantized value reside in the
block, so that we can do quant fusion

Test Plan:
python test/test_jit.py

Reviewers:
.

Subscribers:

Tasks:

Tags:

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

[ghstack-poisoned]
Summary:
To make sure dequantize and the node that uses the dequantized value reside in the
block, so that we can do quant fusion

Test Plan:
python test/test_jit.py

Reviewers:
.

Subscribers:

Tasks:

Tags:

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

[ghstack-poisoned]
Summary:
To make sure dequantize and the node that uses the dequantized value reside in the
block, so that we can do quant fusion

Test Plan:
python test/test_jit.py

Reviewers:
.

Subscribers:

Tasks:

Tags:

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

[ghstack-poisoned]
Summary:
To make sure dequantize and the node that uses the dequantized value reside in the
block, so that we can do quant fusion

Test Plan:
python test/test_jit.py

Reviewers:
.

Subscribers:

Tasks:

Tags:

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

[ghstack-poisoned]
Summary:
To make sure dequantize and the node that uses the dequantized value reside in the
block, so that we can do quant fusion

Test Plan:
python test/test_jit.py

Reviewers:
.

Subscribers:

Tasks:

Tags:

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

[ghstack-poisoned]
Summary:
To make sure dequantize and the node that uses the dequantized value reside in the
block, so that we can do quant fusion

Test Plan:
python test/test_jit.py

Reviewers:
.

Subscribers:

Tasks:

Tags:

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

[ghstack-poisoned]
Summary:
To make sure dequantize and the node that uses the dequantized value reside in the
block, so that we can do quant fusion

Test Plan:
python test/test_jit.py

Reviewers:
.

Subscribers:

Tasks:

Tags:

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

[ghstack-poisoned]
Summary:
To make sure dequantize and the node that uses the dequantized value reside in the
block, so that we can do quant fusion

Test Plan:
python test/test_jit.py

Reviewers:
.

Subscribers:

Tasks:

Tags:

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

[ghstack-poisoned]
Summary:
To make sure dequantize and the node that uses the dequantized value reside in the
block, so that we can do quant fusion

Test Plan:
python test/test_jit.py

Reviewers:
.

Subscribers:

Tasks:

Tags:

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

[ghstack-poisoned]
Summary:
To make sure dequantize and the node that uses the dequantized value reside in the
block, so that we can do quant fusion

Test Plan:
python test/test_jit.py

Reviewers:
.

Subscribers:

Tasks:

Tags:

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

[ghstack-poisoned]
Summary:
To make sure dequantize and the node that uses the dequantized value reside in the
block, so that we can do quant fusion

Test Plan:
python test/test_jit.py

Reviewers:
.

Subscribers:

Tasks:

Tags:

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

[ghstack-poisoned]
Summary:
To make sure dequantize and the node that uses the dequantized value reside in the
block, so that we can do quant fusion

Test Plan:
python test/test_jit.py

Reviewers:
.

Subscribers:

Tasks:

Tags:

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

[ghstack-poisoned]
Summary:
To make sure dequantize and the node that uses the dequantized value reside in the
block, so that we can do quant fusion

Test Plan:
python test/test_jit.py

Reviewers:
.

Subscribers:

Tasks:

Tags:

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

[ghstack-poisoned]
Summary:
To make sure dequantize and the node that uses the dequantized value reside in the
block, so that we can do quant fusion

Test Plan:
python test/test_jit.py

Reviewers:
.

Subscribers:

Tasks:

Tags:

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

[ghstack-poisoned]
Summary:
To make sure dequantize and the node that uses the dequantized value reside in the
block, so that we can do quant fusion

Test Plan:
python test/test_jit.py

Reviewers:
.

Subscribers:

Tasks:

Tags:

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

[ghstack-poisoned]
@facebook-github-bot
Copy link
Copy Markdown
Contributor

This pull request has been merged in 28bf003.

@facebook-github-bot facebook-github-bot deleted the gh/jerryzh168/242/head branch March 27, 2020 14:16
okly366 pushed a commit to okly366/pytorch that referenced this pull request Apr 26, 2020
Summary:
To make sure dequantize and the node that uses the dequantized value reside in the
block, so that we can do quant fusion

Test Plan:
python test/test_jit.py

Reviewers:
.

Subscribers:

Tasks:

Tags:

ghstack-source-id: b613004
Pull Request resolved: pytorch/pytorch#34411
laurentdupin pushed a commit to laurentdupin/pytorch that referenced this pull request Apr 24, 2026
)

Summary:
Pull Request resolved: pytorch#34411

To make sure dequantize and the node that uses the dequantized value reside in the
block, so that we can do quant fusion

Test Plan:
python test/test_jit.py

Imported from OSS

Differential Revision: D20519603

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

Labels

Merged oncall: jit Add this issue/PR to JIT oncall triage queue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants