mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-09-29 22:02:30 +08:00
use dist.all_reduce(min) to sync num_blocks_local (#2933)
* pre-commit all files check * reduce min num_blocks_local * fix nranks=1 * pre-commit when commit-msg
This commit is contained in:
@@ -141,7 +141,8 @@ class EngineClient:
|
||||
task["preprocess_end_time"] = time.time()
|
||||
preprocess_cost_time = task["preprocess_end_time"] - task["preprocess_start_time"]
|
||||
api_server_logger.info(
|
||||
f"Cache request with request_id ({task.get('request_id')}), " f"preprocess time cost {preprocess_cost_time}"
|
||||
f"Cache request with request_id ({task.get('request_id')}), "
|
||||
f"preprocess time cost {preprocess_cost_time}"
|
||||
)
|
||||
|
||||
self.vaild_parameters(task)
|
||||
|
Reference in New Issue
Block a user