[BugFix] Fix top_p,top_k issue with EAGLE and add top_p,top_k in EAGLE e2e (#5131)
### What this PR does / why we need it? Add top_p,top_k in EAGLE e2e - vLLM version: v0.12.0 - vLLM main: https://github.com/vllm-project/vllm/commit/ad32e3e19ccf0526cb6744a5fed09a138a5fb2f9 Signed-off-by: zhaomingyu <zhaomingyu13@h-partners.com>
This commit is contained in:
1 parent
073a3a6e6c
commit
73e4b4f496
2 files changed
+4
-3
No files matched your search
@@ -145,7 +145,9 @@ def test_eagle_correctness(
|
||||
|
||||
sampling_params = SamplingParams(
|
||||
max_tokens=300,
|
||||
temperature=0.0,
|
||||
temperature=0.8,
|
||||
top_p=0.7,
|
||||
top_k=4,
|
||||
ignore_eos=False,
|
||||
)
|
||||
|
||||
|
||||
Reference in new issue
Block a user