Skip to content

Commit

Permalink
remove assert
Browse files Browse the repository at this point in the history
  • Loading branch information
bigPYJ1151 committed Jul 25, 2024
1 parent 338e0d8 commit 4fed8da
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions vllm/engine/async_llm_engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -410,8 +410,6 @@ def _get_executor_cls(
from vllm.executor.tpu_executor import TPUExecutorAsync
executor_class = TPUExecutorAsync
elif engine_config.device_config.device_type == "cpu":
assert distributed_executor_backend is None, (
"Distributed execution is not supported with the CPU backend.")
from vllm.executor.cpu_executor import CPUExecutorAsync
executor_class = CPUExecutorAsync
elif engine_config.device_config.device_type == "openvino":
Expand Down

0 comments on commit 4fed8da

Please sign in to comment.