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
5cf9254a
Unverified
Commit
5cf9254a
authored
Jul 30, 2024
by
Nick Hill
Committed by
GitHub
Jul 30, 2024
Browse files
[BugFix] Fix use of per-request seed with pipeline parallel (#6698)
parent
f0584036
Changes
21
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
vllm/worker/xpu_model_runner.py
vllm/worker/xpu_model_runner.py
+2
-1
No files found.
vllm/worker/xpu_model_runner.py
View file @
5cf9254a
...
@@ -246,7 +246,8 @@ class XPUModelRunner(ModelRunnerBase[ModelInputForXPU]):
...
@@ -246,7 +246,8 @@ class XPUModelRunner(ModelRunnerBase[ModelInputForXPU]):
# just use seq_lens instead.
# just use seq_lens instead.
seq_lens
,
seq_lens
,
self
.
device
,
self
.
device
,
pin_memory
=
False
)
pin_memory
=
False
,
generators
=
self
.
get_generators
(
finished_requests_ids
))
# Broadcast the metadata.
# Broadcast the metadata.
metadata_dict
=
{
metadata_dict
=
{
"input_tokens"
:
input_tokens
,
"input_tokens"
:
input_tokens
,
...
...
Prev
1
2
Next
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