vllm_omni.worker.payload_span ¶
Helpers for explicit thinker decode span metadata.
CACHED_THINKER_DECODE_EMBEDDINGS_KEY module-attribute ¶
CACHED_THINKER_DECODE_TOKEN_END_KEY module-attribute ¶
CACHED_THINKER_DECODE_TOKEN_START_KEY module-attribute ¶
THINKER_DECODE_EMBEDDINGS_KEY module-attribute ¶
THINKER_DECODE_TOKEN_END_KEY module-attribute ¶
THINKER_DECODE_TOKEN_START_KEY module-attribute ¶
THINKER_OUTPUT_TOKEN_IDS_KEY module-attribute ¶
get_tensor_span ¶
get_tensor_span(
payload: Mapping[str, Any],
*,
tensor_key: str,
start_key: str,
end_key: str,
) -> TensorSpan | None
merge_tensor_spans ¶
merge_tensor_spans(
existing_span: TensorSpan | None,
incoming_span: TensorSpan | None,
) -> TensorSpan | None