diff options
author | AUTOMATIC1111 <16777216c@gmail.com> | 2023-07-22 09:21:05 +0000 |
---|---|---|
committer | AUTOMATIC1111 <16777216c@gmail.com> | 2023-07-22 09:21:05 +0000 |
commit | 90eb731ff1d73fdc5872ff9682d5c88c9737ba38 (patch) | |
tree | 0df0dfd875918300d8c3f1df198c99e8d2f5a503 | |
parent | 491d42bb1cbb9e6905f9ab1e7db77a0497f50f85 (diff) | |
download | stable-diffusion-webui-gfx803-90eb731ff1d73fdc5872ff9682d5c88c9737ba38.tar.gz stable-diffusion-webui-gfx803-90eb731ff1d73fdc5872ff9682d5c88c9737ba38.tar.bz2 stable-diffusion-webui-gfx803-90eb731ff1d73fdc5872ff9682d5c88c9737ba38.zip |
start timer early anyway
-rw-r--r-- | launch.py | 3 | ||||
-rw-r--r-- | modules/launch_utils.py | 1 |
2 files changed, 1 insertions, 3 deletions
@@ -1,6 +1,5 @@ from modules import launch_utils
-
args = launch_utils.args
python = launch_utils.python
git = launch_utils.git
@@ -26,8 +25,6 @@ start = launch_utils.start def main():
- from modules import timer
- timer.startup_timer.record("start")
if not args.skip_prepare_environment:
prepare_environment()
diff --git a/modules/launch_utils.py b/modules/launch_utils.py index aaa671ab..18b444d4 100644 --- a/modules/launch_utils.py +++ b/modules/launch_utils.py @@ -10,6 +10,7 @@ from functools import lru_cache from modules import cmd_args, errors
from modules.paths_internal import script_path, extensions_dir
+from modules import timer # noqa:F401
args, _ = cmd_args.parser.parse_known_args()
|