diff --git a/CHANGELOG.md b/CHANGELOG.md index 3dec59dce..506d2df5a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,12 +3,11 @@ ## Pending - Diffusers==0.30.0 -- https://github.com/huggingface/diffusers/pull/8566 - https://github.com/huggingface/diffusers/pull/8584 -## Update for 2024-06-19 +## Update for 2024-06-20 -### Highlights for 2024-06-19 +### Highlights for 2024-06-20 Following zero-day **SD3** release, a week later here's a refresh with more than a few improvements. But there's more than SD3: @@ -51,6 +50,7 @@ But there's more than SD3: - improved google.colab support - css tweaks for standardui - css tweaks for modernui +- additional torch gc checks, thanks @Disty0! ### Fixes diff --git a/TODO.md b/TODO.md index fd704b838..0647494dc 100644 --- a/TODO.md +++ b/TODO.md @@ -11,6 +11,7 @@ Main ToDo list can be found at [GitHub projects](https://github.com/users/vladma - diffusers public callbacks - include reference styles - lora: sc lora, dora, etc +- sd3 controlnet: ## Experimental diff --git a/modules/prompt_parser_diffusers.py b/modules/prompt_parser_diffusers.py index 9174426e4..6404b47c0 100644 --- a/modules/prompt_parser_diffusers.py +++ b/modules/prompt_parser_diffusers.py @@ -12,10 +12,9 @@ debug_enabled = os.environ.get('SD_PROMPT_DEBUG', None) debug = shared.log.trace if os.environ.get('SD_PROMPT_DEBUG', None) is not None else lambda *args, **kwargs: None debug('Trace: PROMPT') orig_encode_token_ids_to_embeddings = EmbeddingsProvider._encode_token_ids_to_embeddings # pylint: disable=protected-access -token_dict = None -token_type = None +token_dict = None # used by helper get_tokens +token_type = None # used by helper get_tokens cache = {} -cache_type = None def compel_hijack(self, token_ids: torch.Tensor,