mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2026-04-22 16:07:51 +08:00
[Optimization] 移除 num_blocks 上限限制 (#7241)
This commit is contained in:
@@ -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}")
|
||||
|
||||
@@ -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}")
|
||||
|
||||
Reference in New Issue
Block a user