Add pydocstyle to the ruff rules (#52136)

Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
Signed-off-by: Harry Mellor <hej.mellor@gmail.com>
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
Harry Mellor
2026-09-16 16:44:29 +00:00
committed by GitHub
co-authored by Claude Opus 5
parent 804e5377aa
commit 8c1557a79c
2002 changed files with 15024 additions and 14269 deletions
-2
View File
@@ -86,7 +86,6 @@ def without_modelopt_fp4(
quant_config: QuantizationConfig | None,
) -> QuantizationConfig | None:
"""Return ``None`` for weights excluded from Qwen4Exp ModelOpt-FP4."""
if quant_config is not None and quant_config.get_name() == "modelopt_fp4":
return None
return quant_config
@@ -102,7 +101,6 @@ def _remap_qsa_cache_scale_name(
that cache directly, so only QSA layers need the final path component
moved to the owner's persistent ``_k_scale``/``_v_scale`` buffers.
"""
scale_suffixes = {
"k_proj.k_scale": "_k_scale",
"k_proj.output_scale": "_k_scale",