eogrow.utils.ray

Modules with Ray-related utilities

eogrow.utils.ray.is_cluster_running(cluster_yaml)[source]

Checks if cluster is running or not.

Parameters:

cluster_yaml (str) –

Return type:

bool

eogrow.utils.ray.start_cluster_if_needed(cluster_yaml)[source]

Starts the cluster if it isn’t already running.

Parameters:

cluster_yaml (str) –

Return type:

None

eogrow.utils.ray.generate_cluster_config_path(config_filename)[source]

Generate the path to the rsynced config on the cluster

Parameters:

config_filename (str) –

Return type:

str