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
e522713c
Commit
e522713c
authored
Jul 11, 2025
by
zhuwenwen
Browse files
Merge branch 'v0.9.1-dev_lzg' into 'v0.9.1-dev'
tbo debug fix error See merge request dcutoolkit/deeplearing/vllm!156
parents
bcf6be4c
957096ce
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
vllm/forward_context.py
vllm/forward_context.py
+2
-1
vllm/two_batch_overlap/two_batch_overlap.py
vllm/two_batch_overlap/two_batch_overlap.py
+1
-0
No files found.
vllm/forward_context.py
View file @
e522713c
...
...
@@ -145,7 +145,8 @@ def set_forward_context(attn_metadata: Any,
virtual_engine
=
virtual_engine
,
attn_metadata
=
attn_metadata
,
dp_metadata
=
dp_metadata
)
if
envs
.
VLLM_ENABLE_TBO
:
set_tbo_forward_context
(
_forward_context
)
try
:
yield
finally
:
...
...
vllm/two_batch_overlap/two_batch_overlap.py
View file @
e522713c
...
...
@@ -270,6 +270,7 @@ def tbo_model_executable(
vllm_config
,
virtual_engine
):
hidden_or_intermediate_states
=
model_executable
(
input_ids
=
model_input
.
input_tokens
,
inputs_embeds
=
model_input
.
inputs_embeds
,
positions
=
model_input
.
input_positions
,
intermediate_tensors
=
intermediate_tensors
,
**
MultiModalKwargs
.
as_kwargs
(
multi_modal_kwargs
,
...
...
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