Revert "[Optim] Remove limitation of number of kvcache blocks (#5612)" (#5702)

This reverts commit 9da89a374b.
This commit is contained in:
Divano
2025-12-23 15:41:33 +08:00
committed by GitHub
parent 0bef9b684f
commit c1aa66df02
7 changed files with 12 additions and 20 deletions

View File

@@ -879,7 +879,7 @@ def test_structured_outputs_grammar(openai_client):
def test_profile_reset_block_num():
"""测试profile reset_block_num功能与baseline diff不能超过5%"""
log_file = "./log/config.log"
baseline = 65565
baseline = 40000
if not os.path.exists(log_file):
pytest.fail(f"Log file not found: {log_file}")

View File

@@ -636,7 +636,7 @@ def test_chat_with_reasoning_max_tokens(openai_client):
def test_profile_reset_block_num():
"""测试profile reset_block_num功能与baseline diff不能超过5%"""
log_file = "./log/config.log"
baseline = 65565
baseline = 40000
if not os.path.exists(log_file):
pytest.fail(f"Log file not found: {log_file}")