From a4a4c51f3d40e086b59b73b631b5c43c8fbf4504 Mon Sep 17 00:00:00 2001 From: Georgi Gerganov Date: Wed, 12 Aug 2026 08:08:19 +0300 Subject: [PATCH] tests : update speculative params (#26925) --- tools/server/tests/unit/test_speculative.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/tools/server/tests/unit/test_speculative.py b/tools/server/tests/unit/test_speculative.py index 0184085b42..5837195006 100644 --- a/tools/server/tests/unit/test_speculative.py +++ b/tools/server/tests/unit/test_speculative.py @@ -27,8 +27,8 @@ def test_with_and_without_draft(): global server request = { "prompt": "I believe the meaning of life is", - "temperature": 0.8, - "top_k": 40, + "temperature": 0.2, + "top_k": 5, "seed": 4242, "n_predict": 16, "return_tokens": True, @@ -36,7 +36,6 @@ def test_with_and_without_draft(): server.model_draft = None # disable draft model server.spec_type = None - server.backend_sampling = True server.start() res = server.make_request("POST", "/completion", data=request) assert res.status_code == 200 @@ -45,7 +44,6 @@ def test_with_and_without_draft(): # create new server with draft model create_server() - server.backend_sampling = True server.start() res = server.make_request("POST", "/completion", data=request) assert res.status_code == 200