[diffusion] quant: add support for svdquant and nunchaku (#18549)

Co-authored-by: AichenF <aichenf@nvidia.com>
Co-authored-by: jianyingzhu <53300651@qq.com>
This commit is contained in:
Mick
2026-02-15 20:43:00 +08:00
committed by GitHub
parent 88010e9601
commit 3feb48139e
20 changed files with 1304 additions and 123 deletions

View File

@@ -375,6 +375,12 @@ def configure_logger(server_args, prefix: str = ""):
set_uvicorn_logging_configs()
@lru_cache(maxsize=1)
def get_log_level() -> int:
root = logging.getLogger()
return root.level
def suppress_loggers(loggers_to_suppress: list[str], level: int = logging.WARNING):
original_levels = {}