Skip to content

Commit d8afc43

Browse files
yewentao256diegocastanibm
authored andcommitted
Revert "[Refactor] Fix Compile Warning vllm-project#1444-D (vllm-project#21208)" (vllm-project#21384)
Signed-off-by: yewentao256 <[email protected]> Signed-off-by: Diego-Castan <[email protected]>
1 parent 2c3d26b commit d8afc43

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

csrc/moe/topk_softmax_kernels.cu

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
#include <ATen/cuda/CUDAContext.h>
2121
#include <c10/cuda/CUDAGuard.h>
2222
#include "../cuda_compat.h"
23-
#include <cuda/std/functional>
2423

2524
#ifndef USE_ROCM
2625
#include <cub/util_type.cuh>
@@ -63,7 +62,7 @@ __launch_bounds__(TPB) __global__
6362

6463
const int thread_row_offset = blockIdx.x * num_cols;
6564

66-
cuda::std::plus<float> sum;
65+
cub::Sum sum;
6766
float threadData(-FLT_MAX);
6867

6968
// Don't touch finished rows.

0 commit comments

Comments
 (0)