mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-04-23 16:02:10 +00:00
14 lines
418 B
Rust
14 lines
418 B
Rust
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
||
|
mod pb;
|
||
|
|
||
|
mod client;
|
||
|
mod sharded_client;
|
||
|
|
||
|
pub use client::Client;
|
||
|
pub use pb::generate::v3::{
|
||
|
input_chunk::Chunk, Batch, CachedBatch, FinishReason, GeneratedText, Generation, GrammarType,
|
||
|
HealthResponse, Image, InfoResponse, Input, InputChunk, NextTokenChooserParameters, Request,
|
||
|
StoppingCriteriaParameters, Tokens,
|
||
|
};
|
||
|
pub use sharded_client::ShardedClient;
|