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
022f3cea
Unverified
Commit
022f3cea
authored
Dec 23, 2025
by
TJian
Committed by
GitHub
Dec 22, 2025
Browse files
[ROCm] [Critical]: Remove unused variable (#31156)
Signed-off-by:
tjtanaa
<
tunjian.tan@embeddedllm.com
>
parent
a5bc77c2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
1 deletion
+0
-1
csrc/fused_qknorm_rope_kernel.cu
csrc/fused_qknorm_rope_kernel.cu
+0
-1
No files found.
csrc/fused_qknorm_rope_kernel.cu
View file @
022f3cea
...
@@ -405,7 +405,6 @@ void fused_qk_norm_rope(
...
@@ -405,7 +405,6 @@ void fused_qk_norm_rope(
qkv
.
scalar_type
()
==
k_weight
.
scalar_type
(),
qkv
.
scalar_type
()
==
k_weight
.
scalar_type
(),
"qkv, q_weight and k_weight must have the same dtype"
);
"qkv, q_weight and k_weight must have the same dtype"
);
int64_t
rotary_dim
=
cos_sin_cache
.
size
(
1
);
int64_t
num_tokens
=
qkv
.
size
(
0
);
int64_t
num_tokens
=
qkv
.
size
(
0
);
TORCH_CHECK
(
position_ids
.
size
(
0
)
==
num_tokens
,
TORCH_CHECK
(
position_ids
.
size
(
0
)
==
num_tokens
,
"Number of tokens in position_ids must match QKV"
);
"Number of tokens in position_ids must match QKV"
);
...
...
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