Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion vllm/worker/hpu_enc_dec_model_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
class HpuModelAdapterEncoderDecoder(HpuModelAdapter):

def __init__(self, model, vllm_config, layer_names, is_causal):
super().__init__(model, vllm_config, layer_names, False)
super().__init__(model, vllm_config, layer_names, is_causal)

# We only wrap the language model in HPU graph because some Ops in
# vision model will fallback to CPU and cause the graph building fail.
Expand Down
1 change: 0 additions & 1 deletion vllm/worker/hpu_worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@ def __init__(
ModelRunnerClass = HPUPoolingModelRunner
elif is_encoder_decoder_model:
ModelRunnerClass = HPUEncoderDecoderModelRunner
is_causal = False
self.model_runner: HPUModelRunnerBase = ModelRunnerClass(
vllm_config=vllm_config,
kv_cache_dtype=self.cache_config.cache_dtype,
Expand Down