Skip to content

Commit

Permalink
auto-generating sphinx docs
Browse files Browse the repository at this point in the history
  • Loading branch information
pytorchbot committed Jun 18, 2024
1 parent 9f406d8 commit 02a5157
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 14 deletions.
Binary file not shown.
Binary file not shown.
6 changes: 3 additions & 3 deletions main/_modules/torchao/quantization/GPTQ.html
Original file line number Diff line number Diff line change
Expand Up @@ -1395,9 +1395,9 @@ <h1>Source code for torchao.quantization.GPTQ</h1><div class="highlight"><pre>
<span class="k">class</span> <span class="nc">Int8DynActInt4WeightGPTQQuantizer</span><span class="p">(</span><span class="n">GPTQQuantizer</span><span class="p">):</span>
<span class="k">def</span> <span class="fm">__init__</span><span class="p">(</span>
<span class="bp">self</span><span class="p">,</span>
<span class="n">blocksize</span><span class="p">,</span>
<span class="n">percdamp</span><span class="p">,</span>
<span class="n">groupsize</span><span class="p">,</span>
<span class="n">blocksize</span><span class="o">=</span><span class="mi">128</span><span class="p">,</span>
<span class="n">percdamp</span><span class="o">=</span><span class="mf">.01</span><span class="p">,</span>
<span class="n">groupsize</span><span class="o">=</span><span class="mi">64</span><span class="p">,</span>
<span class="n">inner_k_tiles</span><span class="o">=</span><span class="mi">8</span><span class="p">,</span>
<span class="n">padding_allowed</span><span class="o">=</span><span class="kc">True</span><span class="p">,</span>
<span class="n">precision</span><span class="o">=</span><span class="n">torch</span><span class="o">.</span><span class="n">float32</span><span class="p">,</span>
Expand Down
10 changes: 5 additions & 5 deletions main/_sources/tutorials/template_tutorial.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,11 @@ Example code (the output below is generated automatically):

.. code-block:: none
tensor([[0.8015, 0.5035, 0.5101],
[0.9681, 0.8092, 0.7989],
[0.1517, 0.2989, 0.3758],
[0.3592, 0.7303, 0.9906],
[0.1469, 0.9399, 0.2112]])
tensor([[0.7118, 0.9005, 0.8129],
[0.6297, 0.7303, 0.6809],
[0.4538, 0.7661, 0.4861],
[0.4982, 0.9332, 0.1040],
[0.7134, 0.1163, 0.1051]])
Expand Down
2 changes: 1 addition & 1 deletion main/searchindex.js

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions main/tutorials/template_tutorial.html
Original file line number Diff line number Diff line change
Expand Up @@ -410,11 +410,11 @@ <h2>Steps<a class="headerlink" href="#steps" title="Permalink to this heading">
<span class="nb">print</span><span class="p">(</span><a href="https://pytorch.org/docs/stable/tensors.html#torch.Tensor" title="torch.Tensor" class="sphx-glr-backref-module-torch sphx-glr-backref-type-py-class sphx-glr-backref-instance"><span class="n">x</span></a><span class="p">)</span>
</pre></div>
</div>
<div class="sphx-glr-script-out highlight-none notranslate"><div class="highlight"><pre><span></span>tensor([[0.8015, 0.5035, 0.5101],
[0.9681, 0.8092, 0.7989],
[0.1517, 0.2989, 0.3758],
[0.3592, 0.7303, 0.9906],
[0.1469, 0.9399, 0.2112]])
<div class="sphx-glr-script-out highlight-none notranslate"><div class="highlight"><pre><span></span>tensor([[0.7118, 0.9005, 0.8129],
[0.6297, 0.7303, 0.6809],
[0.4538, 0.7661, 0.4861],
[0.4982, 0.9332, 0.1040],
[0.7134, 0.1163, 0.1051]])
</pre></div>
</div>
</section>
Expand Down

0 comments on commit 02a5157

Please sign in to comment.