Skip to content

Commit 953eda2

Browse files
author
Jessica Lin
authored
Merge pull request pytorch#369 from jlin27/site
(v2) Add v1.5.0 website changes
2 parents b6553d5 + 785e89a commit 953eda2

File tree

16 files changed

+292
-218
lines changed

16 files changed

+292
-218
lines changed

docs/stable/_modules/torch/distributed/autograd.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ <h1>Source code for torch.distributed.autograd</h1><div class="highlight"><pre>
348348
<span class="k">raise</span> <span class="ne">RuntimeError</span><span class="p">(</span><span class="s2">&quot;Failed to initialize torch.distributed.autograd&quot;</span><span class="p">)</span>
349349

350350

351-
<div class="viewcode-block" id="context"><a class="viewcode-back" href="../../../rpc/rpc.html#torch.distributed.autograd.context">[docs]</a><span class="k">class</span> <span class="nc">context</span><span class="p">(</span><span class="nb">object</span><span class="p">):</span>
351+
<div class="viewcode-block" id="context"><a class="viewcode-back" href="../../../rpc.html#torch.distributed.autograd.context">[docs]</a><span class="k">class</span> <span class="nc">context</span><span class="p">(</span><span class="nb">object</span><span class="p">):</span>
352352
<span class="sd">&#39;&#39;&#39;</span>
353353
<span class="sd"> Context object to wrap forward and backward passes when using</span>
354354
<span class="sd"> distributed autograd. The ``context_id`` generated in the ``with``</span>
@@ -657,4 +657,4 @@ <h2>Resources</h2>
657657
})
658658
</script>
659659
</body>
660-
</html>
660+
</html>

docs/stable/_modules/torch/distributed/optim/optimizer.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,7 @@ <h1>Source code for torch.distributed.optim.optimizer</h1><div class="highlight"
391391
<span class="k">return</span> <span class="n">results</span>
392392

393393

394-
<div class="viewcode-block" id="DistributedOptimizer"><a class="viewcode-back" href="../../../../rpc/rpc.html#torch.distributed.optim.DistributedOptimizer">[docs]</a><span class="k">class</span> <span class="nc">DistributedOptimizer</span><span class="p">:</span>
394+
<div class="viewcode-block" id="DistributedOptimizer"><a class="viewcode-back" href="../../../../rpc.html#torch.distributed.optim.DistributedOptimizer">[docs]</a><span class="k">class</span> <span class="nc">DistributedOptimizer</span><span class="p">:</span>
395395
<span class="sd">&quot;&quot;&quot;</span>
396396
<span class="sd"> DistributedOptimizer takes remote references to parameters scattered</span>
397397
<span class="sd"> across workers and applies the given optimizer locally for each parameter.</span>
@@ -457,7 +457,7 @@ <h1>Source code for torch.distributed.optim.optimizer</h1><div class="highlight"
457457

458458
<span class="bp">self</span><span class="o">.</span><span class="n">remote_optimizers</span> <span class="o">=</span> <span class="n">_wait_for_all</span><span class="p">(</span><span class="n">remote_optim_futs</span><span class="p">)</span>
459459

460-
<div class="viewcode-block" id="DistributedOptimizer.step"><a class="viewcode-back" href="../../../../rpc/rpc.html#torch.distributed.optim.DistributedOptimizer.step">[docs]</a> <span class="k">def</span> <span class="nf">step</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">context_id</span><span class="p">):</span>
460+
<div class="viewcode-block" id="DistributedOptimizer.step"><a class="viewcode-back" href="../../../../rpc.html#torch.distributed.optim.DistributedOptimizer.step">[docs]</a> <span class="k">def</span> <span class="nf">step</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">context_id</span><span class="p">):</span>
461461
<span class="sd">&quot;&quot;&quot;</span>
462462
<span class="sd"> Performs a single optimization step.</span>
463463

@@ -766,4 +766,4 @@ <h2>Resources</h2>
766766
})
767767
</script>
768768
</body>
769-
</html>
769+
</html>

docs/stable/_modules/torch/distributed/rpc.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@ <h1>Source code for torch.distributed.rpc</h1><div class="highlight"><pre>
356356
<span class="kn">from</span> <span class="nn">.api</span> <span class="kn">import</span> <span class="o">*</span> <span class="c1"># noqa: F401</span>
357357
<span class="kn">import</span> <span class="nn">torch.distributed.autograd</span> <span class="k">as</span> <span class="nn">dist_autograd</span>
358358

359-
<div class="viewcode-block" id="init_rpc"><a class="viewcode-back" href="../../../rpc/rpc.html#torch.distributed.rpc.init_rpc">[docs]</a> <span class="k">def</span> <span class="nf">init_rpc</span><span class="p">(</span>
359+
<div class="viewcode-block" id="init_rpc"><a class="viewcode-back" href="../../../rpc.html#torch.distributed.rpc.init_rpc">[docs]</a> <span class="k">def</span> <span class="nf">init_rpc</span><span class="p">(</span>
360360
<span class="n">name</span><span class="p">,</span>
361361
<span class="n">backend</span><span class="o">=</span><span class="n">backend_registry</span><span class="o">.</span><span class="n">BackendType</span><span class="o">.</span><span class="n">PROCESS_GROUP</span><span class="p">,</span>
362362
<span class="n">rank</span><span class="o">=-</span><span class="mi">1</span><span class="p">,</span>
@@ -717,4 +717,4 @@ <h2>Resources</h2>
717717
})
718718
</script>
719719
</body>
720-
</html>
720+
</html>

docs/stable/_modules/torch/distributed/rpc/api.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -530,7 +530,7 @@ <h1>Source code for torch.distributed.rpc.api</h1><div class="highlight"><pre>
530530
<span class="p">)</span>
531531

532532

533-
<div class="viewcode-block" id="shutdown"><a class="viewcode-back" href="../../../../rpc/rpc.html#torch.distributed.rpc.shutdown">[docs]</a><span class="nd">@_require_initialized</span>
533+
<div class="viewcode-block" id="shutdown"><a class="viewcode-back" href="../../../../rpc.html#torch.distributed.rpc.shutdown">[docs]</a><span class="nd">@_require_initialized</span>
534534
<span class="k">def</span> <span class="nf">shutdown</span><span class="p">(</span><span class="n">graceful</span><span class="o">=</span><span class="kc">True</span><span class="p">):</span>
535535
<span class="sa">r</span><span class="sd">&quot;&quot;&quot;</span>
536536
<span class="sd"> Perform a shutdown of the RPC agent, and then destroy the RPC agent. This</span>
@@ -628,7 +628,7 @@ <h1>Source code for torch.distributed.rpc.api</h1><div class="highlight"><pre>
628628
<span class="n">_set_and_start_rpc_agent</span><span class="p">(</span><span class="n">rpc_agent</span><span class="p">)</span>
629629

630630

631-
<div class="viewcode-block" id="get_worker_info"><a class="viewcode-back" href="../../../../rpc/rpc.html#torch.distributed.rpc.get_worker_info">[docs]</a><span class="nd">@_require_initialized</span>
631+
<div class="viewcode-block" id="get_worker_info"><a class="viewcode-back" href="../../../../rpc.html#torch.distributed.rpc.get_worker_info">[docs]</a><span class="nd">@_require_initialized</span>
632632
<span class="k">def</span> <span class="nf">get_worker_info</span><span class="p">(</span><span class="n">worker_name</span><span class="o">=</span><span class="kc">None</span><span class="p">):</span>
633633
<span class="sa">r</span><span class="sd">&quot;&quot;&quot;</span>
634634
<span class="sd"> Get :class:`~torch.distributed.rpc.WorkerInfo` of a given worker name.</span>
@@ -677,7 +677,7 @@ <h1>Source code for torch.distributed.rpc.api</h1><div class="highlight"><pre>
677677
<span class="p">)</span>
678678

679679

680-
<div class="viewcode-block" id="remote"><a class="viewcode-back" href="../../../../rpc/rpc.html#torch.distributed.rpc.remote">[docs]</a><span class="nd">@_require_initialized</span>
680+
<div class="viewcode-block" id="remote"><a class="viewcode-back" href="../../../../rpc.html#torch.distributed.rpc.remote">[docs]</a><span class="nd">@_require_initialized</span>
681681
<span class="k">def</span> <span class="nf">remote</span><span class="p">(</span><span class="n">to</span><span class="p">,</span> <span class="n">func</span><span class="p">,</span> <span class="n">args</span><span class="o">=</span><span class="kc">None</span><span class="p">,</span> <span class="n">kwargs</span><span class="o">=</span><span class="kc">None</span><span class="p">):</span>
682682
<span class="sa">r</span><span class="sd">&quot;&quot;&quot;</span>
683683
<span class="sd"> Make a remote call to run ``func`` on worker ``to`` and return an</span>
@@ -822,7 +822,7 @@ <h1>Source code for torch.distributed.rpc.api</h1><div class="highlight"><pre>
822822
<span class="k">return</span> <span class="n">fut</span>
823823

824824

825-
<div class="viewcode-block" id="rpc_sync"><a class="viewcode-back" href="../../../../rpc/rpc.html#torch.distributed.rpc.rpc_sync">[docs]</a><span class="nd">@_require_initialized</span>
825+
<div class="viewcode-block" id="rpc_sync"><a class="viewcode-back" href="../../../../rpc.html#torch.distributed.rpc.rpc_sync">[docs]</a><span class="nd">@_require_initialized</span>
826826
<span class="k">def</span> <span class="nf">rpc_sync</span><span class="p">(</span><span class="n">to</span><span class="p">,</span> <span class="n">func</span><span class="p">,</span> <span class="n">args</span><span class="o">=</span><span class="kc">None</span><span class="p">,</span> <span class="n">kwargs</span><span class="o">=</span><span class="kc">None</span><span class="p">):</span>
827827
<span class="sa">r</span><span class="sd">&quot;&quot;&quot;</span>
828828
<span class="sd"> Make a blocking RPC call to run function ``func`` on worker ``to``. RPC</span>
@@ -892,7 +892,7 @@ <h1>Source code for torch.distributed.rpc.api</h1><div class="highlight"><pre>
892892
<span class="k">return</span> <span class="n">fut</span><span class="o">.</span><span class="n">wait</span><span class="p">()</span></div>
893893

894894

895-
<div class="viewcode-block" id="rpc_async"><a class="viewcode-back" href="../../../../rpc/rpc.html#torch.distributed.rpc.rpc_async">[docs]</a><span class="nd">@_require_initialized</span>
895+
<div class="viewcode-block" id="rpc_async"><a class="viewcode-back" href="../../../../rpc.html#torch.distributed.rpc.rpc_async">[docs]</a><span class="nd">@_require_initialized</span>
896896
<span class="k">def</span> <span class="nf">rpc_async</span><span class="p">(</span><span class="n">to</span><span class="p">,</span> <span class="n">func</span><span class="p">,</span> <span class="n">args</span><span class="o">=</span><span class="kc">None</span><span class="p">,</span> <span class="n">kwargs</span><span class="o">=</span><span class="kc">None</span><span class="p">):</span>
897897
<span class="sa">r</span><span class="sd">&quot;&quot;&quot;</span>
898898
<span class="sd"> Make a non-blocking RPC call to run function ``func`` on worker ``to``. RPC</span>
@@ -1257,4 +1257,4 @@ <h2>Resources</h2>
12571257
})
12581258
</script>
12591259
</body>
1260-
</html>
1260+
</html>

docs/stable/_sources/community/persons_of_interest.rst.txt

Lines changed: 36 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -95,14 +95,6 @@ MKLDNN
9595
- Junjie Bai (`bddppq <https://github.com/bddppq>`__)
9696
- Yinghai Lu (`yinghai <https://github.com/yinghai>`__)
9797

98-
XLA
99-
~~~
100-
101-
- Ailing Zhang (`ailzhang <https://github.com/ailzhang>`__)
102-
- Gregory Chanan (`gchanan <https://github.com/gchanan>`__)
103-
- Davide Libenzi (`dlibenzi <https://github.com/dlibenzi>`__)
104-
- Alex Suhan (`asuhan <https://github.com/asuhan>`__)
105-
10698
AMD/ROCm/HIP
10799
~~~~~~~~~~~~
108100

@@ -151,3 +143,39 @@ PowerPC
151143
~~~~~~~
152144

153145
- Alfredo Mendoza (`avmgithub <https://github.com/avmgithub>`__)
146+
147+
Library-level maintainers
148+
------------------------
149+
150+
XLA
151+
~~~
152+
153+
- Ailing Zhang (`ailzhang <https://github.com/ailzhang>`__)
154+
- Gregory Chanan (`gchanan <https://github.com/gchanan>`__)
155+
- Davide Libenzi (`dlibenzi <https://github.com/dlibenzi>`__)
156+
- Alex Suhan (`asuhan <https://github.com/asuhan>`__)
157+
158+
TorchServe
159+
~~~~~~~~~~
160+
161+
- Manoj Rao (`mycpuorg <https://github.com/mycpuorg>`__)
162+
- Vamshi Dantu (`vdantu <https://github.com/vdantu>`__)
163+
- Dhanasekar Karuppasamy (`dhanainme <https://github.com/dhanainme>`__)
164+
165+
TorchVision
166+
~~~~~~~~~~~
167+
168+
- Francisco Massa (`fmassa <https://github.com/fmassa>`__)
169+
170+
TorchText
171+
~~~~~~~~~
172+
173+
- Guanheng George Zhang (`zhangguanheng66 <https://github.com/zhangguanheng66>`__)
174+
- Christian Puhrsch (`cpuhrsch <https://github.com/cpuhrsch>`__)
175+
176+
TorchAudio
177+
~~~~~~~~~~
178+
179+
- Vincent QB (`vincentqb <https://github.com/vincentqb>`__)
180+
181+

docs/stable/_sources/quantization.rst.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
Quantization
44
===========================
55

6+
.. warning ::
7+
Quantization is experimental and subject to change.
8+
69
Introduction to Quantization
710
----------------------------
811

docs/stable/_sources/rpc/rpc.rst.txt renamed to docs/stable/_sources/rpc.rst.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ higher-level API to automatically differentiate models split across several
99
machines.
1010

1111
.. warning ::
12-
APIs in the RPC package are stable. There are multiple ongoing work items to improve performance and error handling, which will ship in future releases.
12+
APIs in the RPC package are stable. There are multiple ongoing work items
13+
to improve performance and error handling, which will ship in future releases.
1314
1415
1516
Basics

docs/stable/community/persons_of_interest.html

Lines changed: 48 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -438,15 +438,6 @@ <h3>MKLDNN<a class="headerlink" href="#mkldnn" title="Permalink to this headline
438438
<li><p>Yinghai Lu (<a class="reference external" href="https://github.com/yinghai">yinghai</a>)</p></li>
439439
</ul>
440440
</div>
441-
<div class="section" id="xla">
442-
<h3>XLA<a class="headerlink" href="#xla" title="Permalink to this headline"></a></h3>
443-
<ul class="simple">
444-
<li><p>Ailing Zhang (<a class="reference external" href="https://github.com/ailzhang">ailzhang</a>)</p></li>
445-
<li><p>Gregory Chanan (<a class="reference external" href="https://github.com/gchanan">gchanan</a>)</p></li>
446-
<li><p>Davide Libenzi (<a class="reference external" href="https://github.com/dlibenzi">dlibenzi</a>)</p></li>
447-
<li><p>Alex Suhan (<a class="reference external" href="https://github.com/asuhan">asuhan</a>)</p></li>
448-
</ul>
449-
</div>
450441
<div class="section" id="amd-rocm-hip">
451442
<h3>AMD/ROCm/HIP<a class="headerlink" href="#amd-rocm-hip" title="Permalink to this headline"></a></h3>
452443
<ul class="simple">
@@ -505,6 +496,45 @@ <h3>PowerPC<a class="headerlink" href="#powerpc" title="Permalink to this headli
505496
</ul>
506497
</div>
507498
</div>
499+
<div class="section" id="library-level-maintainers">
500+
<h2>Library-level maintainers<a class="headerlink" href="#library-level-maintainers" title="Permalink to this headline"></a></h2>
501+
<div class="section" id="xla">
502+
<h3>XLA<a class="headerlink" href="#xla" title="Permalink to this headline"></a></h3>
503+
<ul class="simple">
504+
<li><p>Ailing Zhang (<a class="reference external" href="https://github.com/ailzhang">ailzhang</a>)</p></li>
505+
<li><p>Gregory Chanan (<a class="reference external" href="https://github.com/gchanan">gchanan</a>)</p></li>
506+
<li><p>Davide Libenzi (<a class="reference external" href="https://github.com/dlibenzi">dlibenzi</a>)</p></li>
507+
<li><p>Alex Suhan (<a class="reference external" href="https://github.com/asuhan">asuhan</a>)</p></li>
508+
</ul>
509+
</div>
510+
<div class="section" id="torchserve">
511+
<h3>TorchServe<a class="headerlink" href="#torchserve" title="Permalink to this headline"></a></h3>
512+
<ul class="simple">
513+
<li><p>Manoj Rao (<a class="reference external" href="https://github.com/mycpuorg">mycpuorg</a>)</p></li>
514+
<li><p>Vamshi Dantu (<a class="reference external" href="https://github.com/vdantu">vdantu</a>)</p></li>
515+
<li><p>Dhanasekar Karuppasamy (<a class="reference external" href="https://github.com/dhanainme">dhanainme</a>)</p></li>
516+
</ul>
517+
</div>
518+
<div class="section" id="torchvision">
519+
<h3>TorchVision<a class="headerlink" href="#torchvision" title="Permalink to this headline"></a></h3>
520+
<ul class="simple">
521+
<li><p>Francisco Massa (<a class="reference external" href="https://github.com/fmassa">fmassa</a>)</p></li>
522+
</ul>
523+
</div>
524+
<div class="section" id="torchtext">
525+
<h3>TorchText<a class="headerlink" href="#torchtext" title="Permalink to this headline"></a></h3>
526+
<ul class="simple">
527+
<li><p>Guanheng George Zhang (<a class="reference external" href="https://github.com/zhangguanheng66">zhangguanheng66</a>)</p></li>
528+
<li><p>Christian Puhrsch (<a class="reference external" href="https://github.com/cpuhrsch">cpuhrsch</a>)</p></li>
529+
</ul>
530+
</div>
531+
<div class="section" id="torchaudio">
532+
<h3>TorchAudio<a class="headerlink" href="#torchaudio" title="Permalink to this headline"></a></h3>
533+
<ul class="simple">
534+
<li><p>Vincent QB (<a class="reference external" href="https://github.com/vincentqb">vincentqb</a>)</p></li>
535+
</ul>
536+
</div>
537+
</div>
508538
</div>
509539

510540

@@ -562,7 +592,6 @@ <h3>PowerPC<a class="headerlink" href="#powerpc" title="Permalink to this headli
562592
<li><a class="reference internal" href="#cpu-performance-simd">CPU Performance / SIMD</a></li>
563593
<li><a class="reference internal" href="#cuda">CUDA</a></li>
564594
<li><a class="reference internal" href="#mkldnn">MKLDNN</a></li>
565-
<li><a class="reference internal" href="#xla">XLA</a></li>
566595
<li><a class="reference internal" href="#amd-rocm-hip">AMD/ROCm/HIP</a></li>
567596
<li><a class="reference internal" href="#build-ci">Build + CI</a></li>
568597
<li><a class="reference internal" href="#benchmarks">Benchmarks</a></li>
@@ -573,6 +602,14 @@ <h3>PowerPC<a class="headerlink" href="#powerpc" title="Permalink to this headli
573602
<li><a class="reference internal" href="#powerpc">PowerPC</a></li>
574603
</ul>
575604
</li>
605+
<li><a class="reference internal" href="#library-level-maintainers">Library-level maintainers</a><ul>
606+
<li><a class="reference internal" href="#xla">XLA</a></li>
607+
<li><a class="reference internal" href="#torchserve">TorchServe</a></li>
608+
<li><a class="reference internal" href="#torchvision">TorchVision</a></li>
609+
<li><a class="reference internal" href="#torchtext">TorchText</a></li>
610+
<li><a class="reference internal" href="#torchaudio">TorchAudio</a></li>
611+
</ul>
612+
</li>
576613
</ul>
577614
</li>
578615
</ul>
@@ -828,4 +865,4 @@ <h2>Resources</h2>
828865
})
829866
</script>
830867
</body>
831-
</html>
868+
</html>

0 commit comments

Comments
 (0)