You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
test(vision): activate Ollama vision e2e once granite-vision-4.1 lands on Ollama #1187
PR #1185 fixes the failing Ollama vision tests by splitting them into two tiers:
Structural payload tests — mocked unit tests that verify mellea correctly embeds ImageBlock instances into the Ollama conversation payload. These run in CI and locally with no vision model required.
Dormant live e2e tests — a thin round-trip smoke test that is currently skipped because no current-generation Granite vision model runs on Ollama yet.
What needs to happen
granite-vision-4.1 (ibm-granite/granite-vision-4.1-4b) is the current Granite vision model. It is not yet in the Ollama library (ollama.com/library/granite-vision-4.1 → 404). When it lands, the dormant tests in test/backends/test_vision_ollama.py should be activated.
Activation steps
Verify ollama pull granite-vision-4.1 works.
In test/backends/test_vision_ollama.py:
Remove the pytest.skip(...) call from the vision_session fixture.
Remove this tracking comment.
Add granite-vision-4.1 to the CI model-pull step in .github/workflows/quality.yml so the e2e tests run in CI.
Optionally add IBM_GRANITE_VISION_4_1_4B to mellea/backends/model_ids.py and update the _VISION_MODEL constant to use it.
Blog post tracking Ollama availability: mellea-website branch blog/granite-vision-structured-extraction (see the "Model availability" note in that draft)
I had a PR to open remove the pinning #1392 but after further investigation this was not the cause of the memory usage being too high that we had seen.
Activity
test(backends): fix vision Ollama tests failing in CI with 400 model …
test(backends): fix vision Ollama tests failing in CI with 400 model …
AngeloDanducci commentedon Jul 14, 2026
I had a PR to open remove the pinning #1392 but after further investigation this was not the cause of the memory usage being too high that we had seen.
psschwei commentedon Aug 10, 2026
Since the vision model is on HF, this may be doable now
https://huggingface.co/ibm-granite/granite-vision-4.1-4b
planetf1 commentedon Aug 11, 2026
Updated to use the vision model from Hugging Face.
granite-vision-4.1still isn't in the Ollama library, but IBM publishes an official GGUF build, so Ollama can pull it straight from HF:The dormant e2e tests are now active and passing in CI on 3.11/3.12/3.13, with no meaningful change to job runtime. Docs updated too. PR #1527.
test(vision): activate Ollama vision e2e via Hugging Face GGUF pull
test(vision): activate Ollama vision e2e via Hugging Face GGUF pull (g…