Skip to content

feat(example): use MTMD batch encoding#2301

Merged
abetlen merged 1 commit into
mainfrom
feat/server-mtmd-batching-api
Jun 13, 2026
Merged

feat(example): use MTMD batch encoding#2301
abetlen merged 1 commit into
mainfrom
feat/server-mtmd-batching-api

Conversation

@abetlen

@abetlen abetlen commented Jun 13, 2026

Copy link
Copy Markdown
Owner

Use the upstream MTMD batch API in the server example.

  • Adds model.mtmd.batch_max_tokens and passes it into the MTMD context.
  • Encodes uncached media chunks through mtmd_batch_* while preserving scheduler-side embedding decode and media cache behavior.
  • Documents image, audio, and video MTMD config fields.

@abetlen abetlen force-pushed the feat/server-mtmd-batching-api branch from c29ec33 to d5cc763 Compare June 13, 2026 18:01
@abetlen abetlen marked this pull request as ready for review June 13, 2026 18:16
@abetlen abetlen merged commit a52702f into main Jun 13, 2026
15 checks passed
@abetlen abetlen deleted the feat/server-mtmd-batching-api branch June 13, 2026 18:16
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