IMPORTANT: To view this page as Markdown, append `.md` to the URL (e.g. /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. /get-started.md).

Python function

combine_finish

combine_finish()​

max.nn.ep.combine_finish(config, buffers, tokens, weights, *, total_tokens=None)

source

Waits for each device’s combine that combine_start() launched.

Parameters:

Returns:

As combine().

Raises:

ValueError – If check_supported() rejects config, or if config sets combine_mx_min_tokens without total_tokens.

Return type:

Tensor