Crates.io | triton-client |
lib.rs | triton-client |
version | 0.2.0 |
source | src |
created_at | 2022-06-16 19:00:58.737579 |
updated_at | 2022-08-15 18:13:45.309719 |
description | A client for interfacing with NVIDIA Triton inference server. |
homepage | |
repository | https://github.com/octoml/triton-client-rs |
max_upload_size | |
id | 607624 |
size | 310,269 |
A Rust gRPC client library for NVIDIA Triton.
This library provides the necessary setup to generate a Triton client from NVIDIA's Protocol Buffers definitions.
// un-auth'd use of Triton
let client = Client::new("http://localhost:8001/", None).await?;
let models = client
.repository_index(triton_client::inference::RepositoryIndexRequest {
repository_name: "".into(), // This should show us models not referenced by repo name.
ready: false, // show all models, not just ready ones.
})
.await?;