Ray is a unified framework for scaling AI and Python applications. Ray consists of a core distributed runtime and a set of AI Libraries for accelerating ML workloads.
https://docs.ray.io/en/master/debugging.html?highlight=debugging#debugging
The tutorial on debugging in ray says you can set the environment variables RAY_RAYLET_GDB=1RAY_RAYLET_TMUX=1 to make ray work with gdb. However, you cannot debug on Windows because it is assumed tmux is installed, which is not available.
Reproduction (REQUIRED)
Please provide a script that can be run to reproduce the issue. The script should have no external library dependencies (i.e., use fake or mock data / environments):
Use environment variables RAY_RAYLET_GDB=1RAY_RAYLET_TMUX=1 and run any ray script on Windows.
If we cannot run your script, we cannot fix your issue.
[x] I have verified my script runs in a clean environment and reproduces the issue.
[x] I have verified the issue also occurs with the latest wheels.
We definitely haven't yet added GDB or tmux support for Ray on Windows, but would installing tmux possibly help with this? I haven't tried this, but MSYS2 should have tmux available.
What is the problem?
https://docs.ray.io/en/master/debugging.html?highlight=debugging#debugging The tutorial on debugging in ray says you can set the environment variables
RAY_RAYLET_GDB=1
RAY_RAYLET_TMUX=1
to make ray work with gdb. However, you cannot debug on Windows because it is assumedtmux
is installed, which is not available.Reproduction (REQUIRED)
Please provide a script that can be run to reproduce the issue. The script should have no external library dependencies (i.e., use fake or mock data / environments):
RAY_RAYLET_GDB=1
RAY_RAYLET_TMUX=1
and run any ray script on Windows.If we cannot run your script, we cannot fix your issue.
Related: #9114