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. 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 https://github.com/huggingface/transformers/pull/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