-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: enable multiple prompts for T2I (#125)
* enable multiple prompts for T2I * refactor(runner): make prompt splitting more general This commit ensures that the prompt splitting logic implemented in the previous commits can be reused in multiple pipelines. --------- Co-authored-by: Rick Staa <[email protected]>
- Loading branch information
1 parent
68ca7df
commit 68b8d85
Showing
3 changed files
with
55 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,5 +7,6 @@ | |
get_torch_device, | ||
is_lightning_model, | ||
is_turbo_model, | ||
split_prompt, | ||
validate_torch_device, | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters