We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 33acaa2 commit 03cac02Copy full SHA for 03cac02
csrc/trtllm_fused_moe_kernel_launcher.cu
@@ -432,6 +432,7 @@ void FusedMoeLauncher::init_common(
432
<< "the value of weight_layout is not recognized";
433
this->weight_layout = static_cast<batchedGemm::gemm::MatrixLayout>(weight_layout);
434
this->activation_type = activation_type;
435
+ this->intermediate_size_factor = isGatedActivation(activation_type) ? 2 : 1;
436
}
437
438
class Bf16MoeLauncher : public FusedMoeLauncher {
0 commit comments