ray.cluster_resources#
- ray.cluster_resources()[source]#
Get the current total cluster resources.
Note that this information can grow stale as nodes are added to or removed from the cluster.
- Returns:
- A dictionary mapping resource name to the total quantity of that
resource in the cluster.
DeveloperAPI: This API may change across minor Ray releases.