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:
co-authored by
Claude Opus 5
parent
804e5377aa
commit
8c1557a79c
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user