Skip to content

[quant][graphmode][fx] Fix a condition check for CopyNode#53585

Closed
jerryzh168 wants to merge 3 commits intogh/jerryzh168/569/basefrom
gh/jerryzh168/569/head
Closed

[quant][graphmode][fx] Fix a condition check for CopyNode#53585
jerryzh168 wants to merge 3 commits intogh/jerryzh168/569/basefrom
gh/jerryzh168/569/head

Conversation

@jerryzh168
Copy link
Copy Markdown
Contributor

@jerryzh168 jerryzh168 commented Mar 9, 2021

Stack from ghstack:

Summary:
Previously fp16_static CopyNode would be marked as unquantized because of
an incorrect condition check of whether a Node is statically quantized or not.
This PR fixes that.

Test Plan:

Reviewers:

Subscribers:

Tasks:

Tags:

Differential Revision: D26912677

Summary:
Previously fp16_static CopyNode would be marked as unquantized because of
an incorrect condition check of whether a Node is statically quantized or not.
This PR fixes that.

Test Plan:

Reviewers:

Subscribers:

Tasks:

Tags:

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

facebook-github-bot commented Mar 9, 2021

💊 CI failures summary and remediations

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


  • 3/3 failures possibly* introduced in this PR
    • 1/3 non-scanned failure(s)

🕵️ 1 new failure recognized by patterns

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

See CircleCI build pytorch_linux_xenial_py3_clang5_asan_test1 (1/1)

Step: "Run tests" (full log | diagnosis details | 🔁 rerun)

Mar 11 07:10:12 RuntimeError: test_jit_fuser_te failed!
Mar 11 07:10:12     #164 0x5591f41bdb0d in main /tmp/build/80754af9/python_1614113050744/work/Programs/python.c:69
Mar 11 07:10:12     #165 0x7f27dedad83f in __libc_start_main /build/glibc-e6zv40/glibc-2.23/csu/../csu/libc-start.c:291
Mar 11 07:10:12     #166 0x5591f429cd6f in _start /home/rdonnelly/mc/conda-bld/compilers_linux-64_1534865402226/work/.build/src/glibc-2.12.2/csu/../sysdeps/x86_64/elf/start.S:103
Mar 11 07:10:12 
Mar 11 07:10:12 SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /usr/bin/../lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/bits/stl_iterator.h:802:45 in 
Mar 11 07:10:12 Traceback (most recent call last):
Mar 11 07:10:12   File "test/run_test.py", line 1074, in <module>
Mar 11 07:10:12     main()
Mar 11 07:10:12   File "test/run_test.py", line 1053, in main
Mar 11 07:10:12     raise RuntimeError(err_message)
Mar 11 07:10:12 RuntimeError: test_jit_fuser_te failed!
Mar 11 07:10:13 + cleanup
Mar 11 07:10:13 + retcode=1
Mar 11 07:10:13 + set +x
Mar 11 07:10:13 =================== sccache compilation log ===================
Mar 11 07:10:13 =========== If your build fails, please take a look at the log above for possible reasons ===========
Mar 11 07:10:13 Compile requests                      2
Mar 11 07:10:13 Compile requests executed             0
Mar 11 07:10:13 Cache hits                            0
Mar 11 07:10:13 Cache misses                          0
Mar 11 07:10:13 Cache timeouts                        0

1 failure not recognized by patterns:

Job Step Action
CircleCI pytorch_linux_xenial_py3_clang5_asan_test2 Run tests 🔁 rerun

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 to the (internal) Dr. CI Users group.

Summary:
Previously fp16_static CopyNode would be marked as unquantized because of
an incorrect condition check of whether a Node is statically quantized or not.
This PR fixes that.

Test Plan:

Reviewers:

Subscribers:

Tasks:

Tags:

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

[ghstack-poisoned]
Summary:
Previously fp16_static CopyNode would be marked as unquantized because of
an incorrect condition check of whether a Node is statically quantized or not.
This PR fixes that.

Test Plan:

Reviewers:

Subscribers:

Tasks:

Tags:

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

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

This pull request has been merged in 7484c56.

@facebook-github-bot facebook-github-bot deleted the gh/jerryzh168/569/head branch March 15, 2021 14:17
xsacha pushed a commit to xsacha/pytorch that referenced this pull request Mar 31, 2021
)

Summary:
Pull Request resolved: pytorch#53585

Previously fp16_static CopyNode would be marked as unquantized because of
an incorrect condition check of whether a Node is statically quantized or not.
This PR fixes that.

Test Plan: Imported from OSS

Reviewed By: vkuzo

Differential Revision: D26912677

fbshipit-source-id: 4ddb538714c5ba2db28430de5e1cf2931baf1993
laurentdupin pushed a commit to laurentdupin/pytorch that referenced this pull request Apr 24, 2026
)

Summary:
Pull Request resolved: pytorch#53585

Previously fp16_static CopyNode would be marked as unquantized because of
an incorrect condition check of whether a Node is statically quantized or not.
This PR fixes that.

Test Plan: Imported from OSS

Reviewed By: vkuzo

Differential Revision: D26912677

fbshipit-source-id: 4ddb538714c5ba2db28430de5e1cf2931baf1993
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