Skip to content

Commit

Permalink
Parametrizations tutorial (pytorch#1444)
Browse files Browse the repository at this point in the history
* Parametrizaitons tutorial

* Add remove_parametrization

* Correct name

* minor

* Proper version number

* Fuzzy spellcheck

* version

* Remove _tutorial from name

* Forgot to add the file...

* Rename parametrizations_tutorial by parametrizations everywhere
Add Alban's suggestions
Correct the code
Beter spacing after enumeration

* Minor

* Add more comments

* Minor

* Prefer unicode over math

* Minor

* minor

* Corrections

Co-authored-by: Brian Johnson <brianjo@fb.com>
  • Loading branch information
lezcano and brianjo committed Apr 19, 2021
1 parent bf91385 commit dc5c41c
Show file tree
Hide file tree
Showing 4 changed files with 396 additions and 1 deletion.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 8 additions & 0 deletions index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -324,6 +324,13 @@ Welcome to PyTorch Tutorials
:link: beginner/hyperparameter_tuning_tutorial.html
:tags: Model-Optimization,Best-Practice

.. customcarditem::
:header: Parametrizations Tutorial
:card_description: Learn how to use torch.nn.utils.parametrize to put constriants on your parameters (e.g. make them orthogonal, symmetric positive definite, low-rank...)
:image: _static/img/thumbnails/cropped/parametrizations.png
:link: intermediate/parametrizations.html
:tags: Model-Optimization,Best-Practice

.. customcarditem::
:header: Pruning Tutorial
:card_description: Learn how to use torch.nn.utils.prune to sparsify your neural networks, and how to extend it to implement your own custom pruning technique.
Expand Down Expand Up @@ -620,6 +627,7 @@ Additional Resources

beginner/profiler
beginner/hyperparameter_tuning_tutorial
intermediate/parametrizations
intermediate/pruning_tutorial
advanced/dynamic_quantization_tutorial
intermediate/dynamic_quantization_bert_tutorial
Expand Down

0 comments on commit dc5c41c

Please sign in to comment.