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
+8 -11
View File
@@ -131,13 +131,12 @@ if os.getenv("USE_FLAGOS") == "1":
class MiniCPMOAudioFeatureInputs(TensorSchema):
"""
Dimensions:
- bns: Batch size * number of audios * number of slices
- bn: Batch size * number of audios
- c: Number of channels
- l: Length
- s: Number of slices
"""Dimensions:
- bns: Batch size * number of audios * number of slices
- bn: Batch size * number of audios
- c: Number of channels
- l: Length
- s: Number of slices
"""
type: Literal["audio_features"] = "audio_features"
@@ -163,8 +162,7 @@ class MiniCPMOAudioFeatureInputs(TensorSchema):
class MiniCPMOAudioEmbeddingInputs(TensorSchema):
"""
Dimensions:
"""Dimensions:
- bn: Batch size * number of audios
- s: Number of slices
- h: Hidden size (must match language model backbone)
@@ -1008,8 +1006,7 @@ _MINICPMO_SUPPORT_VERSION = {
dummy_inputs=MiniCPMODummyInputsBuilder,
)
class MiniCPMO(MiniCPMOBaseModel, MiniCPMV2_6):
"""
MiniCPM-O model with audio support.
"""MiniCPM-O model with audio support.
Different versions use different LLM backbones:
- Version 2.6: Uses Qwen2
- Version 4.5: Uses Qwen3