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
@@ -502,8 +502,7 @@ class VoxtralForConditionalGeneration(
|
||||
stt_config: SpeechToTextConfig,
|
||||
model_config: ModelConfig,
|
||||
) -> int | None:
|
||||
"""
|
||||
Map from audio duration to number of audio tokens produced by the ASR
|
||||
"""Map from audio duration to number of audio tokens produced by the ASR
|
||||
model, without running a forward pass.
|
||||
This is used for estimating the amount of processing for this audio.
|
||||
"""
|
||||
@@ -586,8 +585,7 @@ class VoxtralForConditionalGeneration(
|
||||
def maybe_update_quant_config(
|
||||
self, quant_config: QuantizationConfig
|
||||
) -> QuantizationConfig:
|
||||
"""
|
||||
Update quant config to so that ignored module and target module names
|
||||
"""Update quant config to so that ignored module and target module names
|
||||
match the vLLM model names.
|
||||
Right now this is specific for compressed-tensors format and
|
||||
load_format mistral.
|
||||
|
||||
Reference in New Issue
Block a user