vllm.kernels.helion.ops.rms_norm_per_block_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
- Find the closest hidden_size among available configs (exact match preferred).
- Find the closest group_size among available configs (exact match preferred).
- Among the num_tokens values tuned for that hidden_size and group_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.