Skip to content

Commit 91a85ad

Browse files
committed
update compilation error
1 parent 31b0df0 commit 91a85ad

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

csrc/fused_moe/cutlass_backend/cutlass_fused_moe_kernels.cuh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2312,12 +2312,14 @@ void doActivation(T* output, GemmOutputType const* gemm_result, float const* fp8
23122312
};
23132313
return fn_list[static_cast<int>(activation_type.activation_type)];
23142314
};
2315+
#ifdef ENABLE_FP4
23152316
auto NVFP4 = tensorrt_llm::common::ConstExprWrapper<
23162317
TmaWarpSpecializedGroupedGemmInput::FpXBlockScalingType,
23172318
TmaWarpSpecializedGroupedGemmInput::FpXBlockScalingType::NVFP4>{};
23182319
auto MXFPX = tensorrt_llm::common::ConstExprWrapper<
23192320
TmaWarpSpecializedGroupedGemmInput::FpXBlockScalingType,
23202321
TmaWarpSpecializedGroupedGemmInput::FpXBlockScalingType::MXFPX>{};
2322+
#endif
23212323
auto NONE = tensorrt_llm::common::ConstExprWrapper<
23222324
TmaWarpSpecializedGroupedGemmInput::FpXBlockScalingType,
23232325
TmaWarpSpecializedGroupedGemmInput::FpXBlockScalingType::NONE>{};

0 commit comments

Comments
 (0)