Repository navigation
Support image-aware DeepSeek templates without client placeholders - #55
Conversation
|
@codex review |
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Codex Review: Didn't find any major issues. Swish! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
|
@codex review |
|
Codex Review: Didn't find any major issues. What shall we delve into next? Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
|
@codex review |
|
Codex Review: Didn't find any major issues. Hooray! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
|
@codex review |
|
Codex Review: Didn't find any major issues. Swish! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
What this changes
Image-aware checkpoint templates need decoded image blocks so the template can write its own image tokens. Add the explicit server setting
TF_DS_VISION_TEMPLATE=native. The existingplaceholdermode stays the default for the recipe's patched legacy template.Only the family image decoder can enable the internal template flag. Client request fields cannot change the server mode. Role, count, size, and client-written-placeholder checks remain. The special-token shield receives the same decoded messages as the template.
The integration preserves prompt-piece caching and whole-input fallback. Four new cases cover native and legacy image templates with both a supported cache and an unsupported tokenizer. They compare final prompt IDs and image spans with whole-input encoding. Removal probes show that losing either the native flag or cache path breaks the intended cases.
This carries the image-block approach from PR #37 by sivalei while preserving legacy compatibility. It addresses recipe issue #46.
Type
type: fix: a bug fix, or a fix after review findingstype: feature: new codetype: docs: docs onlytype: results: run resultstype: research: researchtype: spec: a planCurrent validation
847fc9c159546b1bff8998d0a784cbeef716076b; base:2d111657084b46b2a2776e1600f39d8c354831faondeepseek-v41-tp2.Checklist
AI disclosure
AI: GPT-6 and GPT-6.1 Sol (sizes unavailable) via Codex Desktop.
Checked: read the template, decoder and cache paths; inspected the conflict resolution and new tests; verified actual logs, source manifests, frozen inputs, CI and Codex evidence. Hardware qualification remains open.