Skip to content

Commit 9d534a7

Browse files
authored
Remove unused get_vllm_instance_id (#65)
This function no longer exists upstream and we don't see to use `VLLM_INSTANCE_ID` anywhere else in the code.
2 parents 5808d74 + d43afba commit 9d534a7

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

vllm/executor/multiproc_spyre_executor.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@
1616
from vllm.lora.request import LoRARequest
1717
from vllm.model_executor.layers.sampler import SamplerOutput
1818
from vllm.sequence import ExecuteModelRequest
19-
from vllm.utils import (get_distributed_init_method, get_open_port,
20-
get_vllm_instance_id)
19+
from vllm.utils import get_distributed_init_method, get_open_port
2120

2221
logger = init_logger(__name__)
2322

@@ -73,9 +72,6 @@ def _init_executor(self) -> None:
7372
world_size = self.parallel_config.world_size
7473
tensor_parallel_size = self.parallel_config.tensor_parallel_size
7574

76-
# Ensure that VLLM_INSTANCE_ID is set, to be inherited by workers
77-
os.environ["VLLM_INSTANCE_ID"] = get_vllm_instance_id()
78-
7975
# Disable torch async compiling which won't work with daemonic processes
8076
# [tom] it doesn't seme to work setting this from the code, we need to
8177
# set at command line. hopefully will be fixed by upgrading torch.

0 commit comments

Comments
 (0)