Skip to main content

A high level package for Nvidia Triton requests

Project description

Python package to interact with Nvidia Triton Server

from triton_requests import TritonEndPoint

tep = TritonEndPoint(model_name="emotion-english-distilroberta-base_onnx_inference", url="localhost:9000")

tep.encode("Harry is really happy after his present")

Will result a numpy array

array([[-1.1953125 , -2.4921875 , -2.8964844 ,  4.9921875 ,  0.35498047, 0.70458984,  1.9570312 ]], dtype=float32)

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

triton_requests-0.0.3.tar.gz (2.3 kB view hashes)

Uploaded source

Built Distribution

triton_requests-0.0.3-py3-none-any.whl (3.0 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page