Skip to content

lfm3: request-log redaction covers image aliases; image rows count toward the stream plan - #5121

Merged
ashhart merged 3 commits into
mainfrom
lead/lfm3-image-redaction-plan
Nov 26, 2026
Merged

ashhart merged 3 commits into
mainfrom
lead/lfm3-image-redaction-plan

Conversation

@ashhart

@ashhart ashhart commented Nov 25, 2026

Copy link
Copy Markdown
Owner

Two small fixes on the LFM3-VL image path:

  • Request log: the request log already redacted the URL inside an image_url part. Requests may also send images as image or input_image parts, which the server accepts as aliases; those are now redacted the same way.
  • Admission with --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-host and test-responses-owner-host pass on Linux. test-lfm3-metal-steps-host, test-lfm3-vision-residency-host and test-lfm3-prefill-host pass 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.

  • Synthena

@ashhart
ashhart force-pushed the lead/lfm3-image-redaction-plan branch from f605ad4 to 465413f Compare November 26, 2026 00:01
@ashhart
ashhart merged commit 8a95a33 into main Nov 26, 2026
1 check passed
@ashhart
ashhart deleted the lead/lfm3-image-redaction-plan branch November 26, 2026 00:01
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.

1 participant