[Optimization] 移除 num_blocks 上限限制 (#7241)

This commit is contained in:
Yuanle Liu
2026-04-13 22:07:41 +08:00
committed by GitHub
parent e83d45833f
commit 0ddb6e461c
5 changed files with 3 additions and 12 deletions
+1 -1
View File
@@ -281,7 +281,7 @@ def test_non_thinking_prompt(api_url, headers):
def test_profile_reset_block_num():
"""测试profile reset_block_num功能,与baseline diff不能超过5%"""
log_file = "./log/config.log"
baseline = 40000
baseline = 74000
if not os.path.exists(log_file):
pytest.fail(f"Log file not found: {log_file}")
+1 -1
View File
@@ -736,7 +736,7 @@ def test_profile_reset_block_num():
"""测试profile reset_block_num功能,与baseline diff不能超过5%"""
log_dir = os.getenv("FD_LOG_DIR", "log")
log_file = os.path.join(log_dir, "config.log")
baseline = 40000
baseline = 65400
if not os.path.exists(log_file):
pytest.fail(f"Log file not found: {log_file}")