Skip to content

Commit d73f64e

Browse files
svekarsmikaylagawarecki
authored andcommitted
fix recipe and prototype index (#3476)
* fix recipe and prototype index * Fix first card on deep dive
1 parent 22f76bb commit d73f64e

File tree

4 files changed

+14
-33
lines changed

4 files changed

+14
-33
lines changed

deep-dive.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ and speed.
3434
:header: Profiling PyTorch
3535
:card_description: Learn how to profile a PyTorch application
3636
:link: beginner/profiler.html
37+
:image: _static/img/thumbnails/cropped/pytorch-logo.png
3738
:tags: Profiling
3839

3940
.. customcarditem::

ecosystem.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ to production deployment.
5454
:card_description: This tutorial covers how to run quantized and fused models on a Raspberry Pi 4 at 30 fps.
5555
:image: _static/img/thumbnails/cropped/realtime_rpi.png
5656
:link: intermediate/realtime_rpi.html
57-
:tags: TorchScript,Model-Optimization,Image/Video,Quantization,Ecosystem
57+
:tags: Model-Optimization,Image/Video,Quantization,Ecosystem
5858

5959
.. End of tutorial card section
6060
.. -----------------------------------------

prototype_source/prototype_index.rst

Lines changed: 5 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
Unstable
2-
--------
2+
========
3+
34
API unstable features are not available as part of binary distributions
45
like PyPI or Conda (except maybe behind run-time flags). To test these
56
features we would, depending on the feature, recommend building PyTorch
@@ -14,10 +15,7 @@ decide if we want to upgrade the level of commitment or to fail fast.
1415

1516
.. raw:: html
1617

17-
</div>
18-
</div>
19-
20-
<div id="tutorial-cards-container">
18+
<div id="tutorial-cards-container">
2119

2220
<nav class="navbar navbar-expand-lg navbar-light tutorials-nav col-12">
2321
<div class="tutorial-tags-container">
@@ -43,7 +41,7 @@ decide if we want to upgrade the level of commitment or to fail fast.
4341
.. customcarditem::
4442
:header: (prototype) Accelerating BERT with semi-structured (2:4) sparsity
4543
:card_description: Prune BERT to be 2:4 sparse and accelerate for inference.
46-
:image: _static/img/thumbnails/cropped/generic-pytorch-logo.png
44+
:image: ../_static/img/thumbnails/cropped/generic-pytorch-logo.png
4745
:link: prototype/semi_structured_sparse.html
4846
:tags: Model-Optimiziation
4947

@@ -160,21 +158,12 @@ decide if we want to upgrade the level of commitment or to fail fast.
160158

161159
.. End of tutorial card section
162160
163-
.. raw:: html
164-
165-
</div>
166-
167-
<div class="pagination d-flex justify-content-center"></div>
168-
169-
</div>
170-
171-
</div>
172-
173161
.. -----------------------------------------
174162
.. Page TOC
175163
.. -----------------------------------------
176164
177165
.. toctree::
166+
:maxdepth: 2
178167
:hidden:
179168

180169
/prototype/context_parallel

recipes_source/recipes_index.rst

Lines changed: 7 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
Recipes
2-
---------------------------------------------
3-
Recipes are bite-sized, actionable examples of how to use specific PyTorch features, different from our full-length tutorials.
2+
========
43

5-
.. raw:: html
4+
Recipes are bite-sized, actionable examples of
5+
how to use specific PyTorch features, different
6+
from our full-length tutorials.
67

7-
</div>
8-
</div>
8+
.. raw:: html
99

10-
<div id="tutorial-cards-container">
10+
<div id="tutorial-cards-container">
1111

1212
<nav class="navbar navbar-expand-lg navbar-light tutorials-nav col-12">
1313
<div class="tutorial-tags-container">
@@ -335,20 +335,11 @@ Recipes are bite-sized, actionable examples of how to use specific PyTorch featu
335335

336336
.. End of tutorial card section
337337
338-
.. raw:: html
339-
340-
</div>
341-
342-
<div class="pagination d-flex justify-content-center"></div>
343-
344-
</div>
345-
346-
</div>
347-
348338
.. -----------------------------------------
349339
.. Page TOC
350340
.. -----------------------------------------
351341
.. toctree::
342+
:maxdepth: 2
352343
:hidden:
353344

354345
/recipes/recipes/defining_a_neural_network

0 commit comments

Comments
 (0)