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_p2p_enabled

def is_p2p_enabled() -> Bool

Checks whether P2P access is available between GPUs.

This is a read-only status check. Callers must ensure enable_p2p() has been called during initialization (e.g., during model setup or via Signals.buffers()) before relying on this function.

Returns:

Bool: True if P2P access is available between all GPU pairs, False otherwise.

Raises:

If the P2P access check fails.