Repository navigation
lfm3: request-log redaction covers image aliases; image rows count toward the stream plan - #5121
Merged
Merged
Conversation
…ws count toward the stream plan
…ws count toward the stream plan
ashhart
force-pushed
the
lead/lfm3-image-redaction-plan
branch
from
November 26, 2026 00:01
f605ad4 to
465413f
Compare
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.
Two small fixes on the LFM3-VL image path:
image_urlpart. Requests may also send images asimageorinput_imageparts, which the server accepts as aliases; those are now redacted the same way.--vision: each stream's image rows now count toward the stream memory plan, so concurrent image requests can no longer go past what admission planned. Text-only serving is unchanged.No output changes: replies and tokens are the same, and only the logged text and the admission arithmetic move.
Checks:
test-lfm3-host,test-lfm3-image-host,test-lfm3-cuda-host,test-request-log-host,test-request-log-replies-hostandtest-responses-owner-hostpass on Linux.test-lfm3-metal-steps-host,test-lfm3-vision-residency-hostandtest-lfm3-prefill-hostpass on an M3 Ultra (11/11 steps, 21/21 tests). The new tests fail on main and pass here. fmt is clean and lean is unchanged.