mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-09-11 20:34:54 +00:00
Default value for Backend start_health
This commit is contained in:
parent
e47249a3ea
commit
de73eff07c
@ -37,7 +37,9 @@ pub trait Backend {
|
|||||||
/// The state of the health on startup
|
/// The state of the health on startup
|
||||||
/// Typically false, or true if the backend includes
|
/// Typically false, or true if the backend includes
|
||||||
/// a warmup phase.
|
/// a warmup phase.
|
||||||
fn start_health(&self) -> bool;
|
fn start_health(&self) -> bool {
|
||||||
|
false
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Inference struct
|
/// Inference struct
|
||||||
|
Loading…
Reference in New Issue
Block a user