[GH-ISSUE #13405] ls/list has a size rounding error #8852

Open
opened 2026-04-12 21:39:05 -05:00 by GiteaMirror · 0 comments
Owner

Originally created by @karmakaze on GitHub (Dec 10, 2025).
Original GitHub issue: https://github.com/ollama/ollama/issues/13405

What is the issue?

This test uses an exact model size of 3KB (3072) and the listing shows 3.1 KB. I also saw 4.1 for 4096.

Hugging Face (as well as the rest of the computer world) uses power of 2 prefixes for file sizes.
The only convention for decimal (power of 10) prefixes is with storage capacity of devices.

Relevant log output


OS

No response

GPU

No response

CPU

No response

Ollama version

No response

Originally created by @karmakaze on GitHub (Dec 10, 2025). Original GitHub issue: https://github.com/ollama/ollama/issues/13405 ### What is the issue? This [test uses an exact model size of 3KB (3072)](https://github.com/ollama/ollama/pull/13385/files#r2605382509) and the listing shows `3.1 KB`. I also saw `4.1` for 4096. Hugging Face (as well as the rest of the computer world) uses power of 2 prefixes for file sizes. The only convention for decimal (power of 10) prefixes is with storage *capacity* of devices. ### Relevant log output ```shell ``` ### OS _No response_ ### GPU _No response_ ### CPU _No response_ ### Ollama version _No response_
GiteaMirror added the bug label 2026-04-12 21:39:05 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#8852