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).

Mojo function

is_mixed_launch

def is_mixed_launch(num_draft_tokens: Int, batch: Int, total_len: Int) -> Bool

Whether a launch carries a prefill row beside its verify rows.

Args:

  • โ€‹num_draft_tokens (Int): The step's draft-token count per row.
  • โ€‹batch (Int): The launch's row count.
  • โ€‹total_len (Int): The launch's token count.

Returns:

Bool: True when at least one row is longer than one real token plus its drafts.

Was this page helpful?