Skip to content

Commit

Permalink
Fix gRPC AsyncIO import
Browse files Browse the repository at this point in the history
  • Loading branch information
kthui committed Jan 11, 2024
1 parent 000db63 commit 3483042
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions src/python/library/tritonclient/grpc/aio/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,22 @@
import base64
import sys

import grpc
import rapidjson as json
from google.protobuf.json_format import MessageToJson
from tritonclient.grpc import *
from tritonclient.grpc import model_config_pb2, service_pb2, service_pb2_grpc

from ... import _auth as auth
from ..._client import InferenceServerClientBase
from ..._plugin import InferenceServerClientPlugin
from ..._request import Request
from .._utils import _get_inference_request, _grpc_compression_type
from .._client import MAX_GRPC_MESSAGE_SIZE, InferenceServerClientBase, KeepAliveOptions
from .._utils import (
_get_inference_request,
_grpc_compression_type,
raise_error,
raise_error_grpc,
)


class InferenceServerClient(InferenceServerClientBase):
Expand Down

0 comments on commit 3483042

Please sign in to comment.