octoml / triton-client-rs

A client library in Rust for Nvidia Triton.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

// 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?;

About

A client library in Rust for Nvidia Triton.

License:Apache License 2.0


Languages

Language:Rust 100.0%