cd /news/large-language-models/one-more-measured-note-for-transform… · home › topics › large-language-models › article
[ARTICLE · art-179995] src=discuss.huggingface.co ↗ pub= topic=large-language-models verified=true sentiment=↑ positive

One more measured note for transformers — video expansion adds an outer marker pair

Hugging Face's Transformers 5.25.0 fixes a Qwen3-VL processor bug that added an extra outer vision marker pair when video placeholders were wrapped, according to a developer's CPU processor/tokenizer checks. With the same assets and synthetic media, one wrapped video dropped from 3 vision pairs and 30 total IDs on 5.24.1 to 2 pairs and 27 IDs on 5.25.0, two wrapped videos fell from 6 pairs and 58 IDs to 4 pairs and 52 IDs, and an image followed by a video went from 4 pairs and 98 IDs to 3 pairs and 95 IDs, matching the bare-placeholder control. The fix ships via PR #51229, and the author recommends Transformers 5.25.0 with the normal model-specific template for Transformers-only Qwen3-VL setups while checking serving-engine/processor version combinations separately.

key takeaway

Transformers 5.25.0 removes the extra outer vision marker pair for wrapped Qwen3-VL video placeholders, cutting a single wrapped video from 3 vision pairs and 30 IDs to 2 pairs and 27 IDs.

read1 min views7 publishedDec 2, 2026

I confirmed the fix in 5.25.0 and ran some additional checks, including mixed image and video inputs:

The extra outer vision marker pair is gone in my Qwen3-VL processor checks on Transformers 5.25.0. The 5.24.1 result agrees with the reported behavior on 5.23.0. PR #51229 is included in 5.25.0.

Using the same processor/tokenizer assets and synthetic media, I counted the actual vision start/end token IDs and the total number of IDs:

Input to the processor 5.24.1: vision pairs / total IDs 5.25.0: vision pairs / total IDs
One video, wrapped placeholder 3 / 30 2 / 27
One video, bare placeholder 2 / 27 2 / 27
Two videos, wrapped placeholders 6 / 58 4 / 52
One image followed by one video 4 / 98 3 / 95

Each video had four raw frames and produced two temporal groups. The bare-placeholder control was unchanged; on 5.25.0, the wrapped and bare single-video cases gave exactly the same input IDs. In the mixed case, the image’s wrapper and media token count were preserved. The assistant-suffix alignment check also passed in both versions.

For a Transformers-only Qwen3-VL setup, I would now use 5.25.0 with the normal model-specific template and processor. For an external serving engine, check the engine/processor version combination separately. These are CPU processor/tokenizer measurements with synthetic media and hand-written prompts, not full model generation, video decoding, or training measurements.

  1. Why the outer pair disappeared in 5.25.0
── more in #large-language-models 4 stories · sorted by recency
── more on @hugging face 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/one-more-measured-no…] indexed:0 read:1min 2026-12-02 · —