Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
vllm_cscc
Commits
369f47aa
Unverified
Commit
369f47aa
authored
Dec 24, 2025
by
Matthew Bonanni
Committed by
GitHub
Dec 23, 2025
Browse files
[DeepSeek v3.2] Remove unnecessary syncwarps (#31047)
Signed-off-by:
Matthew Bonanni
<
mbonanni@redhat.com
>
parent
dabff12e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
6 deletions
+1
-6
csrc/cache_kernels.cu
csrc/cache_kernels.cu
+1
-6
No files found.
csrc/cache_kernels.cu
View file @
369f47aa
...
...
@@ -451,9 +451,6 @@ __global__ void indexer_k_quant_and_cache_kernel(
for
(
int
i
=
0
;
i
<
VEC_SIZE
;
i
++
)
{
amax
=
fmaxf
(
amax
,
fabsf
(
float
(
k_val_ptr
[
i
])));
}
#ifndef USE_ROCM
__syncwarp
();
#endif
// Reduced amax
for
(
int
mask
=
16
;
mask
>
0
;
mask
/=
2
)
{
...
...
@@ -463,9 +460,7 @@ __global__ void indexer_k_quant_and_cache_kernel(
amax
=
fmaxf
(
amax
,
__shfl_xor_sync
(
unsigned
(
-
1
),
amax
,
mask
));
#endif
}
#ifndef USE_ROCM
__syncwarp
();
#endif
#if defined(__gfx942__)
float
scale
=
fmaxf
(
amax
,
1e-4
)
/
224.0
f
;
#else
...
...
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