Skip to content

Commit 3f73b3a

Browse files
committed
Generate Python docs from pytorch/pytorch@2236df1
1 parent 78a2fdf commit 3f73b3a

Some content is hidden

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

49 files changed

+170
-169
lines changed

2.6/_images/RReLU.png

-118 Bytes
Loading

2.6/_modules/torch.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -902,9 +902,10 @@ <h1>Source code for torch</h1><div class="highlight"><pre>
902902
<span class="c1"># libtorch_global_deps.so always depends in cudart, check if its installed via wheel</span>
903903
<span class="k">if</span> <span class="s2">&quot;nvidia/cuda_runtime/lib/libcudart.so&quot;</span> <span class="ow">not</span> <span class="ow">in</span> <span class="n">_maps</span><span class="p">:</span>
904904
<span class="k">return</span>
905-
<span class="c1"># If all abovementioned conditions are met, preload nvjitlink and nvrtc</span>
906-
<span class="n">_preload_cuda_deps</span><span class="p">(</span><span class="s2">&quot;nvjitlink&quot;</span><span class="p">,</span> <span class="s2">&quot;libnvJitLink.so.*[0-9]&quot;</span><span class="p">)</span>
905+
<span class="c1"># If all above-mentioned conditions are met, preload nvrtc and nvjitlink</span>
906+
<span class="c1"># Please note that order are important for CUDA-11.8 , as nvjitlink does not exist there</span>
907907
<span class="n">_preload_cuda_deps</span><span class="p">(</span><span class="s2">&quot;cuda_nvrtc&quot;</span><span class="p">,</span> <span class="s2">&quot;libnvrtc.so.*[0-9]&quot;</span><span class="p">)</span>
908+
<span class="n">_preload_cuda_deps</span><span class="p">(</span><span class="s2">&quot;nvjitlink&quot;</span><span class="p">,</span> <span class="s2">&quot;libnvJitLink.so.*[0-9]&quot;</span><span class="p">)</span>
908909
<span class="k">except</span> <span class="ne">Exception</span><span class="p">:</span>
909910
<span class="k">pass</span>
910911

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -458,7 +458,7 @@ cond_closed_over_variable
458458

459459
.. note::
460460

461-
Tags: :doc:`python.closure <python.closure>`, :doc:`torch.cond <torch.cond>`
461+
Tags: :doc:`torch.cond <torch.cond>`, :doc:`python.closure <python.closure>`
462462

463463
Support Level: SUPPORTED
464464

@@ -1286,7 +1286,7 @@ list_contains
12861286

12871287
.. note::
12881288

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

12911291
Support Level: SUPPORTED
12921292

@@ -1936,7 +1936,7 @@ dynamic_shape_round
19361936

19371937
.. note::
19381938

1939-
Tags: :doc:`python.builtin <python.builtin>`, :doc:`torch.dynamic-shape <torch.dynamic-shape>`
1939+
Tags: :doc:`torch.dynamic-shape <torch.dynamic-shape>`, :doc:`python.builtin <python.builtin>`
19401940

19411941
Support Level: NOT_SUPPORTED_YET
19421942

@@ -2109,6 +2109,6 @@ Result:
21092109

21102110
.. code-block::
21112111
2112-
Unsupported: torch.* op returned non-Tensor int call_function <function sym_min at 0x7fdbd4387790>
2112+
Unsupported: torch.* op returned non-Tensor int call_function <function sym_min at 0x7f24bb695790>
21132113
21142114

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

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

5555
.. note::
5656

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

5959
Support Level: SUPPORTED
6060

2.6/_sources/generated/exportdb/python.builtin.rst.txt

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

66
.. note::
77

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

1010
Support Level: NOT_SUPPORTED_YET
1111

2.6/_sources/generated/exportdb/python.closure.rst.txt

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

66
.. note::
77

8-
Tags: :doc:`python.closure <python.closure>`, :doc:`torch.cond <torch.cond>`
8+
Tags: :doc:`torch.cond <torch.cond>`, :doc:`python.closure <python.closure>`
99

1010
Support Level: SUPPORTED
1111

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

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

128128
.. note::
129129

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

132132
Support Level: SUPPORTED
133133

2.6/_sources/generated/exportdb/torch.cond.rst.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ cond_closed_over_variable
251251

252252
.. note::
253253

254-
Tags: :doc:`python.closure <python.closure>`, :doc:`torch.cond <torch.cond>`
254+
Tags: :doc:`torch.cond <torch.cond>`, :doc:`python.closure <python.closure>`
255255

256256
Support Level: SUPPORTED
257257

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -550,7 +550,7 @@ dynamic_shape_round
550550

551551
.. note::
552552

553-
Tags: :doc:`python.builtin <python.builtin>`, :doc:`torch.dynamic-shape <torch.dynamic-shape>`
553+
Tags: :doc:`torch.dynamic-shape <torch.dynamic-shape>`, :doc:`python.builtin <python.builtin>`
554554

555555
Support Level: NOT_SUPPORTED_YET
556556

@@ -694,7 +694,7 @@ list_contains
694694

695695
.. note::
696696

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

699699
Support Level: SUPPORTED
700700

2.6/_sources/generated/exportdb/torch.operator.rst.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,4 @@ Result:
3939

4040
.. code-block::
4141
42-
Unsupported: torch.* op returned non-Tensor int call_function <function sym_min at 0x7fdbd4387790>
42+
Unsupported: torch.* op returned non-Tensor int call_function <function sym_min at 0x7f24bb695790>

0 commit comments

Comments
 (0)