mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-09-11 12:24:53 +00:00
Update launcher/src/main.rs
Co-authored-by: Daniël de Kok <me@danieldk.eu>
This commit is contained in:
parent
5b04d6c49d
commit
36ed43c920
@ -76,7 +76,7 @@ fn vram_maximum(
|
||||
if let Some(vram) = available.checked_sub(model) {
|
||||
let tokens_allowed = vram / token_vram;
|
||||
tracing::debug!(
|
||||
"Available vram {}: model needs{}, every tokens requires {}, maximum allocatable tokens {tokens_allowed}",
|
||||
"Available vram {}: model needs {}, every tokens requires {}, maximum allocatable tokens {tokens_allowed}",
|
||||
human_size(available, "B"),
|
||||
human_size(model, "B"),
|
||||
human_size(token_vram, "B"),
|
||||
|
Loading…
Reference in New Issue
Block a user