Skip to content

train 1121150006: #2572 #2717 (CI only) - #4380

Closed
ashhart wants to merge 6 commits into
mainfrom
lead/train-1121150006
Closed

ashhart wants to merge 6 commits into
mainfrom
lead/train-1121150006

Conversation

@ashhart

@ashhart ashhart commented Nov 21, 2026

Copy link
Copy Markdown
Owner

CI for a landing train: #2572 #2717 stacked on main in that order. Nothing merges from this PR: each PR above lands on its own once this tip is green, and this PR is then closed.

laudney and others added 6 commits November 21, 2026 15:00
GLM-OCR reads a page as Markdown without boxes, so a reader now
states its geometry, a block's quad is optional, and GLM-OCR offers
an Ocr reader with the model card's text recognition prompt and no
geometry: the page becomes one block whose Markdown is the model's
reply, with HTML tables rewritten as pipe tables or clean spanned
HTML and \( \) and \[ \] math as $ and $$, cells included, while
fenced and inline code stays verbatim in a linear scan. A reader
without boxes refuses header and footer extraction, the page pixel
limit grows to GLM-OCR's, and greedy Hugging Face oracle outputs pin
the prompt and the parser in the fixture tests.
Issue 2440 asks that GLM-OCR's Markdown equal what the chat route
returns for the same image and prompt. The prompt-id test gains
GLM-OCR's prompt, so both routes give the model the same ids, and a
scripted reply sent through POST /v1/ocr with a reader of GLM-OCR's
contract and through /v1/chat/completions gives page Markdown equal
to the chat content; the reader test shows the reply kept verbatim
but for HTML tables and LaTeX delimiters.
The API guide named one reader. It now lists GLM-OCR with its
single page block, the header and footer refusal for a reader
without boxes, and the context a dense page needs under GLM-OCR's
default window; the changelog line stays with the maintainer.
…f the visual-token budget (#2510)

The default stays the per-request split, so replies without the flag are unchanged. With fixed, each image takes --vision-image-tokens / --vision-max-images whatever the request's image count, so a turn that adds an image leaves earlier images' rows where they were and the prompt cache resumes from the first image. A share of 0 is refused naming both flags.
@ashhart

ashhart commented Nov 21, 2026

Copy link
Copy Markdown
Owner Author

Landed: #2572 #2717 as main 72ebe5f. This PR only carried their CI.

@ashhart ashhart closed this Nov 21, 2026
@ashhart
ashhart deleted the lead/train-1121150006 branch November 21, 2026 15:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants