Check if a communication backend is available.
Note, this function returns whether MLX has the capability of
instantiating that distributed backend not whether it is possible to
create a communication group. For that purpose one should use
init(strict=True).
- 参数:
backend (str, optional) -- The name of the backend to check for availability.
It takes the same values as init(). Default: "any".
- 返回:
Whether the distributed backend is available.
- 返回类型:
bool