remove dyn quant cli arg, remove todo

This commit is contained in:
lspindler 2025-09-01 09:56:16 +02:00
parent c265708d47
commit fdeb63df91
2 changed files with 0 additions and 3 deletions

View File

@ -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")

View File

@ -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