add profiler

This commit is contained in:
Vladimir Mandic
2023-02-28 10:04:25 -05:00
parent 5e4a9337a1
commit 679320a764
5 changed files with 24 additions and 3 deletions
+1
View File
@@ -109,6 +109,7 @@ parser.add_argument("--gradio-queue", action='store_true', help="Uses gradio que
parser.add_argument("--skip-version-check", action='store_true', help="Do not check versions of torch and xformers")
parser.add_argument("--no-hashing", action='store_true', help="disable sha256 hashing of checkpoints to help loading performance", default=False)
parser.add_argument("--no-download-sd-model", action='store_true', help="don't download SD1.5 model even if no model is found in --ckpt-dir", default=False)
parser.add_argument("--profile", action='store_true', help="run profiler", default=False)
script_loading.preload_extensions(extensions.extensions_dir, parser)