Skip to content

vllm.model_executor.layers.fused_moe.oracle.int8

Classes:

Functions:

Int8MoEKernelOracle

Bases: MoEKernelOracle[Int8MoeBackend]

INT8 MoE backend selection for one deployment configuration.

_get_priority_backends(moe_config)

Get available backends in priority order based on platform and config.

_humming_int8_weight_schema(weight, weight_scale)

Build the humming compressed-tensors int8 schema from the canonical on-device tensors; humming does the signed-int8 -> native conversion.

convert_to_int8_moe_kernel_format(int8_backend, w13, w2, layer=None, w13_scale=None)

Convert INT8 MoE weights to backend-specific kernel format.

map_int8_backend(runner_backend)

Map user's MoEBackend to Int8MoeBackend.

select_int8_moe_backend(config, weight_key=kInt8StaticChannelSym, activation_key=kInt8DynamicTokenSym)

Select the primary Int8 MoE backend. Note: Shape-specific fallbacks may still occur at runtime. Returns NONE and a placeholder experts class for requantization sources.