You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Core] Add Warning Log for the Infeasible Task Early Termination Feature (#51364)
This PR adds logs for the notification of the infeasible task early
termination feature.
Whenever there are more infeasible requests than what exists in
autoscaling state, we will print the warning describe the infeasible
task behavior and suggest to edit the cluster config or enable
infeasible task early termination feature.
Th log is tested manually and the following shows up in `gcs.out`:
```
[2025-03-13 23:06:14,518 W 42352 3849655] (gcs_server) gcs_autoscaler_state_manager.cc:72: There are tasks with infeasible resource requests and won't be scheduled. See https://docs.ray.io/en/latest/ray-core/scheduling/index.html#ray-scheduling-resources for more details. Please consider taking the following actions to solve the issue: 1. Updating the ray cluster to include nodes with all required resources in order to let the tasks be scheduled. 2. To prevent the tasks from hanging, you can consider enabling the infeasible task early exit feature by setting the 'enable_infeasible_task_early_exit' system config to 'true'.In a future release of Ray, we are planning to enable infeasible task early exit by default.
```
---------
Signed-off-by: Mengjin Yan <mengjinyan3@gmail.com>
Co-authored-by: Edward Oakes <ed.nmi.oakes@gmail.com>
0 commit comments