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.