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
43eea295
Unverified
Commit
43eea295
authored
Apr 26, 2025
by
Woosuk Kwon
Committed by
GitHub
Apr 26, 2025
Browse files
[Minor] Fix lint error in main branch (#17233)
Signed-off-by:
Woosuk Kwon
<
woosuk.kwon@berkeley.edu
>
parent
de7eb10c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
vllm/model_executor/layers/rotary_embedding.py
vllm/model_executor/layers/rotary_embedding.py
+2
-2
No files found.
vllm/model_executor/layers/rotary_embedding.py
View file @
43eea295
...
...
@@ -1329,8 +1329,8 @@ class MRotaryEmbedding(RotaryEmbedding):
audio_llm_pos_ids_list
=
(
torch
.
arange
(
min
(
t_ntoken_per_chunk
,
pure_audio_len
-
added_audio_len
)).
expand
(
3
,
-
1
)
+
audio_start_idx
).
split
(
1
,
dim
=
1
)
audio_start_idx
).
split
(
1
,
dim
=
1
)
else
:
audio_llm_pos_ids_list
=
[]
added_audio_len
+=
min
(
t_ntoken_per_chunk
,
...
...
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