[Rebase] Rebase to vllm v0.24.0 (#4709)
This commit is contained in:
1 parent
9a105bf90d
commit
a560ed184d
60 files changed
+789
-203
No files matched your search
@@ -284,10 +284,17 @@ class HeliosPipeline(
|
||||
) -> DiffusionRequestState:
|
||||
"""Initialize Helios request state for chunk-wise step execution."""
|
||||
del kwargs
|
||||
req = OmniDiffusionRequest(
|
||||
prompt=state.prompt,
|
||||
sampling_params=state.sampling,
|
||||
request_id=state.request_id,
|
||||
# Wrap the single request in a DiffusionRequestBatch so the batch
|
||||
# compatibility properties (`prompts`, etc.) used below are available;
|
||||
# OmniDiffusionRequest itself only exposes a singular `prompt`.
|
||||
req = DiffusionRequestBatch(
|
||||
requests=[
|
||||
OmniDiffusionRequest(
|
||||
prompt=state.prompt,
|
||||
sampling_params=state.sampling,
|
||||
request_id=state.request_id,
|
||||
)
|
||||
]
|
||||
)
|
||||
extra = getattr(state.sampling, "extra_args", {}) or {}
|
||||
|
||||
|
||||
Reference in new issue
Block a user