[Model] Whisper model implementation #29849
Annotations
10 errors and 1 warning
Analysing the code with ruff:
tests/models/encoder_decoder/audio/test_whisper.py#L86
tests/models/encoder_decoder/audio/test_whisper.py:86:17: B020 Loop control variable `expected` overrides iterable it iterates
|
Analysing the code with ruff:
vllm/model_executor/models/whisper.py#L9
vllm/model_executor/models/whisper.py:9:26: F401 `transformers.WhisperConfig` imported but unused
|
Analysing the code with ruff:
vllm/model_executor/models/whisper.py#L13
vllm/model_executor/models/whisper.py:13:31: F401 `vllm.distributed.get_tensor_model_parallel_rank` imported but unused
|
Analysing the code with ruff:
vllm/model_executor/models/whisper.py#L15
vllm/model_executor/models/whisper.py:15:42: F401 `vllm.inputs.DecoderOnlyInputs` imported but unused
|
Analysing the code with ruff:
vllm/model_executor/models/whisper.py#L16
vllm/model_executor/models/whisper.py:16:40: F401 `vllm.inputs.token_inputs` imported but unused
|
Analysing the code with ruff:
vllm/model_executor/models/whisper.py#L28
vllm/model_executor/models/whisper.py:28:28: F401 `vllm.model_executor.model_loader.weight_utils.kv_cache_scales_loader` imported but unused
|
Analysing the code with ruff:
vllm/model_executor/models/whisper.py#L31
vllm/model_executor/models/whisper.py:31:35: F401 `vllm.multimodal.utils.consecutive_placeholder_ranges` imported but unused
|
Analysing the code with ruff:
vllm/model_executor/models/whisper.py#L35
vllm/model_executor/models/whisper.py:35:52: F401 `.utils.maybe_prefix` imported but unused
|
Analysing the code with ruff:
vllm/model_executor/models/whisper.py#L634
vllm/model_executor/models/whisper.py:634:9: F841 Local variable `multimodal_config` is assigned to but never used
|
Analysing the code with ruff
Process completed with exit code 1.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading