is_backend_available#

ray.util.collective.collective.is_backend_available(backend: str) → bool[source]#

Check if a collective backend is available.

Parameters:

backend (str) – The name of the backend to check (e.g., “NCCL”, “GLOO”).

Returns:

True if the backend is available, False otherwise.

Return type:

bool