mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2025-12-14 08:15:01 +08:00
[Misc] code clean duplicate set_current_vllm_config in _set_vllm_config (#22566)
Signed-off-by: Andy Xie <andy.xning@gmail.com>
This commit is contained in:
parent
7e8d685775
commit
326976291b
@ -36,7 +36,6 @@ def _set_vllm_config(vllm_config: VllmConfig, world_size: int, rank: int,
|
|||||||
import tempfile
|
import tempfile
|
||||||
temp_file = tempfile.mkstemp()[1]
|
temp_file = tempfile.mkstemp()[1]
|
||||||
|
|
||||||
set_current_vllm_config(vllm_config)
|
|
||||||
with set_current_vllm_config(vllm_config):
|
with set_current_vllm_config(vllm_config):
|
||||||
init_distributed_environment(
|
init_distributed_environment(
|
||||||
world_size=world_size,
|
world_size=world_size,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user