[core][bugfix] configure env var during import vllm (#12209)

Signed-off-by: youkaichao <youkaichao@gmail.com>
This commit is contained in:
youkaichao
2025-01-20 19:35:59 +08:00
committed by GitHub
parent 170eb35079
commit c222f47992
4 changed files with 37 additions and 45 deletions
-3
View File
@@ -535,9 +535,6 @@ class WorkerWrapperBase:
kwargs = all_kwargs[self.rpc_rank]
enable_trace_function_call_for_thread(self.vllm_config)
from vllm import configure_as_vllm_process
configure_as_vllm_process()
from vllm.plugins import load_general_plugins
load_general_plugins()