triton-client 0.0.1

A client for NVIDIA Triton.
Documentation

triton-client-rs

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.

use triton_client::Client;

// un-auth'd use of Triton
let client = Client::new("localhost:8001", None).await?;
let req = 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.
};

let response = client.repository_index(req).await?;
let models = response.into_inner().models;