Commit Graph

17 Commits

Author SHA1 Message Date
Artem Zagidulin a5550f0213 alternate prompt 2022-10-08 18:12:19 +03:00
AUTOMATIC 7001bffe02 fix AND broken for long prompts 2022-10-08 15:43:25 +03:00
AUTOMATIC 2d3ea42a2d workaround for a mysterious bug where prompt weights can't be matched 2022-10-06 13:21:12 +03:00
DepFA af02ee1297
Merge branch 'master' into use-typing-list 2022-10-05 23:02:45 +01:00
DepFA 34c358d10d
use typing.list in prompt_parser.py for wider python version support 2022-10-05 22:11:30 +01:00
AUTOMATIC 20f8ec877a remove type annotations in new code because presumably they don't work in 3.7 2022-10-06 00:09:32 +03:00
AUTOMATIC f8e41a96bb fix various float parsing errors 2022-10-05 23:52:05 +03:00
AUTOMATIC c26732fbee added support for AND from https://energy-based-model.github.io/Compositional-Visual-Generation-with-Composable-Diffusion-Models/ 2022-10-05 23:16:27 +03:00
Rae Fu 90e911fd54 prompt_parser: allow spaces in schedules, add test, log/ignore errors
Only build the parser once (at import time) instead of for each step.

doctest is run by simply executing modules/prompt_parser.py
2022-10-04 20:26:15 +03:00
AUTOMATIC 1eb588cbf1 remove functools.cache as some people are having issues with it 2022-10-04 18:02:01 +03:00
dan 2f1b61d979 Allow nested structures inside schedules 2022-10-04 14:22:41 +03:00
AUTOMATIC 4127f4aff8 fix program breaking on empty prompt 2022-09-29 11:39:55 +03:00
AUTOMATIC c1c27dad3b new implementation for attention/emphasis 2022-09-29 11:31:48 +03:00
AUTOMATIC 01c93a8400 use model's dtype for #707 2022-09-19 18:39:21 +03:00
C43H66N12O12S2 cf28445f10 fix cpu usage 2022-09-19 18:36:32 +03:00
AUTOMATIC 0fde1f3eac oh hey i broke batches with this 2022-09-15 18:05:42 +03:00
AUTOMATIC f2693bec08 prompt editing 2022-09-15 13:10:16 +03:00