From 7c9f1bc79778ac3438ef74095082ea568e970b97 Mon Sep 17 00:00:00 2001 From: vladmandic Date: Wed, 5 Jun 2024 01:08:27 +0000 Subject: [PATCH 1/3] =?UTF-8?q?Deploying=20to=20master=20from=20@=20vladma?= =?UTF-8?q?ndic/automatic@4acb0c887d7e6f0c9fb638edbb10e31f5377b808=20?= =?UTF-8?q?=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index c9280c410..59e1b92aa 100644 --- a/README.md +++ b/README.md @@ -293,7 +293,7 @@ check [ChangeLog](CHANGELOG.md) for when feature was first introduced as it will ### Sponsors
-TillerzAllan GrantBrent OzarMatthew RunoSalad Technologiesa.v.mantzaris +TillerzAllan GrantBrent OzarMatthew RunoSalad Technologiesa.v.mantzarisRobert McCurdy

From 84f9caaffe8eae40f2f597c09faccb59a4eab2b7 Mon Sep 17 00:00:00 2001 From: vladmandic Date: Fri, 7 Jun 2024 01:10:59 +0000 Subject: [PATCH 2/3] =?UTF-8?q?Deploying=20to=20master=20from=20@=20vladma?= =?UTF-8?q?ndic/automatic@7c9f1bc79778ac3438ef74095082ea568e970b97=20?= =?UTF-8?q?=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 59e1b92aa..e1f1f37b9 100644 --- a/README.md +++ b/README.md @@ -293,7 +293,7 @@ check [ChangeLog](CHANGELOG.md) for when feature was first introduced as it will ### Sponsors
-TillerzAllan GrantBrent OzarMatthew RunoSalad Technologiesa.v.mantzarisRobert McCurdy +Allan GrantBrent OzarMatthew RunoSalad Technologiesa.v.mantzarisRobert McCurdy

From b48803f96b4ed8126ec1ce993d7c336ce7b17681 Mon Sep 17 00:00:00 2001 From: Vadim Isakov <43072246+Iaotle@users.noreply.github.com> Date: Sun, 9 Jun 2024 13:12:56 -0700 Subject: [PATCH 3/3] Update webui.py --- webui.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/webui.py b/webui.py index fd22fef73..6d5474651 100644 --- a/webui.py +++ b/webui.py @@ -60,17 +60,16 @@ fastapi_args = { } import modules.sd_hijack +from packaging.version import Version timer.startup.record("ldm") - modules.loader.initialized = True - def check_rollback_vae(): if shared.cmd_opts.rollback_vae: if not torch.cuda.is_available(): log.error("Rollback VAE functionality requires compatible GPU") shared.cmd_opts.rollback_vae = False - elif not torch.__version__.startswith('2.1'): + elif not Version(torch.__version__) >= Version("2.1"): log.error("Rollback VAE functionality requires Torch 2.1 or higher") shared.cmd_opts.rollback_vae = False elif 0 < torch.cuda.get_device_capability()[0] < 8: @@ -78,6 +77,7 @@ def check_rollback_vae(): shared.cmd_opts.rollback_vae = False + def initialize(): log.debug('Initializing') check_rollback_vae()