[EPLB] Make async EPLB default (#43219)

Signed-off-by: Markov Ilya <markovilya19@gmail.com>
Co-authored-by: Markov Ilya <markovilya19@gmail.com>
Co-authored-by: Tyler Michael Smith <tyler@neuralmagic.com>
This commit is contained in:
Ilya Markov
2026-05-29 18:07:16 +00:00
committed by GitHub
co-authored by Markov Ilya Tyler Michael Smith
parent 84b2a8a7e7
commit 4aaba00f92
7 changed files with 15 additions and 15 deletions
+2 -3
View File
@@ -15,7 +15,7 @@ def get_model_args(
spec_method: str,
tp_size: int,
model_max_len: int,
use_async: bool = False,
use_async: bool = True,
) -> dict:
speculative_config = {
"method": spec_method,
@@ -28,9 +28,8 @@ def get_model_args(
"window_size": 128,
"step_interval": 1024,
"log_balancedness": False,
"use_async": use_async,
}
if use_async:
eplb_config["use_async"] = True
model_args = {
"pretrained": model_name,
"dtype": "auto",