IMPORTANT: To view this page as Markdown, append `.md` to the URL (e.g. /max/get-started.md). For the complete documentation index, see llms.txt.
Skip to main content
For the complete documentation index, see llms.txt. Markdown versions of all pages are available by appending .md to any URL (e.g. /max/get-started.md).

Mojo function

is_allreduce_available

def is_allreduce_available() -> Bool

Reports whether the vendor CCL allreduce symbol is loadable at runtime.

Probes the NCCL/RCCL shared library for the ncclAllReduce symbol without calling it. Returns False if the library is absent or the symbol cannot be resolved.

Returns:

Bool: True if ncclAllReduce is available, False otherwise.

Was this page helpful?