mirror of
https://github.com/ollama/ollama.git
synced 2025-05-11 10:26:53 +02:00
partial offloading
This commit is contained in:
parent
8b2c10061c
commit
7e33a017c0
6 changed files with 98 additions and 86 deletions
|
@ -50,7 +50,7 @@ func HumanBytes(b int64) string {
|
|||
}
|
||||
}
|
||||
|
||||
func HumanBytes2(b int64) string {
|
||||
func HumanBytes2(b uint64) string {
|
||||
switch {
|
||||
case b >= MebiByte:
|
||||
return fmt.Sprintf("%.1f MiB", float64(b)/MebiByte)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue