[Misc] Add per-request generator_device to online image gen and edit (#1183)
Signed-off-by: gcanlin <canlinguosdu@gmail.com>
This commit is contained in:
1 parent
a05aa1dd6a
commit
e192b0a6c5
4 files changed
+15
-1
No files matched your search
@@ -166,6 +166,7 @@ class OmniDiffusionSamplingParams:
|
||||
num_outputs_per_prompt: int = 1
|
||||
seed: int | None = None
|
||||
generator: torch.Generator | list[torch.Generator] | None = None
|
||||
generator_device: str | None = None
|
||||
|
||||
# layered info
|
||||
layers: int = 4
|
||||
|
||||
Reference in new issue
Block a user