From 653719940f7c4d908811da415f190465d8c3189d Mon Sep 17 00:00:00 2001 From: Howard Huang Date: Tue, 4 Jun 2024 12:45:28 -0700 Subject: [PATCH] [small] fix link (#2906) --- .../process_group_cpp_extension_tutorial.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/intermediate_source/process_group_cpp_extension_tutorial.rst b/intermediate_source/process_group_cpp_extension_tutorial.rst index 68c1afe459..47379bf881 100644 --- a/intermediate_source/process_group_cpp_extension_tutorial.rst +++ b/intermediate_source/process_group_cpp_extension_tutorial.rst @@ -1,7 +1,7 @@ Customize Process Group Backends Using Cpp Extensions ===================================================== -**Author**: `Howard Huang `, `Feng Tian `__, `Shen Li `__, `Min Si `__ +**Author**: `Howard Huang `__, `Feng Tian `__, `Shen Li `__, `Min Si `__ .. note:: |edit| View and edit this tutorial in `github `__. @@ -100,7 +100,7 @@ repository for the full implementation. // The collective communication APIs without a custom implementation // will error out if invoked by application code. }; - + class WorkDummy : public Work { public: WorkDummy( @@ -266,8 +266,8 @@ After installation, you can conveniently use the ``dummy`` backend when calling `init_process_group `__ as if it is an builtin backend. -We can specify dispatching based on backend by changing the ``backend`` argument of ``init_process_group``. We -can dispatch collective with CPU tensor to ``gloo`` backend and dispatch collective with CUDA tensor to ``dummy`` backend by +We can specify dispatching based on backend by changing the ``backend`` argument of ``init_process_group``. We +can dispatch collective with CPU tensor to ``gloo`` backend and dispatch collective with CUDA tensor to ``dummy`` backend by specifying ``cpu:gloo,cuda:dummy`` as the backend argument. To send all tensors to ``dummy`` backend, we can simply specify ``dummy`` as the backend argument.