[Model] Add MiniMax-H3 latent super-resolution and hi-res refinement (#8322)
Signed-off-by: princepride <wangzhipeng628@gmail.com>
This commit is contained in:
10 files changed
+1436
-34
No files matched your search
+7
-1
@@ -1,5 +1,5 @@
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
# SPDX-FileCopyrightText: Copyright contributors to the vLLM project
|
||||
# SPDX-FileCopyrightText: Copyright contributors to the vLLM-Omni project
|
||||
|
||||
"""Declarative request-scoped Cache-DiT lifecycle."""
|
||||
|
||||
@@ -87,6 +87,12 @@ class RequestScopedCacheDiTRuntime:
|
||||
self._backend = None
|
||||
self._installation_key = None
|
||||
|
||||
def refresh(self, num_inference_steps: int) -> None:
|
||||
"""Start an independent denoise pass with the installed profile."""
|
||||
if self.is_enabled:
|
||||
assert self._backend is not None
|
||||
self._backend.refresh(self._pipeline, num_inference_steps=num_inference_steps)
|
||||
|
||||
|
||||
__all__ = [
|
||||
"CacheDiTRequestSpec",
|
||||
|
||||
Reference in new issue
Block a user