Skip to content

Add graph mode static quantization tutorial #1070

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 36 commits into from
Jul 28, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
353174f
Add TorchScript fork/join tutorial
Jun 11, 2020
28f044e
Merge pull request #1021 from jamesr66a/fork_join
Jun 18, 2020
4e97bce
Add note about zipfile format in serialization tutorial
Jun 19, 2020
90f4771
Merge pull request #1036 from jamesr66a/save_note
Jun 19, 2020
823ddca
Profiler recipe (#1019)
ilia-cher Jun 23, 2020
910dfa9
[mobile] Mobile Perf Recipe
IvanKobzarev Jun 16, 2020
7b182fe
Merge branch 'master' into recipe_mobile_perf
Jun 24, 2020
6285b8f
Merge pull request #1031 from IvanKobzarev/recipe_mobile_perf
Jun 24, 2020
02aef1d
Minor syntax edits to mobile perf recipe
Jun 30, 2020
d64b9aa
Remove built files
Jun 30, 2020
8e4e379
[android] android native app recipe
IvanKobzarev Jun 26, 2020
9cc3ce8
[mobile_perf][recipe] Add ChannelsLast recommendation
IvanKobzarev Jun 26, 2020
a79c227
Merge branch 'master' into recipe_aarlink_customop
Jul 2, 2020
7b615c1
Merge pull request #1041 from IvanKobzarev/recipe_aarlink_customop
Jul 2, 2020
e6ac673
Merge branch 'release/1.6' into mobile_perf_channels_last
Jul 2, 2020
86b5c4a
Adding distributed pipeline parallel tutorial
Apr 11, 2020
fff3fba
Merge pull request #1042 from IvanKobzarev/mobile_perf_channels_last
Jul 2, 2020
dec681d
Merge pull request #948 from mrshenli/pipeline
Jul 2, 2020
f0be561
Add async execution tutorials
mrshenli Jun 30, 2020
aef2568
Merge pull request #1045 from mrshenli/batch
Jul 3, 2020
51abc6a
Fix code block in pipeline tutorial
mrshenli Jul 4, 2020
2f3ab79
Merge pull request #1050 from mrshenli/fix
Jul 4, 2020
f8465c3
Adding an Overview Page for PyTorch Distributed (#1056)
mrshenli Jul 9, 2020
d766eeb
[Mobile Perf Recipe] Add the benchmarking part for iOS (#1055)
xta0 Jul 13, 2020
2f91691
Graph mode static quantization tutorial
jerryzh168 Jul 15, 2020
569e96f
RPC profiling recipe (#1068)
rohan-varma Jul 15, 2020
5aa9d48
Push latest changes from master into release/1.6 (#1074)
Jul 16, 2020
bfb3bb5
Tutorial for DDP + RPC (#1071)
pritamdamania87 Jul 16, 2020
ac13646
Merge branch 'release/1.6' into graph-mode-static-tutorial
Jul 17, 2020
f9f3088
Make RPC profiling recipe into prototype tutorial (#1078)
Jul 21, 2020
c8e79e1
Add RPC tutorial
Jul 21, 2020
f2c549d
Update to include recipes
Jul 21, 2020
2822279
Merge branch 'release/1.6' into graph-mode-static-tutorial
Jul 21, 2020
9e00ce3
Graph mode static quantization tutorial
jerryzh168 Jul 15, 2020
27d9eb4
Merge branch 'graph-mode-static-tutorial' of github.com:jerryzh168/tu…
jerryzh168 Jul 22, 2020
043b8cd
Merge branch 'master' into graph-mode-static-tutorial
Jul 28, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ download:
mkdir -p advanced_source/data
mkdir -p beginner_source/data
mkdir -p intermediate_source/data
mkdir -p prototype_source/data

# transfer learning tutorial data
wget -N https://download.pytorch.org/tutorial/hymenoptera_data.zip -P $(DATADIR)
Expand Down Expand Up @@ -100,6 +101,14 @@ download:
wget -N https://s3.amazonaws.com/pytorch-tutorial-assets/imagenet_1k.zip -P $(DATADIR)
unzip $(ZIPOPTS) $(DATADIR)/imagenet_1k.zip -d advanced_source/data/

# Download model for prototype_source/graph_mode_static_quantization_tutorial.py
wget -N https://download.pytorch.org/models/resnet18-5c106cde.pth -P $(DATADIR)
cp $(DATADIR)/resnet18-5c106cde.pth prototype_source/data/resnet18_pretrained_float.pth

# Download dataset for prototype_source/graph_mode_static_quantization_tutorial.py
wget -N https://s3.amazonaws.com/pytorch-tutorial-assets/imagenet_1k.zip -P $(DATADIR)
unzip $(ZIPOPTS) $(DATADIR)/imagenet_1k.zip -d prototype_source/data/

docs:
make download
make html
Expand Down
4 changes: 4 additions & 0 deletions prototype_source/README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,7 @@ Prototype Tutorials
1. distributed_rpc_profiling.rst
Profiling PyTorch RPC-Based Workloads
https://github.com/pytorch/tutorials/blob/release/1.6/prototype_source/distributed_rpc_profiling.rst

2. graph_mode_static_quantization_tutorial.py
Graph Mode Post Training Static Quantization in PyTorch
https://pytorch.org/tutorials/prototype/graph_mode_static_quantization_tutorial.html
Loading