File tree Expand file tree Collapse file tree 4 files changed +20
-4
lines changed Expand file tree Collapse file tree 4 files changed +20
-4
lines changed Original file line number Diff line number Diff line change @@ -53,6 +53,12 @@ if __name__ == "__main__":
53
53
print (f " { max_value} ( { arg_max} ) = { class_name} " )
54
54
```
55
55
56
+ ## Release Notes
57
+
58
+ - 23.06.16 Support tritonclient>=2.34.0
59
+ - Loosely modified the requirements related to tritonclient
60
+
61
+
56
62
## Key Features
57
63
58
64
- [x] Simple configuration. Only ` $host:$port ` and ` $model_name ` are required.
Original file line number Diff line number Diff line change @@ -44,8 +44,8 @@ zip_safe = False
44
44
include_package_data = True
45
45
packages = find:
46
46
install_requires =
47
- tritonclient[all]>=2.18 .0
48
- protobuf>=3.5.0,<3.20
47
+ tritonclient[all]>=2.21 .0
48
+ protobuf>=3.5.0
49
49
orjson>=3.6.8
50
50
reretry>=0.11.1
51
51
attrs>=21.2.0
@@ -56,6 +56,9 @@ exclude =
56
56
tools*
57
57
docs*
58
58
59
+ # https://github.com/triton-inference-server/client/blob/main/src/python/library/setup.py#L118
60
+ # official package is supporting python 3.6+, but python 3.6, 3.7 is not supported.
61
+ # https://devguide.python.org/versions/
59
62
python_requires = >=3.8
60
63
61
64
Original file line number Diff line number Diff line change 16
16
from tritonclient import grpc as grpcclient
17
17
from tritonclient import http as httpclient
18
18
from tritonclient .grpc import InferResult
19
- from tritonclient .grpc import _get_inference_request as grpc_get_inference_request
19
+
20
+ try :
21
+ from tritonclient .grpc import _get_inference_request as grpc_get_inference_request
22
+ except ImportError :
23
+ logging .info ("tritonclient[all]>=2.34.0" )
24
+ from tritonclient .grpc ._utils import _get_inference_request as grpc_get_inference_request
25
+
26
+
20
27
from tritonclient .utils import InferenceServerException
21
28
22
29
from tritony import ASYNC_TASKS
Original file line number Diff line number Diff line change 1
- __version__ = "0.0.10 "
1
+ __version__ = "0.0.11 "
You can’t perform that action at this time.
0 commit comments