Skip to content

Commit

Permalink
Adds missing await (#55)
Browse files Browse the repository at this point in the history
Co-authored-by: Amir Mousavi <[email protected]>
  • Loading branch information
amirhmk and Amir Mousavi authored May 8, 2023
1 parent 2d3ac1f commit 1157705
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clearml_serving/serving/preprocess_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ async def process(
"""
# allow overriding the process method
if self._preprocess is not None and hasattr(self._preprocess, "process"):
return self._preprocess.process(data, state, collect_custom_statistics_fn)
return await self._preprocess.process(data, state, collect_custom_statistics_fn)

# Create gRPC stub for communicating with the server
triton_server_address = self._server_config.get("triton_grpc_server") or self._default_grpc_address
Expand Down

0 comments on commit 1157705

Please sign in to comment.