Skip to content

Commit 9566c44

Browse files
committed
Generate Python docs from pytorch/pytorch@930de01
1 parent 8e46a39 commit 9566c44

File tree

2,249 files changed

+5354
-7568
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2,249 files changed

+5354
-7568
lines changed

main/.buildinfo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# Sphinx build info version 1
22
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
3-
config: 68e6368acf0a1dd41d95a17c2fc94ebf
3+
config: 09487f121c66074494233ce8fd5783df
44
tags: 645f666f9bcd5a90fca523b33c5a78b7

main/_images/RReLU.png

-4 Bytes
Loading

main/_images/ReduceLROnPlateau.png

-137 Bytes
Loading

main/_sources/generated/exportdb/index.rst.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1162,7 +1162,7 @@ dynamic_shape_map
11621162

11631163
.. note::
11641164

1165-
Tags: :doc:`torch.dynamic-shape <torch.dynamic-shape>`, :doc:`torch.map <torch.map>`
1165+
Tags: :doc:`torch.map <torch.map>`, :doc:`torch.dynamic-shape <torch.dynamic-shape>`
11661166

11671167
Support Level: SUPPORTED
11681168

@@ -1422,7 +1422,7 @@ list_contains
14221422

14231423
.. note::
14241424

1425-
Tags: :doc:`torch.dynamic-shape <torch.dynamic-shape>`, :doc:`python.assert <python.assert>`, :doc:`python.data-structure <python.data-structure>`
1425+
Tags: :doc:`python.assert <python.assert>`, :doc:`python.data-structure <python.data-structure>`, :doc:`torch.dynamic-shape <torch.dynamic-shape>`
14261426

14271427
Support Level: SUPPORTED
14281428

main/_sources/generated/exportdb/python.assert.rst.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ list_contains
6060

6161
.. note::
6262

63-
Tags: :doc:`torch.dynamic-shape <torch.dynamic-shape>`, :doc:`python.assert <python.assert>`, :doc:`python.data-structure <python.data-structure>`
63+
Tags: :doc:`python.assert <python.assert>`, :doc:`python.data-structure <python.data-structure>`, :doc:`torch.dynamic-shape <torch.dynamic-shape>`
6464

6565
Support Level: SUPPORTED
6666

main/_sources/generated/exportdb/python.data-structure.rst.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ list_contains
147147

148148
.. note::
149149

150-
Tags: :doc:`torch.dynamic-shape <torch.dynamic-shape>`, :doc:`python.assert <python.assert>`, :doc:`python.data-structure <python.data-structure>`
150+
Tags: :doc:`python.assert <python.assert>`, :doc:`python.data-structure <python.data-structure>`, :doc:`torch.dynamic-shape <torch.dynamic-shape>`
151151

152152
Support Level: SUPPORTED
153153

main/_sources/generated/exportdb/torch.dynamic-shape.rst.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -535,7 +535,7 @@ dynamic_shape_map
535535

536536
.. note::
537537

538-
Tags: :doc:`torch.dynamic-shape <torch.dynamic-shape>`, :doc:`torch.map <torch.map>`
538+
Tags: :doc:`torch.map <torch.map>`, :doc:`torch.dynamic-shape <torch.dynamic-shape>`
539539

540540
Support Level: SUPPORTED
541541

@@ -756,7 +756,7 @@ list_contains
756756

757757
.. note::
758758

759-
Tags: :doc:`torch.dynamic-shape <torch.dynamic-shape>`, :doc:`python.assert <python.assert>`, :doc:`python.data-structure <python.data-structure>`
759+
Tags: :doc:`python.assert <python.assert>`, :doc:`python.data-structure <python.data-structure>`, :doc:`torch.dynamic-shape <torch.dynamic-shape>`
760760

761761
Support Level: SUPPORTED
762762

main/_sources/generated/exportdb/torch.map.rst.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ dynamic_shape_map
55

66
.. note::
77

8-
Tags: :doc:`torch.dynamic-shape <torch.dynamic-shape>`, :doc:`torch.map <torch.map>`
8+
Tags: :doc:`torch.map <torch.map>`, :doc:`torch.dynamic-shape <torch.dynamic-shape>`
99

1010
Support Level: SUPPORTED
1111

main/_sources/notes/cuda.rst.txt

Lines changed: 0 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -133,44 +133,6 @@ To toggle the TF32 flags off in C++, you can do
133133
at::globalContext().setAllowTF32CuBLAS(false);
134134
at::globalContext().setAllowTF32CuDNN(false);
135135

136-
After Pytorch 2.7, we provide a new sets of APIs to control the TF32 behavior in a more fine-grained way.
137-
We can set float32 precision per backend and per operators. We can also override the global setting for a specific operator.
138-
139-
.. code:: python
140-
141-
torch.backends.fp32_precision = "ieee"
142-
torch.backends.cuda.matmul.fp32_precision = "ieee"
143-
torch.backends.cudnn.fp32_precision = "ieee"
144-
torch.backends.cudnn.conv.fp32_precision = "tf32"
145-
torch.backends.cudnn.rnn.fp32_precision = "tf32"
146-
147-
The fp32_precision can be set to `ieee` or `tf32` for `cuda/cudnn`.
148-
`ieee` fp32_precision indicate that we will use `FP32` as internal computation precision.
149-
`tf32` fp32_precision indicate that we will allow to use `TF32` as internal computation precision.
150-
151-
We can override a generic setting for a specific operator if the fp32_precision is set to `ieee`.
152-
153-
.. code:: python
154-
155-
torch.backends.cudnn.fp32_precision = "tf32"
156-
torch.backends.cudnn.conv.fp32_precision = "ieee"
157-
torch.backends.cudnn.rnn.fp32_precision = "ieee"
158-
159-
We can also override a generic setting for a specific backend if the fp32_precision is set to `ieee`.
160-
161-
.. code:: python
162-
163-
torch.backends.fp32_precision = "tf32"
164-
torch.backends.cudnn.fp32_precision = "ieee"
165-
torch.backends.cudnn.conv.fp32_precision = "ieee"
166-
torch.backends.cudnn.rnn.fp32_precision = "ieee"
167-
168-
For above 2 cases, both `torch.backends.cudnn.conv.fp32_precision` and `torch.backends.cudnn.rnn.fp32_precision`
169-
is overrided to `ieee`.
170-
171-
Old settings are still supported. But we suggest to use the new settings for better control. And we do not support
172-
to use mix of old and new settings.
173-
174136
For more information about TF32, see:
175137

176138
- `TensorFloat-32`_

main/_sources/notes/mkldnn.rst.txt

Lines changed: 0 additions & 102 deletions
This file was deleted.

0 commit comments

Comments
 (0)