[Core] refactor encode_prompt #4617
refactoring of encode_prompt()
22445261
better handling of device.
958f0779
fix: device determination
a5d17e18
fix: device determination 2
2a0be3d3
handle num_images_per_prompt
efaf99c6
revert changes in loaders.py and give birth to encode_prompt().
b3bdd7fe
minor refactoring for encode_prompt()/
44f70cec
make backward compatible.
aac17fa7
Apply suggestions from code review
fa367f84
fix: concatenation of the neg and pos embeddings.
614b675e
incorporate encode_prompt() in test_stable_diffusion.py
1819fc87
turn it into big PR.
b3c1bc31
resolve conflicts
0098a40e
sayakpaul
marked this pull request as ready for review 2 years ago
make it bigger
e5023465
gligen fixes.
932af82c
more fixes to fligen
eb6abab0
sayakpaul
changed the title [WIP] [Core] refactor encode_prompt [Core] refactor encode_prompt 2 years ago
_encode_prompt -> encode_prompt in tests
998473da
first batch
2cb33524
second batch
b374953a
fix blasphemous mistake
968d21e3
fix
2b136930
fix: hopefully for the final time.
de4adc21
sayakpaul
merged
3768d4d7
into main 2 years ago
sayakpaul
deleted the refactor-encode-prompt branch 2 years ago
Assignees
No one assigned
Login to write a write a comment.
Login via GitHub