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
74af2bbd
Unverified
Commit
74af2bbd
authored
Aug 09, 2024
by
Alexander Matveev
Committed by
GitHub
Aug 09, 2024
Browse files
[Bugfix] Fix reinit procedure in ModelInputForGPUBuilder (#7360)
parent
fc7b8d1e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
vllm/worker/model_runner.py
vllm/worker/model_runner.py
+2
-0
No files found.
vllm/worker/model_runner.py
View file @
74af2bbd
...
...
@@ -348,6 +348,8 @@ class ModelInputForGPUBuilder(ModelRunnerInputBuilderBase[ModelInputForGPU]):
self
.
multi_modal_inputs
=
multi_modal_inputs
self
.
prefix_cache_hit
=
prefix_cache_hit
self
.
n_seqs
=
len
(
self
.
seq_ids
)
if
not
reinit
:
self
.
__post_init__
()
...
...
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