From 5cb4d4a49151ed35d9782ff1c1cc7699134ec1ee Mon Sep 17 00:00:00 2001 From: Rohan Varma Date: Tue, 14 Jul 2020 18:51:12 -0700 Subject: [PATCH] update --- recipes_source/distributed_rpc_profiling.rst | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/recipes_source/distributed_rpc_profiling.rst b/recipes_source/distributed_rpc_profiling.rst index 85bd7750df..d43c3a0e21 100644 --- a/recipes_source/distributed_rpc_profiling.rst +++ b/recipes_source/distributed_rpc_profiling.rst @@ -90,12 +90,16 @@ Running the above program should present you with the following output: :: - DEBUG:root:worker0 successfully initialized RPC. DEBUG:root:worker1 successfully initialized RPC. + DEBUG:root:worker0 successfully initialized RPC. + DEBUG:root:Rank 0 waiting for workers and shutting down RPC + DEBUG:root:Rank 1 waiting for workers and shutting down RPC + DEBUG:root:Rank 1 shutdown RPC + DEBUG:root:Rank 0 shutdown RPC Now that we have a skeleton setup of our RPC framework, we can move on to sending RPCs back and forth and using the profiler to obtain a view of what's -happening under the hood. Let's add to the above "worker" function: +happening under the hood. Let's add to the above ``worker`` function: ::