From 83629f263292f71d3cfb7077684e76ef727518ae Mon Sep 17 00:00:00 2001 From: xrip Date: Thu, 3 Sep 2026 12:17:46 +0000 Subject: [PATCH] ggml-cuda: reduce chunked AllReduce launch width --- ggml/src/ggml-cuda/allreduce.cu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ggml/src/ggml-cuda/allreduce.cu b/ggml/src/ggml-cuda/allreduce.cu index 39b23bed7..33395e8af 100644 --- a/ggml/src/ggml-cuda/allreduce.cu +++ b/ggml/src/ggml-cuda/allreduce.cu @@ -74,7 +74,7 @@ static constexpr size_t GGML_CUDA_AR_ARRIVAL_STRIDE = 64; // Number of blocks the chunked kernel launches with. Each block stripes a // disjoint slice of the data and synchronizes through its own arrival-token // slot so multiple SMs can pump PCIe stores in parallel. -static constexpr int GGML_CUDA_AR_KERNEL_BLOCKS = 8; +static constexpr int GGML_CUDA_AR_KERNEL_BLOCKS = 4; // --------------------------------------------------------------------------- // Chunked kernel AllReduce -- 2 GPUs, supports float, half, and bfloat16.