[CI] Ignore ruff D209, rejoin the docstrings it split, and silence incompatible-rule warnings (#57212)
Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com> Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5
parent
1085b64425
commit
651a88c09a
@@ -398,8 +398,7 @@ class FlashInferBackend(AttentionBackend):
|
||||
@classmethod
|
||||
def customize_spec(cls, spec: "AttentionSpec") -> "AttentionSpec":
|
||||
"""NVFP4 stores K and V as separate per-head slots of packed fp4 data
|
||||
plus fp8 block scales.
|
||||
"""
|
||||
plus fp8 block scales."""
|
||||
if spec.state_content_bytes is not None or not spec.kv_quant_mode.is_nvfp4:
|
||||
return spec
|
||||
hs_k = nvfp4_kv_cache_full_dim(spec.head_size)
|
||||
|
||||
Reference in New Issue
Block a user