mirror of
https://github.com/deepseek-ai/DeepInfer.git
synced 2026-10-29 23:37:28 +08:00
Merge 0e80d7c835ab1f022b1e3949414aebfa5ee1dc14 into 553741557a57df44a46fb3ab72b6aafeaf945337
This commit is contained in:
commit
d854ba4c92
@ -181,7 +181,7 @@ def setup_llm(dp_rank: int) -> LLM:
|
||||
max_num_batched_tokens=args.prefill_batch_size,
|
||||
max_model_len=max_model_len,
|
||||
gpu_memory_utilization=0.95,
|
||||
lookahead_tokens=min(1, int(os.getenv("DEEPINFER_USE_NEXTN_DECODE", "5"))),
|
||||
lookahead_tokens=int(os.getenv("DEEPINFER_USE_NEXTN_DECODE", "5")),
|
||||
)
|
||||
return llm
|
||||
|
||||
|
||||
@ -53,7 +53,7 @@ def main(dp_size: int, dp_rank: int) -> None:
|
||||
max_model_len=32768,
|
||||
max_num_seqs=4,
|
||||
gpu_memory_utilization=0.85,
|
||||
lookahead_tokens=min(1, int(os.getenv("DEEPINFER_USE_NEXTN_DECODE", "5"))),
|
||||
lookahead_tokens=int(os.getenv("DEEPINFER_USE_NEXTN_DECODE", "5")),
|
||||
)
|
||||
|
||||
from _prompts import OFFLINE_INPUT_LEN, OFFLINE_OUTPUT_LEN, lengthen_offline_prompts, prepare_offline_prompts
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user