Skip to content

vllm.kernels.helion.ops.fused_qk_norm_rope

Functions:

  • pick_config –

    Pick the best pre-tuned config for the given input shape.

pick_config(args, config_keys)

Pick the best pre-tuned config for the given input shape.

Selection strategy
  1. Find the closest q_heads among available configs (exact match preferred).
  2. Find the closest kv_heads among available configs (exact match preferred).
  3. Among the num_tokens values tuned for that q_heads and q_heads, pick the smallest num_tokens >= the input's num_tokens. If the input is larger than all available num_tokens, fall back to the largest.