mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2026-07-09 18:47:15 +08:00
[easy] Pass compile_fx only the config patches (#16845)
Signed-off-by: rzou <zou3519@gmail.com>
This commit is contained in:
parent
4b07d36891
commit
fe742aef5a
@ -167,8 +167,7 @@ class InductorAdaptor(CompilerInterface):
|
|||||||
compiler_config: Dict[str, Any],
|
compiler_config: Dict[str, Any],
|
||||||
runtime_shape: Optional[int] = None
|
runtime_shape: Optional[int] = None
|
||||||
) -> Tuple[Optional[Callable], Optional[Any]]:
|
) -> Tuple[Optional[Callable], Optional[Any]]:
|
||||||
from torch._inductor import config
|
current_config = {}
|
||||||
current_config = config.get_config_copy()
|
|
||||||
from torch._inductor.compile_fx import compile_fx
|
from torch._inductor.compile_fx import compile_fx
|
||||||
|
|
||||||
# disable remote cache
|
# disable remote cache
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user