Skip to content

Commit

Permalink
[BugFix]:fix cuda error when run simulator on gpu node.
Browse files Browse the repository at this point in the history
  • Loading branch information
Tong0217 committed Feb 14, 2025
1 parent 65988d6 commit 2593335
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions llumnix/backends/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
from typing import Dict, List
import asyncio
import time
import os

import ray
from ray.util.placement_group import PlacementGroup
Expand Down Expand Up @@ -97,6 +98,7 @@ def init_backend_engine(instance_id: str,
elif backend_type == BackendType.SIM_VLLM:
# pylint: disable=import-outside-toplevel
from llumnix.backends.vllm.simulator import BackendSimVLLM
os.environ["VLLM_NO_USAGE_STATS"] = "1"
backend_engine = BackendSimVLLM(instance_id,
placement_group,
request_output_queue_type,
Expand Down

0 comments on commit 2593335

Please sign in to comment.