Skip to content

vllm.kernels.helion.ops.dynamic_per_token_scaled_fp8_quant

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 hidden_size among available configs (exact match preferred).
  2. Among the num_tokens values tuned for that hidden_size, 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.