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.