Skip to content

[quant] Move quantization tests into test/quantization#35688

Closed
jerryzh168 wants to merge 8 commits intogh/jerryzh168/279/basefrom
gh/jerryzh168/279/head
Closed

[quant] Move quantization tests into test/quantization#35688
jerryzh168 wants to merge 8 commits intogh/jerryzh168/279/basefrom
gh/jerryzh168/279/head

Conversation

@jerryzh168
Copy link
Copy Markdown
Contributor

@jerryzh168 jerryzh168 commented Mar 30, 2020

Stack from ghstack:

Summary:

Test Plan:
.

Reviewers:
.

Subscribers:

Tasks:

Tags:

Differential Revision: D20771828

Summary:

Test Plan:
.

Reviewers:
.

Subscribers:

Tasks:

Tags:

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

dr-ci Bot commented Mar 30, 2020

💊 CircleCI build failures summary and remediations

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


  • 5/5 failures introduced in this PR

🕵️ 5 new failures 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/5)

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

Mar 31 16:20:28 RuntimeError: test_fake_quant failed!
Mar 31 16:20:28 Ran 7 tests in 1.000s 
Mar 31 16:20:28  
Mar 31 16:20:28 OK 
Mar 31 16:20:28 Running test_fake_quant ... [2020-03-31 16:20:28.952019] 
Mar 31 16:20:28 /Users/distiller/workspace/miniconda3/bin/python: can't open file 'test_fake_quant.py': [Errno 2] No such file or directory 
Mar 31 16:20:28 Traceback (most recent call last): 
Mar 31 16:20:28   File "test/run_test.py", line 688, in <module> 
Mar 31 16:20:28     main() 
Mar 31 16:20:28   File "test/run_test.py", line 681, in main 
Mar 31 16:20:28     raise RuntimeError(message) 
Mar 31 16:20:28 RuntimeError: test_fake_quant failed! 
Mar 31 16:20:29 + cleanup 
Mar 31 16:20:29 + retcode=1 
Mar 31 16:20:29 + set +x 

See CircleCI build pytorch_linux_xenial_py3_6_gcc5_4_test (2/5)

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

Mar 31 23:24:58 RuntimeError: test_fake_quant failed!
Mar 31 23:24:58 Ran 7 tests in 2.526s 
Mar 31 23:24:58  
Mar 31 23:24:58 OK 
Mar 31 23:24:58 Running test_fake_quant ... [2020-03-31 23:24:58.488138] 
Mar 31 23:24:58 /opt/conda/bin/python: can't open file 'test_fake_quant.py': [Errno 2] No such file or directory 
Mar 31 23:24:58 Traceback (most recent call last): 
Mar 31 23:24:58   File "test/run_test.py", line 688, in <module> 
Mar 31 23:24:58     main() 
Mar 31 23:24:58   File "test/run_test.py", line 681, in main 
Mar 31 23:24:58     raise RuntimeError(message) 
Mar 31 23:24:58 RuntimeError: test_fake_quant failed! 
Mar 31 23:24:58 =================== sccache compilation log =================== 
Mar 31 23:24:58 + cleanup 
Mar 31 23:24:58 + retcode=1 
Mar 31 23:24:58 + set +x 
Mar 31 23:24:58 ERROR:sccache::server: Compilation failed: Output { status: ExitStatus(ExitStatus(256)), stdout: "", stderr: "/tmp/torch_extensions/test_compilation_error_formatting/main.cpp: In function \'int main()\':\n/tmp/torch_extensions/test_compilation_error_formatting/main.cpp:2:23: error: expected \';\' before \'}\' token\n int main() { return 0 }\n                       ^\n" } 
Mar 31 23:24:58  
Mar 31 23:24:58 =========== If your build fails, please take a look at the log above for possible reasons =========== 
Mar 31 23:24:58 Compile requests                 52 
Mar 31 23:24:58 Compile requests executed        30 
Mar 31 23:24:58 Cache hits                       22 

See CircleCI build pytorch_windows_vs2019_py36_cuda10.1_test2 (3/5)

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

RuntimeError: test_fake_quant failed!
Ran 7 tests in 2.083s 
 
OK 
Running test_fake_quant ... [2020-03-31 23:34:55.984495] 
C:\Jenkins\Miniconda3\python.exe: can't open file 'test_fake_quant.py': [Errno 2] No such file or directory
Traceback (most recent call last): 
  File "run_test.py", line 688, in <module> 
    main() 
  File "run_test.py", line 681, in main 
    raise RuntimeError(message) 
RuntimeError: test_fake_quant failed! 
 
(base) circleci@PACKER-5E70C982 C:\Users\circleci\project\test>if ERRORLEVEL 1 exit /b 1  
+ cleanup
+ retcode=1
+ set +x

See CircleCI build pytorch_linux_xenial_cuda10_2_cudnn7_py3_gcc7_test (4/5)

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

Mar 31 23:54:06 RuntimeError: test_fake_quant failed!
Mar 31 23:54:06 Ran 7 tests in 1.744s 
Mar 31 23:54:06  
Mar 31 23:54:06 OK 
Mar 31 23:54:06 Running test_fake_quant ... [2020-03-31 23:54:06.869468] 
Mar 31 23:54:06 /opt/conda/bin/python: can't open file 'test_fake_quant.py': [Errno 2] No such file or directory 
Mar 31 23:54:06 Traceback (most recent call last): 
Mar 31 23:54:06   File "test/run_test.py", line 688, in <module> 
Mar 31 23:54:06     main() 
Mar 31 23:54:06   File "test/run_test.py", line 681, in main 
Mar 31 23:54:06     raise RuntimeError(message) 
Mar 31 23:54:06 RuntimeError: test_fake_quant failed! 
Mar 31 23:54:07 + cleanup 
Mar 31 23:54:07 + retcode=1 
Mar 31 23:54:07 + set +x 
Mar 31 23:54:07 =================== sccache compilation log =================== 
Mar 31 23:54:07 ERROR:sccache::server: Compilation failed: Output { status: ExitStatus(ExitStatus(256)), stdout: "", stderr: "/tmp/torch_extensions/test_compilation_error_formatting/main.cpp: In function \'int main()\':\n/tmp/torch_extensions/test_compilation_error_formatting/main.cpp:2:23: error: expected \';\' before \'}\' token\n int main() { return 0 }\n                       ^\n" } 
Mar 31 23:54:07  
Mar 31 23:54:07 =========== If your build fails, please take a look at the log above for possible reasons =========== 
Mar 31 23:54:07 Compile requests                169 
Mar 31 23:54:07 Compile requests executed        60 
Mar 31 23:54:07 Cache hits                       45 

See CircleCI build pytorch_linux_xenial_py3_clang5_asan_test (5/5)

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

Apr 01 00:15:34 RuntimeError: test_fake_quant failed!
Apr 01 00:15:34 Ran 7 tests in 2.594s 
Apr 01 00:15:34  
Apr 01 00:15:34 OK 
Apr 01 00:15:34 Running test_fake_quant ... [2020-04-01 00:15:34.831581] 
Apr 01 00:15:34 /opt/conda/bin/python: can't open file 'test_fake_quant.py': [Errno 2] No such file or directory 
Apr 01 00:15:34 Traceback (most recent call last): 
Apr 01 00:15:34   File "test/run_test.py", line 688, in <module> 
Apr 01 00:15:34     main() 
Apr 01 00:15:34   File "test/run_test.py", line 681, in main 
Apr 01 00:15:34     raise RuntimeError(message) 
Apr 01 00:15:34 RuntimeError: test_fake_quant failed! 
Apr 01 00:15:35 + cleanup 
Apr 01 00:15:35 + retcode=1 
Apr 01 00:15:35 + set +x 
Apr 01 00:15:35 =================== sccache compilation log =================== 
Apr 01 00:15:35 =========== If your build fails, please take a look at the log above for possible reasons =========== 
Apr 01 00:15:35 Compile requests                44 
Apr 01 00:15:35 Compile requests executed       23 
Apr 01 00:15:35 Cache hits                      22 
Apr 01 00:15:35 Cache misses                     0 
Apr 01 00:15:35 Cache timeouts                   0 

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 40 times.

Summary:

Test Plan:
.

Reviewers:
.

Subscribers:

Tasks:

Tags:

[ghstack-poisoned]
Summary:

Test Plan:
.

Reviewers:
.

Subscribers:

Tasks:

Tags:

[ghstack-poisoned]
Summary:

Test Plan:
.

Reviewers:
.

Subscribers:

Tasks:

Tags:

[ghstack-poisoned]
Summary:

Test Plan:
.

Reviewers:
.

Subscribers:

Tasks:

Tags:

[ghstack-poisoned]
Copy link
Copy Markdown
Contributor

@supriyar supriyar left a comment

Choose a reason for hiding this comment

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

Looks good. Do we need to update internal TARGETS file as well?

Summary:

Test Plan:
.

Reviewers:
.

Subscribers:

Tasks:

Tags:

[ghstack-poisoned]
Summary:

Test Plan:
.

Reviewers:
.

Subscribers:

Tasks:

Tags:

[ghstack-poisoned]
@jerryzh168
Copy link
Copy Markdown
Contributor Author

I think so, will do

Summary:

Test Plan:
.

Reviewers:
.

Subscribers:

Tasks:

Tags:

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

[ghstack-poisoned]
@suo
Copy link
Copy Markdown
Member

suo commented Apr 1, 2020

@jerryzh168 I am unlanding this PR as it broke master. Looks like the CI failed here and the Dr CI commenter also detected this issue. Please check these before you land in the future :)

@facebook-github-bot
Copy link
Copy Markdown
Contributor

This pull request has been merged in fef6c61.

@facebook-github-bot facebook-github-bot deleted the gh/jerryzh168/279/head branch April 4, 2020 14:17
laurentdupin pushed a commit to laurentdupin/pytorch that referenced this pull request Apr 24, 2026
Summary: Pull Request resolved: pytorch#35688

Test Plan:
.

Imported from OSS

Differential Revision: D20771828

fbshipit-source-id: 5f1df5e86c29f7bdfbdc6563450e909b3bfdc07a
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.

5 participants