Skip to content

[feature] Add a option for launching the ray-head with num_cpus=0 #12

Description

@valayDave

From Ray Docs

Ray resources are logical and don’t need to have 1-to-1 mapping with physical resources. For example, you can start a Ray head node with 0 logical CPUs via ray start --head --num-cpus=0 even if it physically has eight (This signals the Ray scheduler to not schedule any tasks or actors that require logical CPU resources on the head node, mainly to reserve the head node for running Ray system processes.). They are mainly used for admission control during scheduling.

for very large gang sizes, it may become important to ensure that the control task runs only the "user code" and the "head node", and the ray head node schedules no tasks on the "control node" (Node which has the UBF_CONTEXT == "control").

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions