Unverified Commit 5cf9254a authored by Nick Hill's avatar Nick Hill Committed by GitHub
Browse files

[BugFix] Fix use of per-request seed with pipeline parallel (#6698)

parent f0584036
...@@ -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,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment