TaskUnschedulableError#

exception ray.exceptions.TaskUnschedulableError(error_message: str)[source]#

Raised when the task cannot be scheduled.

One example is that the node specified through NodeAffinitySchedulingStrategy is dead.

Parameters:

error_message (str) – The reason the task can’t be scheduled.