vllm.v1.attention.ops.rocm_octave_rdna4.splits
¶
Workload-aware, graph-stable split selection with a bounded workspace.
Functions:
-
recommend_splits–Return a power of two in 1..256 without reading device tensor values.
recommend_splits(*, tokens, heads, kv_heads, requests, capacity, page_size, cache_dtype, prefill=False, head_dim, specialized_fast, budget=DEFAULT_WORKSPACE_BYTES)
¶
Return a power of two in 1..256 without reading device tensor values.
The workspace budget bounds FP32 split scratch; one split needs none. Capacity is a host scheduling hint. Kernels use the live causal lengths.