o
    wi4                  
   @   s  zDd dl Z d dlmZmZmZ d dlT ddlmZ ddlm	Z	 ddl
mZmZmZ dd	lmZ dd
lmZ ddlmZ ddlmZmZ W n eyU Z zededZ[ww d dlZd dlmZ ee jedkree jedk rede j d g dZ dS )    N)model_config_pb2service_pb2service_pb2_grpc)*   )InferenceServerClientPlugin)Request   )MAX_GRPC_MESSAGE_SIZEInferenceServerClientKeepAliveOptions)
InferInput)InferResult)InferRequestedOutput)raise_errorraise_error_grpczThe installation does not include grpc support. Specify 'grpc' or 'all' while installing the tritonclient package to include the support)versionz1.43.0z1.51.1zImported version of grpc is z. There is a memory leak in certain Python GRPC versions (1.43.0 to be specific). Please use versions <1.43.0 or >=1.51.1 to avoid leaks (see https://github.com/grpc/grpc/issues/28513).)r   r   r   r   r   r   r   InferenceServerException)!grpctritonclient.grpcr   r   r   tritonclient.utils_pluginr   _requestr   _clientr
   r   r   _infer_inputr   _infer_resultr   _requested_outputr   _utilsr   r   ModuleNotFoundErrorerrorRuntimeErrorwarnings	packagingr   parse__version__warn__all__ r'   r'   W/home/ubuntu/sommelier/.venv/lib/python3.10/site-packages/tritonclient/grpc/__init__.py<module>   s<   