pytorch
8dd1dc89 - [PyTorch][Edge] Adding tests for lite quantized models (#60226)

Commit
4 years ago
[PyTorch][Edge] Adding tests for lite quantized models (#60226) Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/60226 # Context Read this posts for details about why we need a test bench for quantized lite modules https://fb.workplace.com/groups/2322282031156145/permalink/4289792691071726/ # This Diff Adds test cases for Quantized Lite modules ghstack-source-id: 131859101 Test Plan: ``` [ ~/fbsource/fbcode] buck test caffe2/test:mobile -- mobile.test_lite_script_module.TestLiteScriptQuantizedModule Unable to connect to Buck daemon, restarting it... Running with tpx session id: 44cf0b2f-0905-444a-95df-4a2eec774163 Trace available for this run at /tmp/tpx-20210618-093849.343917/trace.log Started reporting to test run: https://www.internalfb.com/intern/testinfra/testrun/7036874461151326 ✓ ListingSuccess: caffe2/test:mobile - main (16.736) ✓ Pass: caffe2/test:mobile - test_two_layer (mobile.test_lite_script_module.TestLiteScriptQuantizedModule) (14.836) ✓ Pass: caffe2/test:mobile - test_annotated_nested (mobile.test_lite_script_module.TestLiteScriptQuantizedModule) (15.073) ✓ Pass: caffe2/test:mobile - test_quantization_example (mobile.test_lite_script_module.TestLiteScriptQuantizedModule) (16.286) ✓ Pass: caffe2/test:mobile - test_single_layer (mobile.test_lite_script_module.TestLiteScriptQuantizedModule) (18.360) Summary Pass: 4 ListingSuccess: 1 ``` https://www.internalfb.com/intern/testinfra/testconsole/testrun/7036874461151326/ Reviewed By: iseeyuan Differential Revision: D29212232 fbshipit-source-id: 8d0b61b3f414e31720f1e3ce681ec8fa716555c1
Author
Parents
Loading