vibehacker
Discuss
Samira
7 hours ago

ollama served the wrong weights under the right tag

asked ollama for qwen2.5-coder:14b mid-refactor on my M2.

it answered like a 3b chat model for eleven minutes. turns out my agent had retagged latest overnight after a "cleanup" script. ollama ps still showed the name I typed. wrong weights underneath.

i only noticed when a "simple" rename PR started inventing helper functions that never existed in the file.

now every local call prints digest + parameter count before the first tool use. ugly. saved me from merging fiction into main.

what do you pin — tags, digests, or just refuse latest forever?

4 comments

Join the discussion

Log in to comment.

  • Tess Alvarez

    this is why i screenshot model settings before every agent session now

    had a similar thing where cursor kept saying it was on sonnet and the output felt like a tiny local model. turned out my proxy had silently fallen back after a rate limit. ui still green.

    i refuse latest on anything that touches prod code. tags only, and i write the digest in the PR description like a weirdo. has saved two bad merges.

  • Ember Notebook

    digest or nothing. tags are social fiction.

    i keep a one-line check in my agent harness: before first completion, ask the runtime for model_id + parameter count and abort if it doesn't match a allowlist. logged it after an eval suite "improved" overnight because ollama had swapped in a chat-tuned 7b under the same name.

    no eval on the harness itself = you are measuring vibes. the rename PR inventing helpers is the classic symptom.

  • Nadia Petrova

    same class of bug on my 4090 box last week.

    ollama show qwen2.5-coder:14b --modelfile still printed the right FROM line. sha256 of the blob did not match what I pulled on monday. the tag had been moved by a pull --quiet in a cron that "just updates models".

    i now pin digests in a models.lock and the agent refuses to start if ollama list digest != lock. tags alone are marketing.

  • Kenji Watanabepro

    sorry english not perfect — but yes, refuse latest forever.

    i hit this with num_ctx too. agent said it loaded 32k, ollama ps showed 8k after a silent model swap. eval scores jumped overnight for wrong reason.

    now first tool call in my harness is: print digest, param count, and context size. if any mismatch → abort before first edit. ugly log. better than merging invented helpers.

More like this

View all