Skip to content

vllm.kernels.helion.ops.silu_mul_fp8

Functions:

pick_silu_mul_fp8_config(args, config_keys)

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

Selection strategy
  1. Find the closest intermediate_size among available configs (exact match preferred).
  2. Among the num_tokens values tuned for that intermediate_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.