moe_expert_gate_up_shared_fp8

Function moe_expert_gate_up_shared_fp8 

Source
pub fn moe_expert_gate_up_shared_fp8(
    gpu: &dyn GpuBackend,
    kernel: KernelHandle,
    input: DevicePtr,
    gate_weight_ptrs: DevicePtr,
    gate_scale_ptrs: DevicePtr,
    gate_out: DevicePtr,
    up_weight_ptrs: DevicePtr,
    up_scale_ptrs: DevicePtr,
    up_out: DevicePtr,
    expert_indices: DevicePtr,
    sh_gate: &Fp8Weight,
    sh_gate_out: DevicePtr,
    sh_up: &Fp8Weight,
    sh_up_out: DevicePtr,
    n: u32,
    k: u32,
    top_k: u32,
    stream: u64,
) -> Result<()>
Expand description

2026-09-25: FP8 variant of moe_expert_gate_up_shared: two pointer tables per projection (weights, scales) and the shared expert as direct Fp8Weight pointers.