From d129d2b5a85b8fb9c161d66b20284441960e3502 Mon Sep 17 00:00:00 2001 From: Zhiyuan Chen Date: Thu, 28 May 2026 15:09:23 +0800 Subject: [PATCH] fix missing standard headers in group_norm_v2 host template APEX_GROUP_NORM=1 builds group_norm_v2_cuda on CUDA >= 12.4. With CUDA 12.8 / GCC 11, compilation fails in gn_cuda_host_template.cuh because std::tuple/std::get/std::make_tuple are used without including . This patch adds the standard headers used directly by the file. --- apex/contrib/csrc/group_norm_v2/gn_cuda_host_template.cuh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/apex/contrib/csrc/group_norm_v2/gn_cuda_host_template.cuh b/apex/contrib/csrc/group_norm_v2/gn_cuda_host_template.cuh index 873239a21..c306516df 100644 --- a/apex/contrib/csrc/group_norm_v2/gn_cuda_host_template.cuh +++ b/apex/contrib/csrc/group_norm_v2/gn_cuda_host_template.cuh @@ -4,8 +4,11 @@ #include #include +#include #include #include +#include +#include #include "gn_cuda_kernel.cuh" #include "gn_utils.hpp"