Skip to content

Commit ea6cdd2

Browse files
Print all fast options in --help (#9737)
1 parent 2ee7879 commit ea6cdd2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

comfy/cli_args.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ class PerformanceFeature(enum.Enum):
145145
CublasOps = "cublas_ops"
146146
AutoTune = "autotune"
147147

148-
parser.add_argument("--fast", nargs="*", type=PerformanceFeature, help="Enable some untested and potentially quality deteriorating optimizations. --fast with no arguments enables everything. You can pass a list specific optimizations if you only want to enable specific ones. Current valid optimizations: fp16_accumulation fp8_matrix_mult cublas_ops")
148+
parser.add_argument("--fast", nargs="*", type=PerformanceFeature, help="Enable some untested and potentially quality deteriorating optimizations. --fast with no arguments enables everything. You can pass a list specific optimizations if you only want to enable specific ones. Current valid optimizations: {}".format(" ".join(map(lambda c: c.value, PerformanceFeature))))
149149

150150
parser.add_argument("--mmap-torch-files", action="store_true", help="Use mmap when loading ckpt/pt files.")
151151
parser.add_argument("--disable-mmap", action="store_true", help="Don't use mmap when loading safetensors.")

0 commit comments

Comments
 (0)