Skip to content

Commit

Permalink
update.
Browse files Browse the repository at this point in the history
  • Loading branch information
AllenDou committed Aug 9, 2024
1 parent a77028d commit 1d45993
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vllm/engine/llm_engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -1589,7 +1589,7 @@ def create_trace_span(self, seq_group: SequenceGroup) -> None:
seq_span.set_attribute(SpanAttributes.LLM_LATENCY_E2E, e2e_time)

def is_encoder_decoder_model(self):
return self.model_config.is_encoder_decoder_model
return is_encoder_decoder_model_config(self.model_config)

def is_embedding_model(self):
return is_embedding_model_config(self.model_config)
Expand Down

0 comments on commit 1d45993

Please sign in to comment.