Skip to content

Commit fee83dd

Browse files
Removing the rest of quant related tutorials (#3440)
Summary: continuation of #3432 Test Plan: generated doc in CI Reviewers: Subscribers: Tasks: Tags: Co-authored-by: Alanna Burke <[email protected]>
1 parent 2f4e5c3 commit fee83dd

File tree

6 files changed

+8
-677
lines changed

6 files changed

+8
-677
lines changed

Makefile

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -61,23 +61,6 @@ download:
6161
wget -nv -N https://s3.amazonaws.com/pytorch-tutorial-assets/cornell_movie_dialogs_corpus_v2.zip -P $(DATADIR)
6262
unzip $(ZIPOPTS) $(DATADIR)/cornell_movie_dialogs_corpus_v2.zip -d beginner_source/data/
6363

64-
# Download model for advanced_source/dynamic_quantization_tutorial.py
65-
wget -nv -N https://s3.amazonaws.com/pytorch-tutorial-assets/word_language_model_quantize.pth -P $(DATADIR)
66-
cp $(DATADIR)/word_language_model_quantize.pth advanced_source/data/word_language_model_quantize.pth
67-
68-
# Download data for advanced_source/dynamic_quantization_tutorial.py
69-
wget -nv -N https://s3.amazonaws.com/pytorch-tutorial-assets/wikitext-2.zip -P $(DATADIR)
70-
unzip $(ZIPOPTS) $(DATADIR)/wikitext-2.zip -d advanced_source/data/
71-
72-
# Download model for advanced_source/static_quantization_tutorial.py
73-
wget -nv -N https://download.pytorch.org/models/mobilenet_v2-b0353104.pth -P $(DATADIR)
74-
cp $(DATADIR)/mobilenet_v2-b0353104.pth advanced_source/data/mobilenet_pretrained_float.pth
75-
76-
77-
# Download model for prototype_source/graph_mode_static_quantization_tutorial.py
78-
wget -nv -N https://download.pytorch.org/models/resnet18-5c106cde.pth -P $(DATADIR)
79-
cp $(DATADIR)/resnet18-5c106cde.pth prototype_source/data/resnet18_pretrained_float.pth
80-
8164
# Download PennFudanPed dataset for intermediate_source/torchvision_tutorial.py
8265
wget https://www.cis.upenn.edu/~jshi/ped_html/PennFudanPed.zip -P $(DATADIR)
8366
unzip -o $(DATADIR)/PennFudanPed.zip -d intermediate_source/data/
Binary file not shown.

prototype_source/README.txt

Lines changed: 6 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -4,42 +4,18 @@ Prototype Tutorials
44
Profiling PyTorch RPC-Based Workloads
55
https://github.com/pytorch/tutorials/blob/main/prototype_source/distributed_rpc_profiling.rst
66

7-
2. graph_mode_static_quantization_tutorial.py
8-
Graph Mode Post Training Static Quantization in PyTorch
9-
https://pytorch.org/tutorials/prototype/graph_mode_static_quantization_tutorial.html
10-
11-
3. graph_mode_dynamic_bert_tutorial.rst
12-
Graph Mode Dynamic Quantization on BERT
13-
https://github.com/pytorch/tutorials/blob/main/prototype_source/graph_mode_dynamic_bert_tutorial.rst
14-
15-
4. numeric_suite_tutorial.py
16-
PyTorch Numeric Suite Tutorial
17-
https://github.com/pytorch/tutorials/blob/main/prototype_source/numeric_suite_tutorial.py
18-
19-
5. torchscript_freezing.py
7+
2. torchscript_freezing.py
208
Model Freezing in TorchScript
219
https://github.com/pytorch/tutorials/blob/main/prototype_source/torchscript_freezing.py
2210

23-
6. vulkan_workflow.rst
11+
3. vulkan_workflow.rst
2412
Vulkan Backend User Workflow
25-
https://pytorch.org/tutorials/intermediate/vulkan_workflow.html
26-
27-
7. fx_graph_mode_ptq_static.rst
28-
FX Graph Mode Post Training Static Quantization
29-
https://pytorch.org/tutorials/prototype/fx_graph_mode_ptq_static.html
30-
31-
8. fx_graph_mode_ptq_dynamic.py
32-
FX Graph Mode Post Training Dynamic Quantization
33-
https://pytorch.org/tutorials/prototype/fx_graph_mode_ptq_dynamic.html
34-
35-
9. fx_graph_mode_quant_guide.py
36-
FX Graph Mode Quantization User Guide
37-
https://pytorch.org/tutorials/prototype/fx_graph_mode_quant_guide.html
38-
39-
10 flight_recorder_tutorial.rst
13+
https://pytorch.org/tutorials/prototype/vulkan_workflow.html
14+
15+
4. flight_recorder_tutorial.rst
4016
Flight Recorder User Guide
4117
https://pytorch.org/tutorials/prototype/flight_recorder_tutorial.html
4218

43-
11 python_extension_autoload.rst
19+
5. python_extension_autoload.rst
4420
Autoloading Out-of-Tree Extension
4521
https://pytorch.org/tutorials/prototype/python_extension_autoload.html

0 commit comments

Comments
 (0)