Ray Best Practices

Lists the best practices for Ray.

Stabilize the Head Pod

In the Ray cluster, a head pod has a key role and therefore it should be stable. Hewlett Packard Enterprise recommends not scheduling any workload on the head pod.

The worker nodes handle all workloads in the default deployment of HPE Ezmeral Unified Analytics Software.

To make the head pod stable, when creating the Ray cluster, set

{"num-cpus": "0"} in "rayStartParams" of "headGroupSpec" such that the Ray scheduler skips the head node when scheduling workloads.
NOTE
This is set by default in HPE Ezmeral Unified Analytics Software.