Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
change
sglang
Commits
75cd34d1
Commit
75cd34d1
authored
Nov 03, 2025
by
maxiao1
Browse files
change sgl_kernel WARP_SIZE to 64
parent
8fc55263
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
5 additions
and
5 deletions
+5
-5
sgl-kernel/csrc/gemm/qserve_w4a8_per_chn_gemm.cu
sgl-kernel/csrc/gemm/qserve_w4a8_per_chn_gemm.cu
+1
-1
sgl-kernel/csrc/gemm/qserve_w4a8_per_group_gemm.cu
sgl-kernel/csrc/gemm/qserve_w4a8_per_group_gemm.cu
+1
-1
sgl-kernel/csrc/kvcacheio/transfer.cu
sgl-kernel/csrc/kvcacheio/transfer.cu
+1
-1
sgl-kernel/csrc/quantization/gguf/ggml-common.h
sgl-kernel/csrc/quantization/gguf/ggml-common.h
+1
-1
sgl-kernel/include/utils.h
sgl-kernel/include/utils.h
+1
-1
No files found.
sgl-kernel/csrc/gemm/qserve_w4a8_per_chn_gemm.cu
View file @
75cd34d1
...
@@ -25,7 +25,7 @@
...
@@ -25,7 +25,7 @@
#define INTRIN_M 16
#define INTRIN_M 16
#define INTRIN_N 16
#define INTRIN_N 16
#define INTRIN_K 32
#define INTRIN_K 32
#define WARP_SIZE
32
#define WARP_SIZE
64
#define SMEM_PAD_A 0
#define SMEM_PAD_A 0
#define SMEM_PAD_B 0
#define SMEM_PAD_B 0
#define PACK_SIZE 16
#define PACK_SIZE 16
...
...
sgl-kernel/csrc/gemm/qserve_w4a8_per_group_gemm.cu
View file @
75cd34d1
...
@@ -25,7 +25,7 @@
...
@@ -25,7 +25,7 @@
#define INTRIN_M 16
#define INTRIN_M 16
#define INTRIN_N 16
#define INTRIN_N 16
#define INTRIN_K 32
#define INTRIN_K 32
#define WARP_SIZE
32
#define WARP_SIZE
64
#define SMEM_PAD_A 0
#define SMEM_PAD_A 0
#define SMEM_PAD_B 0
#define SMEM_PAD_B 0
#define PACK_SIZE 16
#define PACK_SIZE 16
...
...
sgl-kernel/csrc/kvcacheio/transfer.cu
View file @
75cd34d1
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
#include <cstdint>
#include <cstdint>
#ifndef USE_ROCM
#ifndef USE_ROCM
#define WARP_SIZE
32
#define WARP_SIZE
64
#include "pytorch_extension_utils.h"
#include "pytorch_extension_utils.h"
#else
#else
#include "pytorch_extension_utils_rocm.h"
#include "pytorch_extension_utils_rocm.h"
...
...
sgl-kernel/csrc/quantization/gguf/ggml-common.h
View file @
75cd34d1
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
// copied from https://github.com/ggerganov/llama.cpp/blob/b2899/ggml-common.h
// copied from https://github.com/ggerganov/llama.cpp/blob/b2899/ggml-common.h
#define QK_K 256
#define QK_K 256
#define K_QUANTS_PER_ITERATION 2
#define K_QUANTS_PER_ITERATION 2
#define WARP_SIZE_GGUF
32
#define WARP_SIZE_GGUF
64
#define K_SCALE_SIZE 12
#define K_SCALE_SIZE 12
#define CUDA_DEQUANTIZE_BLOCK_SIZE 256
#define CUDA_DEQUANTIZE_BLOCK_SIZE 256
#define CUDA_QUANTIZE_BLOCK_SIZE 256
#define CUDA_QUANTIZE_BLOCK_SIZE 256
...
...
sgl-kernel/include/utils.h
View file @
75cd34d1
...
@@ -340,7 +340,7 @@ inline bool getEnvEnablePDL() {
...
@@ -340,7 +340,7 @@ inline bool getEnvEnablePDL() {
#define CEILDIV(x, y) (((x) + (y) - 1) / (y))
#define CEILDIV(x, y) (((x) + (y) - 1) / (y))
#ifndef USE_ROCM
#ifndef USE_ROCM
#define WARP_SIZE
32
#define WARP_SIZE
64
#else
#else
#if defined(__GFX9__) || !defined(__HIP_DEVICE_COMPILE__)
#if defined(__GFX9__) || !defined(__HIP_DEVICE_COMPILE__)
#define WARP_SIZE 64
#define WARP_SIZE 64
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment