test: add LightOn OCR-2 integration test for llamacpp#784
Merged
Conversation
Add integration test for LightON OCR-2 vision-language model OCR. Uses Q4_K_M LLM + F16 mmproj with newspaper document image. Validates text extraction with keyword matching.
- Increase timeout from 15min to 30min for darwin-x64 (model download + slow inference) - Add ocr-lighton.test.js to mobile integration.auto.cjs
2 tasks
gianni-cor
approved these changes
Mar 9, 2026
DmitryMalishev
approved these changes
Mar 10, 2026
Contributor
Tier-based Approval Status |
olyasir
added a commit
that referenced
this pull request
Mar 11, 2026
* test: add LightON OCR-2 integration test Add integration test for LightON OCR-2 vision-language model OCR. Uses Q4_K_M LLM + F16 mmproj with newspaper document image. Validates text extraction with keyword matching. * fix: increase OCR test timeout and add mobile test entry - Increase timeout from 15min to 30min for darwin-x64 (model download + slow inference) - Add ocr-lighton.test.js to mobile integration.auto.cjs * fix: use cpu-only for LightOn OCR test on mobile * doc: add LightOn OCR-2 vision-language usage documentation
Proletter
pushed a commit
that referenced
this pull request
May 24, 2026
* test: add LightON OCR-2 integration test Add integration test for LightON OCR-2 vision-language model OCR. Uses Q4_K_M LLM + F16 mmproj with newspaper document image. Validates text extraction with keyword matching. * fix: increase OCR test timeout and add mobile test entry - Increase timeout from 15min to 30min for darwin-x64 (model download + slow inference) - Add ocr-lighton.test.js to mobile integration.auto.cjs * fix: use cpu-only for LightOn OCR test on mobile * doc: add LightOn OCR-2 vision-language usage documentation
9 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
ocr-lighton.test.js) to llamacpp-llm packageintegration.auto.cjsRelated: #765
Test plan
tmp/lighton-ocr2-integration-test: https://github.com/tetherto/qvac/actions/runs/22865243954