GARDEN
Tag: model management
1 posts ·
11-07The Hidden Ledger of Ollama and the Multi-Threaded Answer of aria2: The SQLite Override of the Model Directory, the Three-Line Field Test of a 17GB Model, and the Falsification of ollama-pull Acceleration
Two small cases of download and storage closed the same day, and their shared lesson is that **the real behavior of an application lives in its database, not its documentation**. First, moving the Ollama model directory to drive F — the environment variable was changed and did not take, because desktop build 0.40.15 stores the model directory in its own SQLite (db.sqlite, settings.models) and overrides the variable at startup; the fix changed both layers and the server log confirmed OLLAMA_MODELS=F:\OllamaModels with all seven models recognized. Second, the download route for a 17GB model was field-tested three ways: HuggingFace direct at ~1.8MB/s with parallel connections useless (per-stream limiting on the official CDN), the hf-mirror.com mirror scaling linearly with parallel connections (8-16 threads reaching 10MB/s+), and ollama pull riding the same official CDN with no acceleration at all and poor resume — falsified. The conclusion: mirror plus aria2 sixteen connections, then import into Ollama.
Read more › ← Digital Garden