mirror of
https://github.com/clearml/clearml-serving
synced 2025-01-31 02:46:54 +00:00
Adds missing await (#55)
Co-authored-by: Amir Mousavi <amirh@collisure.com>
This commit is contained in:
parent
2d3ac1fe63
commit
115770547c
@ -316,7 +316,7 @@ class TritonPreprocessRequest(BasePreprocessRequest):
|
|||||||
"""
|
"""
|
||||||
# allow overriding the process method
|
# allow overriding the process method
|
||||||
if self._preprocess is not None and hasattr(self._preprocess, "process"):
|
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
|
# Create gRPC stub for communicating with the server
|
||||||
triton_server_address = self._server_config.get("triton_grpc_server") or self._default_grpc_address
|
triton_server_address = self._server_config.get("triton_grpc_server") or self._default_grpc_address
|
||||||
|
Loading…
Reference in New Issue
Block a user