Skip to content

Commit 2ac4407

Browse files
authored
Merge branch 'main' into 2.4-RC-TEST
2 parents 4014c98 + 2f2db74 commit 2ac4407

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

advanced_source/cpp_export.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ minimal ``CMakeLists.txt`` to build it could look as simple as:
203203
204204
add_executable(example-app example-app.cpp)
205205
target_link_libraries(example-app "${TORCH_LIBRARIES}")
206-
set_property(TARGET example-app PROPERTY CXX_STANDARD 14)
206+
set_property(TARGET example-app PROPERTY CXX_STANDARD 17)
207207
208208
The last thing we need to build the example application is the LibTorch
209209
distribution. You can always grab the latest stable release from the `download

advanced_source/super_resolution_with_onnxruntime.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* ``torch.onnx.export`` is based on TorchScript backend and has been available since PyTorch 1.2.0.
1010
1111
In this tutorial, we describe how to convert a model defined
12-
in PyTorch into the ONNX format using the TorchScript ``torch.onnx.export` ONNX exporter.
12+
in PyTorch into the ONNX format using the TorchScript ``torch.onnx.export`` ONNX exporter.
1313
1414
The exported model will be executed with ONNX Runtime.
1515
ONNX Runtime is a performance-focused engine for ONNX models,

intermediate_source/inductor_debug_cpu.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,9 +87,9 @@ def neg1(x):
8787
# +-----------------------------+----------------------------------------------------------------+
8888
# | ``fx_graph_transformed.py`` | Transformed FX graph, after pattern match |
8989
# +-----------------------------+----------------------------------------------------------------+
90-
# | ``ir_post_fusion.txt`` | Inductor IR before fusion |
90+
# | ``ir_pre_fusion.txt`` | Inductor IR before fusion |
9191
# +-----------------------------+----------------------------------------------------------------+
92-
# | ``ir_pre_fusion.txt`` | Inductor IR after fusion |
92+
# | ``ir_post_fusion.txt`` | Inductor IR after fusion |
9393
# +-----------------------------+----------------------------------------------------------------+
9494
# | ``output_code.py`` | Generated Python code for graph, with C++/Triton kernels |
9595
# +-----------------------------+----------------------------------------------------------------+

0 commit comments

Comments
 (0)