[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
@@ -858,8 +858,7 @@ class MiniCPMV4_6ViTWindowAttentionMerger(nn.Module):
|
||||
|
||||
class MiniCPMV4_6DownsampleMLP(nn.Module):
|
||||
"""Match HF (transformers v5.7+) parameter naming: pre_norm/linear_1/
|
||||
act/linear_2 (instead of pre_norm + Sequential(mlp.0/mlp.2)).
|
||||
"""
|
||||
act/linear_2 (instead of pre_norm + Sequential(mlp.0/mlp.2))."""
|
||||
|
||||
def __init__(
|
||||
self,
|
||||
|
||||
Reference in New Issue
Block a user