mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2025-12-26 13:56:32 +08:00
[ROCm] [Critical]: Remove unused variable (#31156)
Signed-off-by: tjtanaa <tunjian.tan@embeddedllm.com>
This commit is contained in:
parent
a5bc77c253
commit
022f3cea53
@ -405,7 +405,6 @@ void fused_qk_norm_rope(
|
||||
qkv.scalar_type() == k_weight.scalar_type(),
|
||||
"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);
|
||||
TORCH_CHECK(position_ids.size(0) == num_tokens,
|
||||
"Number of tokens in position_ids must match QKV");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user