mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-04-21 14:52:20 +00:00
chore(looper): cleanup a bit more
This commit is contained in:
parent
04c6f51258
commit
cdac4b0058
@ -27,11 +27,6 @@ use crate::utils::first_line;
|
|||||||
|
|
||||||
type InferResult<T> = Result<T, InferError>;
|
type InferResult<T> = Result<T, InferError>;
|
||||||
|
|
||||||
struct IdentifiableRequest<T> {
|
|
||||||
request_id: u64,
|
|
||||||
inner: T,
|
|
||||||
}
|
|
||||||
|
|
||||||
/// Wrap the requests along with the channel used to stream back to the client the decoded tokens
|
/// Wrap the requests along with the channel used to stream back to the client the decoded tokens
|
||||||
struct GenerationContext {
|
struct GenerationContext {
|
||||||
request: ValidGenerateRequest,
|
request: ValidGenerateRequest,
|
||||||
|
Loading…
Reference in New Issue
Block a user