diff --git a/comfy/cli_args.py b/comfy/cli_args.py index 759a1c36b..de3e85c08 100644 --- a/comfy/cli_args.py +++ b/comfy/cli_args.py @@ -143,7 +143,6 @@ class PerformanceFeature(enum.Enum): Fp16Accumulation = "fp16_accumulation" Fp8MatrixMultiplication = "fp8_matrix_mult" CublasOps = "cublas_ops" - DynamicQuantizer = "dynamic_quantizer" 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") diff --git a/comfy/ops.py b/comfy/ops.py index 342513ba5..e0b30924d 100644 --- a/comfy/ops.py +++ b/comfy/ops.py @@ -422,8 +422,6 @@ def operator_factory(**factory_kwargs): return op_set -# TODO might be nicer to have a unified interface to the factory -# TODO logic might not be 1-1 match to original implementation def pick_operations(weight_dtype=None, compute_dtype=None, load_device=None, fast_fp8=False, disable_fast_fp8=False): fp8_compute = (comfy.model_management.supports_fp8_compute(load_device) and not disable_fast_fp8) use_dynamic_quantizer = fast_fp8