[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
@@ -1090,8 +1090,7 @@ class Llama4ForConditionalGeneration(
|
||||
|
||||
def _rename_weight_for_modelopt_checkpoint(self, name: str) -> str:
|
||||
"""Rename weights from ModelOpt llama4 fp8 checkpoints to vLLM
|
||||
format.
|
||||
"""
|
||||
format."""
|
||||
if name.startswith("model.") or name.startswith("language_model.model."):
|
||||
renamed = (
|
||||
name.replace("model.", "language_model.model.", 1)
|
||||
|
||||
Reference in New Issue
Block a user