Skip to content

Commit 429bcc1

Browse files
author
TRTorch Github Bot
committed
docs: [Automated] Regenerating documenation for 7ea8c75
Signed-off-by: TRTorch Github Bot <[email protected]>
1 parent 7ea8c75 commit 429bcc1

13 files changed

+119
-63
lines changed

docs/_cpp_api/program_listing_file_cpp_api_include_trtorch_trtorch.h.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -634,6 +634,8 @@ <h1 id="cpp-api-program-listing-file-cpp-api-include-trtorch-trtorch-h--page-roo
634634

635635
<span class="n">std</span><span class="o">::</span><span class="n">vector</span><span class="o">&lt;</span><span class="n">std</span><span class="o">::</span><span class="n">string</span><span class="o">&gt;</span> <span class="n">forced_fallback_ops</span><span class="p">;</span>
636636

637+
<span class="n">std</span><span class="o">::</span><span class="n">vector</span><span class="o">&lt;</span><span class="n">std</span><span class="o">::</span><span class="n">string</span><span class="o">&gt;</span> <span class="n">forced_fallback_modules</span><span class="p">;</span>
638+
637639
<span class="n">TorchFallback</span><span class="p">()</span> <span class="o">=</span> <span class="k">default</span><span class="p">;</span>
638640

639641
<span class="n">TorchFallback</span><span class="p">(</span><span class="kt">bool</span> <span class="n">enabled</span><span class="p">)</span> <span class="o">:</span> <span class="n">enabled</span><span class="p">(</span><span class="n">enabled</span><span class="p">)</span> <span class="p">{}</span>

docs/_cpp_api/structtrtorch_1_1CompileSpec.html

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4828,6 +4828,25 @@ <h2 id="struct-documentation">
48284828
</p>
48294829
</dd>
48304830
</dl>
4831+
<dl class="cpp var">
4832+
<dt id="_CPPv4N7trtorch11CompileSpec13TorchFallback23forced_fallback_modulesE">
4833+
<span class="target" id="structtrtorch_1_1CompileSpec_1_1TorchFallback_1a8a0d2117027e02dc48aa7c7e34a1160e">
4834+
</span>
4835+
std::vector&lt;std::string&gt;
4836+
<code class="sig-name descname">
4837+
forced_fallback_modules
4838+
</code>
4839+
<a class="headerlink" href="#_CPPv4N7trtorch11CompileSpec13TorchFallback23forced_fallback_modulesE" title="Permalink to this definition">
4840+
4841+
</a>
4842+
<br/>
4843+
</dt>
4844+
<dd>
4845+
<p>
4846+
A list of names of modules that will explicitly run in PyTorch.
4847+
</p>
4848+
</dd>
4849+
</dl>
48314850
</div>
48324851
</dd>
48334852
</dl>

docs/_cpp_api/structtrtorch_1_1CompileSpec_1_1TorchFallback.html

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -603,6 +603,22 @@ <h2 id="struct-documentation">
603603
</p>
604604
</dd>
605605
</dl>
606+
<dl class="cpp var">
607+
<dt id="_CPPv4N7trtorch11CompileSpec13TorchFallback23forced_fallback_modulesE">
608+
<span class="target" id="structtrtorch_1_1CompileSpec_1_1TorchFallback_1a8a0d2117027e02dc48aa7c7e34a1160e">
609+
</span>
610+
std::vector&lt;std::string&gt;
611+
<code class="sig-name descname">
612+
forced_fallback_modules
613+
</code>
614+
<br/>
615+
</dt>
616+
<dd>
617+
<p>
618+
A list of names of modules that will explicitly run in PyTorch.
619+
</p>
620+
</dd>
621+
</dl>
606622
</div>
607623
</dd>
608624
</dl>

docs/_notebooks/Resnet50-example.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -714,7 +714,7 @@
714714
</div>
715715
</div>
716716
<p>
717-
<img alt="b84a9326a34f49828a26440267c8a8f2" src="http://developer.download.nvidia.com/compute/machine-learning/frameworks/nvidia_logo.png"/>
717+
<img alt="fc3939487f0b4f3b91608b3bf1251438" src="http://developer.download.nvidia.com/compute/machine-learning/frameworks/nvidia_logo.png"/>
718718
</p>
719719
<section id="TRTorch-Getting-Started---ResNet-50">
720720
<h1 id="notebooks-resnet50-example--page-root">

docs/_notebooks/lenet-getting-started.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -808,7 +808,7 @@
808808
</div>
809809
</div>
810810
<p>
811-
<img alt="4256e9db3c31487ca807f9f7eb3e334b" src="http://developer.download.nvidia.com/compute/machine-learning/frameworks/nvidia_logo.png"/>
811+
<img alt="c0283a7dc17b43f4a6835eab5be9fcca" src="http://developer.download.nvidia.com/compute/machine-learning/frameworks/nvidia_logo.png"/>
812812
</p>
813813
<section id="TRTorch-Getting-Started---LeNet">
814814
<h1 id="notebooks-lenet-getting-started--page-root">

docs/_notebooks/ssd-object-detection-demo.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -828,7 +828,7 @@
828828
</div>
829829
</div>
830830
<p>
831-
<img alt="490068c721f548a99e2e5754c6ec87ed" src="http://developer.download.nvidia.com/compute/machine-learning/frameworks/nvidia_logo.png"/>
831+
<img alt="595bc25f8f8c41568c59cfcd61e7bcd9" src="http://developer.download.nvidia.com/compute/machine-learning/frameworks/nvidia_logo.png"/>
832832
</p>
833833
<section id="Object-Detection-with-TRTorch-(SSD)">
834834
<h1 id="notebooks-ssd-object-detection-demo--page-root">

docs/_sources/_cpp_api/program_listing_file_cpp_api_include_trtorch_trtorch.h.rst.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -249,6 +249,8 @@ Program Listing for File trtorch.h
249249
250250
std::vector<std::string> forced_fallback_ops;
251251
252+
std::vector<std::string> forced_fallback_modules;
253+
252254
TorchFallback() = default;
253255
254256
TorchFallback(bool enabled) : enabled(enabled) {}

docs/_sources/tutorials/installation.rst.txt

Lines changed: 16 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ Install or compile a build of PyTorch/LibTorch for aarch64
237237

238238
NVIDIA hosts builds the latest release branch for Jetson here:
239239

240-
https://forums.developer.nvidia.com/t/pytorch-for-jetson-nano-version-1-5-0-now-available/72048
240+
https://forums.developer.nvidia.com/t/pytorch-for-jetson-version-1-9-0-now-available/72048
241241

242242

243243
Enviorment Setup
@@ -285,29 +285,10 @@ To build natively on aarch64-linux-gnu platform, configure the ``WORKSPACE`` wit
285285
# strip_prefix = "TensorRT-7.1.3.4"
286286
#)
287287
288+
NOTE: You may also need to configure the CUDA version to 10.2 by setting the path for the cuda new_local_repository
288289
289-
2. Disable Python API testing dependencies:
290-
291-
.. code-block:: shell
292-
293-
#pip3_import(
294-
# name = "trtorch_py_deps",
295-
# requirements = "//py:requirements.txt"
296-
#)
297-
298-
#load("@trtorch_py_deps//:requirements.bzl", "pip_install")
299-
#pip_install()
300-
301-
#pip3_import(
302-
# name = "py_test_deps",
303-
# requirements = "//tests/py:requirements.txt"
304-
#)
305-
306-
#load("@py_test_deps//:requirements.bzl", "pip_install")
307-
#pip_install()
308290
309-
310-
3. Configure the correct paths to directory roots containing local dependencies in the ``new_local_repository`` rules:
291+
2. Configure the correct paths to directory roots containing local dependencies in the ``new_local_repository`` rules:
311292

312293
NOTE: If you installed PyTorch using a pip package, the correct path is the path to the root of the python torch package.
313294
In the case that you installed with ``sudo pip install`` this will be ``/usr/local/lib/python3.6/dist-packages/torch``.
@@ -346,19 +327,30 @@ use that library, set the paths to the same path but when you compile make sure
346327
Compile C++ Library and Compiler CLI
347328
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
348329

330+
NOTE: Due to shifting dependency locations between Jetpack 4.5 and 4.6 there is a now a flag to inform bazel of the Jetpack version
331+
332+
.. code-block:: shell
333+
334+
--platforms //toolchains:jetpack_4.x
335+
336+
349337
Compile TRTorch library using bazel command:
350338

351339
.. code-block:: shell
352340
353-
bazel build //:libtrtorch
341+
bazel build //:libtrtorch --platforms //toolchains:jetpack_4.6
354342
355343
Compile Python API
356344
^^^^^^^^^^^^^^^^^^^^
357345

346+
NOTE: Due to shifting dependencies locations between Jetpack 4.5 and Jetpack 4.6 there is now a flag for ``setup.py`` which sets the jetpack version (default: 4.6)
347+
358348
Compile the Python API using the following command from the ``//py`` directory:
359349

360350
.. code-block:: shell
361351
362352
python3 setup.py install --use-cxx11-abi
363353
364-
If you have a build of PyTorch that uses Pre-CXX11 ABI drop the ``--use-cxx11-abi`` flag
354+
If you have a build of PyTorch that uses Pre-CXX11 ABI drop the ``--use-cxx11-abi`` flag
355+
356+
If you are building for Jetpack 4.5 add the ``--jetpack-version 4.5`` flag

docs/genindex.html

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1363,15 +1363,15 @@ <h2 id="T">
13631363
trtorch::CompileSpec::num_avg_timing_iters (C++ member)
13641364
</a>
13651365
</li>
1366-
</ul>
1367-
</td>
1368-
<td style="width: 33%; vertical-align: top;">
1369-
<ul>
13701366
<li>
13711367
<a href="_cpp_api/structtrtorch_1_1CompileSpec.html#_CPPv4N7trtorch11CompileSpec20num_min_timing_itersE">
13721368
trtorch::CompileSpec::num_min_timing_iters (C++ member)
13731369
</a>
13741370
</li>
1371+
</ul>
1372+
</td>
1373+
<td style="width: 33%; vertical-align: top;">
1374+
<ul>
13751375
<li>
13761376
<a href="_cpp_api/structtrtorch_1_1CompileSpec.html#_CPPv4N7trtorch11CompileSpec12op_precisionE">
13771377
trtorch::CompileSpec::op_precision (C++ member)
@@ -1542,6 +1542,15 @@ <h2 id="T">
15421542
[1]
15431543
</a>
15441544
</li>
1545+
<li>
1546+
<a href="_cpp_api/structtrtorch_1_1CompileSpec.html#_CPPv4N7trtorch11CompileSpec13TorchFallback23forced_fallback_modulesE">
1547+
trtorch::CompileSpec::TorchFallback::forced_fallback_modules (C++ member)
1548+
</a>
1549+
,
1550+
<a href="_cpp_api/structtrtorch_1_1CompileSpec_1_1TorchFallback.html#_CPPv4N7trtorch11CompileSpec13TorchFallback23forced_fallback_modulesE">
1551+
[1]
1552+
</a>
1553+
</li>
15451554
<li>
15461555
<a href="_cpp_api/structtrtorch_1_1CompileSpec.html#_CPPv4N7trtorch11CompileSpec13TorchFallback19forced_fallback_opsE">
15471556
trtorch::CompileSpec::TorchFallback::forced_fallback_ops (C++ member)

docs/objects.inv

82 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)