File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -203,7 +203,7 @@ minimal ``CMakeLists.txt`` to build it could look as simple as:
203
203
204
204
add_executable(example-app example-app.cpp)
205
205
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 )
207
207
208
208
The last thing we need to build the example application is the LibTorch
209
209
distribution. You can always grab the latest stable release from the `download
Original file line number Diff line number Diff line change 9
9
* ``torch.onnx.export`` is based on TorchScript backend and has been available since PyTorch 1.2.0.
10
10
11
11
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.
13
13
14
14
The exported model will be executed with ONNX Runtime.
15
15
ONNX Runtime is a performance-focused engine for ONNX models,
Original file line number Diff line number Diff line change @@ -87,9 +87,9 @@ def neg1(x):
87
87
# +-----------------------------+----------------------------------------------------------------+
88
88
# | ``fx_graph_transformed.py`` | Transformed FX graph, after pattern match |
89
89
# +-----------------------------+----------------------------------------------------------------+
90
- # | ``ir_post_fusion .txt`` | Inductor IR before fusion |
90
+ # | ``ir_pre_fusion .txt`` | Inductor IR before fusion |
91
91
# +-----------------------------+----------------------------------------------------------------+
92
- # | ``ir_pre_fusion .txt`` | Inductor IR after fusion |
92
+ # | ``ir_post_fusion .txt`` | Inductor IR after fusion |
93
93
# +-----------------------------+----------------------------------------------------------------+
94
94
# | ``output_code.py`` | Generated Python code for graph, with C++/Triton kernels |
95
95
# +-----------------------------+----------------------------------------------------------------+
Original file line number Diff line number Diff line change @@ -156,4 +156,4 @@ they can be used to describe the layout of devices across the cluster.
156
156
For more information, please see the following:
157
157
158
158
- `2D parallel combining Tensor/Sequance Parallel with FSDP <https://github.com/pytorch/examples/blob/main/distributed/tensor_parallelism/fsdp_tp_example.py >`__
159
- - `Composable PyTorch Distributed with PT2 <chrome-extension://efaidnbmnnnibpcajpcglclefindmkaj/ https://static.sched.com/hosted_files/pytorch2023/d1/%5BPTC%2023%5D%20Composable%20PyTorch%20Distributed%20with%20PT2.pdf >`__
159
+ - `Composable PyTorch Distributed with PT2 <https://static.sched.com/hosted_files/pytorch2023/d1/%5BPTC%2023%5D%20Composable%20PyTorch%20Distributed%20with%20PT2.pdf >`__
You can’t perform that action at this time.
0 commit comments