[misc] move functions to config.py (#10624)
Signed-off-by: youkaichao <youkaichao@gmail.com>
This commit is contained in:
@@ -8,7 +8,7 @@ from typing import Callable, List, Optional
|
||||
import torch
|
||||
|
||||
import vllm.envs as envs
|
||||
from vllm.config import CompilationLevel
|
||||
from vllm.config import CompilationLevel, get_current_vllm_config
|
||||
|
||||
|
||||
class TorchCompileWrapperWithCustomDispatcher:
|
||||
@@ -32,7 +32,6 @@ class TorchCompileWrapperWithCustomDispatcher:
|
||||
# default compilation settings
|
||||
# compiling the forward method
|
||||
|
||||
from vllm.plugins import get_current_vllm_config
|
||||
backend = get_current_vllm_config(
|
||||
).compilation_config.init_backend()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user