mirror of
https://github.com/lllyasviel/Fooocus.git
synced 2026-08-16 13:13:16 +02:00
feat: make hash generation multi-threaded, change --rebuild-hash-cache from bool to int
keep in mind that most likely the drive is going to be the bottleneck now
This commit is contained in:
+2
-2
@@ -34,8 +34,8 @@ args_parser.parser.add_argument("--enable-describe-uov-image", action='store_tru
|
||||
args_parser.parser.add_argument("--always-download-new-model", action='store_true',
|
||||
help="Always download newer models", default=False)
|
||||
|
||||
args_parser.parser.add_argument("--rebuild-hash-cache", action='store_true',
|
||||
help="Generates missing model and LoRA hashes.", default=False)
|
||||
args_parser.parser.add_argument("--rebuild-hash-cache", help="Generates missing model and LoRA hashes.",
|
||||
type=int, nargs="?", metavar="CPU_NUM_THREADS", const=-1)
|
||||
|
||||
args_parser.parser.set_defaults(
|
||||
disable_cuda_malloc=True,
|
||||
|
||||
Reference in New Issue
Block a user