From 057232755b52422f4f0c8040154c90ede33ade2d Mon Sep 17 00:00:00 2001 From: Aravinda Kumar <76619616+surprisedPikachu007@users.noreply.github.com> Date: Thu, 11 Jul 2024 01:29:18 +0530 Subject: [PATCH 1/4] Update distributed_device_mesh.rst (#2965) fixed a typo in the link --- recipes_source/distributed_device_mesh.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes_source/distributed_device_mesh.rst b/recipes_source/distributed_device_mesh.rst index dbc4a81043..d41d6c1df1 100644 --- a/recipes_source/distributed_device_mesh.rst +++ b/recipes_source/distributed_device_mesh.rst @@ -156,4 +156,4 @@ they can be used to describe the layout of devices across the cluster. For more information, please see the following: - `2D parallel combining Tensor/Sequance Parallel with FSDP `__ -- `Composable PyTorch Distributed with PT2 `__ +- `Composable PyTorch Distributed with PT2 `__ From c32ce5883b3b9f67f0f345325c69436ece8446bb Mon Sep 17 00:00:00 2001 From: ZincCat <52513999+zinccat@users.noreply.github.com> Date: Mon, 15 Jul 2024 09:43:50 -0700 Subject: [PATCH 2/4] Update cpp_export.rst (#2970) Updated specified c++ version from 14 to 17 --- advanced_source/cpp_export.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/advanced_source/cpp_export.rst b/advanced_source/cpp_export.rst index 5dedbdaaa6..45556a5320 100644 --- a/advanced_source/cpp_export.rst +++ b/advanced_source/cpp_export.rst @@ -203,7 +203,7 @@ minimal ``CMakeLists.txt`` to build it could look as simple as: add_executable(example-app example-app.cpp) target_link_libraries(example-app "${TORCH_LIBRARIES}") - set_property(TARGET example-app PROPERTY CXX_STANDARD 14) + set_property(TARGET example-app PROPERTY CXX_STANDARD 17) The last thing we need to build the example application is the LibTorch distribution. You can always grab the latest stable release from the `download From 5efa2e52aafdd94ef9ae6fbfa8c63fe888a15374 Mon Sep 17 00:00:00 2001 From: Bas Krahmer Date: Wed, 17 Jul 2024 17:22:21 +0200 Subject: [PATCH 3/4] Typo (#2974) Typo --- advanced_source/super_resolution_with_onnxruntime.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/advanced_source/super_resolution_with_onnxruntime.py b/advanced_source/super_resolution_with_onnxruntime.py index ecb0ba4fe4..264678ee17 100644 --- a/advanced_source/super_resolution_with_onnxruntime.py +++ b/advanced_source/super_resolution_with_onnxruntime.py @@ -9,7 +9,7 @@ * ``torch.onnx.export`` is based on TorchScript backend and has been available since PyTorch 1.2.0. In this tutorial, we describe how to convert a model defined -in PyTorch into the ONNX format using the TorchScript ``torch.onnx.export` ONNX exporter. +in PyTorch into the ONNX format using the TorchScript ``torch.onnx.export`` ONNX exporter. The exported model will be executed with ONNX Runtime. ONNX Runtime is a performance-focused engine for ONNX models, From 2f2db747605e73e168d614c4f3a680ab6a286f78 Mon Sep 17 00:00:00 2001 From: Haechan An <48047392+AnHaechan@users.noreply.github.com> Date: Thu, 18 Jul 2024 00:24:08 +0900 Subject: [PATCH 4/4] FIX: typo in inductor_debug_cpu.py (#2938) Co-authored-by: Svetlana Karslioglu --- intermediate_source/inductor_debug_cpu.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/intermediate_source/inductor_debug_cpu.py b/intermediate_source/inductor_debug_cpu.py index 94dee3ba15..370180d968 100644 --- a/intermediate_source/inductor_debug_cpu.py +++ b/intermediate_source/inductor_debug_cpu.py @@ -87,9 +87,9 @@ def neg1(x): # +-----------------------------+----------------------------------------------------------------+ # | ``fx_graph_transformed.py`` | Transformed FX graph, after pattern match | # +-----------------------------+----------------------------------------------------------------+ -# | ``ir_post_fusion.txt`` | Inductor IR before fusion | +# | ``ir_pre_fusion.txt`` | Inductor IR before fusion | # +-----------------------------+----------------------------------------------------------------+ -# | ``ir_pre_fusion.txt`` | Inductor IR after fusion | +# | ``ir_post_fusion.txt`` | Inductor IR after fusion | # +-----------------------------+----------------------------------------------------------------+ # | ``output_code.py`` | Generated Python code for graph, with C++/Triton kernels | # +-----------------------------+----------------------------------------------------------------+