From 22e79ee8f3930c39f40f6a1529e41594a607c6b4 Mon Sep 17 00:00:00 2001 From: youkaichao Date: Sun, 14 Jul 2024 23:33:25 -0700 Subject: [PATCH] [doc][misc] doc update (#6439) --- docs/source/getting_started/debugging.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/source/getting_started/debugging.rst b/docs/source/getting_started/debugging.rst index 4cd34769ecfb4..0d03fe93adc61 100644 --- a/docs/source/getting_started/debugging.rst +++ b/docs/source/getting_started/debugging.rst @@ -50,6 +50,8 @@ Here are some common issues that can cause hangs: value = cpu_data.mean().item() assert value == world_size, f"Expected {world_size}, got {value}" + print("sanity check is successful!") + .. tip:: Save the script as ``test.py``. @@ -62,4 +64,6 @@ Here are some common issues that can cause hangs: - is reachable from all nodes - is set before running the script. + If the script runs successfully, you should see the message ``sanity check is successful!``. + If the problem persists, feel free to `open an issue on GitHub `_, with a detailed description of the issue, your environment, and the logs.