├── .DS_Store ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── LICENSE ├── Quant_101.ipynb ├── Quant_API.ipynb ├── Quant_Workflow.ipynb ├── Quantization_Slides.pdf ├── README.md ├── code └── 101 │ ├── latency.py │ ├── output_range.py │ ├── prof.py │ ├── qparams.py │ ├── roundfail.txt │ └── sizeof.py ├── img ├── affine-symmetric.png ├── flowchart-check1.png ├── flowchart-check2.png ├── flowchart-check3.png ├── flowchart-check4.png ├── flowchart-check5.png ├── flowchart-check6.png ├── flowchart-check7_1.png ├── flowchart-check7_2.png ├── flowchart-check8.png ├── flowchart-check9.png ├── ns.png ├── observer.png ├── per_t_c.png ├── ptq-flowchart.png ├── ptq-flowchart.svg ├── ptq-fx-flowchart.png ├── q_scheme.png ├── quant_dequant.png ├── quantization-flowchart.png ├── scaling.png └── swan-3299528_1280.jpeg └── resnet_cifar.py /.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fbsamples/pytorch-quantization-workshop/HEAD/.DS_Store -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fbsamples/pytorch-quantization-workshop/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fbsamples/pytorch-quantization-workshop/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fbsamples/pytorch-quantization-workshop/HEAD/LICENSE -------------------------------------------------------------------------------- /Quant_101.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fbsamples/pytorch-quantization-workshop/HEAD/Quant_101.ipynb -------------------------------------------------------------------------------- /Quant_API.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fbsamples/pytorch-quantization-workshop/HEAD/Quant_API.ipynb -------------------------------------------------------------------------------- /Quant_Workflow.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fbsamples/pytorch-quantization-workshop/HEAD/Quant_Workflow.ipynb -------------------------------------------------------------------------------- /Quantization_Slides.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fbsamples/pytorch-quantization-workshop/HEAD/Quantization_Slides.pdf -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fbsamples/pytorch-quantization-workshop/HEAD/README.md -------------------------------------------------------------------------------- /code/101/latency.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fbsamples/pytorch-quantization-workshop/HEAD/code/101/latency.py -------------------------------------------------------------------------------- /code/101/output_range.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fbsamples/pytorch-quantization-workshop/HEAD/code/101/output_range.py -------------------------------------------------------------------------------- /code/101/prof.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fbsamples/pytorch-quantization-workshop/HEAD/code/101/prof.py -------------------------------------------------------------------------------- /code/101/qparams.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fbsamples/pytorch-quantization-workshop/HEAD/code/101/qparams.py -------------------------------------------------------------------------------- /code/101/roundfail.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fbsamples/pytorch-quantization-workshop/HEAD/code/101/roundfail.txt -------------------------------------------------------------------------------- /code/101/sizeof.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fbsamples/pytorch-quantization-workshop/HEAD/code/101/sizeof.py -------------------------------------------------------------------------------- /img/affine-symmetric.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fbsamples/pytorch-quantization-workshop/HEAD/img/affine-symmetric.png -------------------------------------------------------------------------------- /img/flowchart-check1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fbsamples/pytorch-quantization-workshop/HEAD/img/flowchart-check1.png -------------------------------------------------------------------------------- /img/flowchart-check2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fbsamples/pytorch-quantization-workshop/HEAD/img/flowchart-check2.png -------------------------------------------------------------------------------- /img/flowchart-check3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fbsamples/pytorch-quantization-workshop/HEAD/img/flowchart-check3.png -------------------------------------------------------------------------------- /img/flowchart-check4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fbsamples/pytorch-quantization-workshop/HEAD/img/flowchart-check4.png -------------------------------------------------------------------------------- /img/flowchart-check5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fbsamples/pytorch-quantization-workshop/HEAD/img/flowchart-check5.png -------------------------------------------------------------------------------- /img/flowchart-check6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fbsamples/pytorch-quantization-workshop/HEAD/img/flowchart-check6.png -------------------------------------------------------------------------------- /img/flowchart-check7_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fbsamples/pytorch-quantization-workshop/HEAD/img/flowchart-check7_1.png -------------------------------------------------------------------------------- /img/flowchart-check7_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fbsamples/pytorch-quantization-workshop/HEAD/img/flowchart-check7_2.png -------------------------------------------------------------------------------- /img/flowchart-check8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fbsamples/pytorch-quantization-workshop/HEAD/img/flowchart-check8.png -------------------------------------------------------------------------------- /img/flowchart-check9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fbsamples/pytorch-quantization-workshop/HEAD/img/flowchart-check9.png -------------------------------------------------------------------------------- /img/ns.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fbsamples/pytorch-quantization-workshop/HEAD/img/ns.png -------------------------------------------------------------------------------- /img/observer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fbsamples/pytorch-quantization-workshop/HEAD/img/observer.png -------------------------------------------------------------------------------- /img/per_t_c.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fbsamples/pytorch-quantization-workshop/HEAD/img/per_t_c.png -------------------------------------------------------------------------------- /img/ptq-flowchart.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fbsamples/pytorch-quantization-workshop/HEAD/img/ptq-flowchart.png -------------------------------------------------------------------------------- /img/ptq-flowchart.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fbsamples/pytorch-quantization-workshop/HEAD/img/ptq-flowchart.svg -------------------------------------------------------------------------------- /img/ptq-fx-flowchart.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fbsamples/pytorch-quantization-workshop/HEAD/img/ptq-fx-flowchart.png -------------------------------------------------------------------------------- /img/q_scheme.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fbsamples/pytorch-quantization-workshop/HEAD/img/q_scheme.png -------------------------------------------------------------------------------- /img/quant_dequant.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fbsamples/pytorch-quantization-workshop/HEAD/img/quant_dequant.png -------------------------------------------------------------------------------- /img/quantization-flowchart.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fbsamples/pytorch-quantization-workshop/HEAD/img/quantization-flowchart.png -------------------------------------------------------------------------------- /img/scaling.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fbsamples/pytorch-quantization-workshop/HEAD/img/scaling.png -------------------------------------------------------------------------------- /img/swan-3299528_1280.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fbsamples/pytorch-quantization-workshop/HEAD/img/swan-3299528_1280.jpeg -------------------------------------------------------------------------------- /resnet_cifar.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fbsamples/pytorch-quantization-workshop/HEAD/resnet_cifar.py --------------------------------------------------------------------------------