From 88de556445acb8708aabec06dc6fb14dc6b8bcef Mon Sep 17 00:00:00 2001 From: Vladimir Mandic Date: Thu, 22 Feb 2024 21:05:39 -0500 Subject: [PATCH] update todo and startup logging --- TODO.md | 9 +++++++-- installer.py | 2 +- modules/api/middleware.py | 2 +- webui.py | 2 +- 4 files changed, 10 insertions(+), 5 deletions(-) diff --git a/TODO.md b/TODO.md index f27044535..6a48f27eb 100644 --- a/TODO.md +++ b/TODO.md @@ -5,13 +5,18 @@ Main ToDo list can be found at [GitHub projects](https://github.com/users/vladma ## Candidates for next release - stable cascade -- init latents, variations, tiling -- lora sliders: +- init latents: variations, tiling, img2img - x-adapter: - diffusers public callbacks - image2video: pia and vgen pipelines - video2video - async lowvram: +- remove builtin: controlnet +- remove builtin: image-browser +- defork +- remove training: ti +- remove training: hypernetwork +- extra network hide page with no entries ## Control missing features diff --git a/installer.py b/installer.py index cfb322cf5..0aae1b9b8 100644 --- a/installer.py +++ b/installer.py @@ -1039,7 +1039,7 @@ def extensions_preload(parser): preload_extensions(ext_dir, parser) t1 = time.time() preload_time[ext_dir] = round(t1 - t0, 2) - log.info(f'Extension preload: {preload_time}') + log.debug(f'Extension preload: {preload_time}') except Exception: log.error('Error running extension preloading') if args.profile: diff --git a/modules/api/middleware.py b/modules/api/middleware.py index 978d14b11..4c004ca08 100644 --- a/modules/api/middleware.py +++ b/modules/api/middleware.py @@ -18,7 +18,6 @@ errors.install() def setup_middleware(app: FastAPI, cmd_opts): - log.info('Initializing middleware') ssl._create_default_https_context = ssl._create_unverified_context # pylint: disable=protected-access uvicorn_logger=logging.getLogger("uvicorn.error") uvicorn_logger.disabled = True @@ -91,3 +90,4 @@ def setup_middleware(app: FastAPI, cmd_opts): return handle_exception(req, e) app.build_middleware_stack() # rebuild middleware stack on-the-fly + log.debug(f'FastAPI middleware: {[m.__class__.__name__ for m in app.user_middleware]}') diff --git a/webui.py b/webui.py index a92830858..e39c3ead6 100644 --- a/webui.py +++ b/webui.py @@ -105,7 +105,7 @@ def initialize(): t_timer, t_total = modules.scripts.load_scripts() timer.startup.record("extensions") timer.startup.records["extensions"] = t_total # scripts can reset the time - log.info(f'Extensions init time: {t_timer.summary()}') + log.debug(f'Extensions init time: {t_timer.summary()}') modelloader.load_upscalers() timer.startup.record("upscalers")