You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by "dependabot[bot] (via GitHub)" <gi...@apache.org> on 2026/07/01 18:24:42 UTC
[PR] Bump transformers from 4.55.4 to 5.3.0 in /sdks/python/container/ml/py313 [beam]
dependabot[bot] opened a new pull request, #39193:
URL: https://github.com/apache/beam/pull/39193
Bumps [transformers](https://github.com/huggingface/transformers) from 4.55.4 to 5.3.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/huggingface/transformers/releases">transformers's releases</a>.</em></p>
<blockquote>
<h2>v5.1.0: EXAONE-MoE, PP-DocLayoutV3, Youtu-LLM, GLM-OCR</h2>
<h2>New Model additions</h2>
<h3>EXAONE-MoE</h3>
<!-- raw HTML omitted -->
<p>K-EXAONE is a large-scale multilingual language model developed by LG AI Research. Built using a Mixture-of-Experts architecture, K-EXAONE features 236 billion total parameters, with 23 billion active during inference. Performance evaluations across various benchmarks demonstrate that K-EXAONE excels in reasoning, agentic capabilities, general knowledge, multilingual understanding, and long-context processing.</p>
<ul>
<li>Add EXAONE-MoE implementations (<a href="https://redirect.github.com/huggingface/transformers/issues/43080">#43080</a>) by <a href="https://github.com/nuxlear"><code>@nuxlear</code></a></li>
</ul>
<h3>PP-DocLayoutV3</h3>
<!-- raw HTML omitted -->
<p><strong>PP-DocLayoutV3</strong> is a unified and high-efficiency model designed for comprehensive layout analysis. It addresses the challenges of complex physical distortions—such as skewing, curving, and adverse lighting—by integrating instance segmentation and reading order prediction into a single, end-to-end framework.</p>
<ul>
<li>[Model] Add PP-DocLayoutV3 Model Support (<a href="https://redirect.github.com/huggingface/transformers/issues/43098">#43098</a>) by <a href="https://github.com/zhang-prog"><code>@zhang-prog</code></a></li>
</ul>
<h3>Youtu-LLM</h3>
<!-- raw HTML omitted -->
<p>Youtu-LLM is a new, small, yet powerful LLM, contains only 1.96B parameters, supports 128k long context, and has native agentic talents. On general evaluations, Youtu-LLM significantly outperforms SOTA LLMs of similar size in terms of Commonsense, STEM, Coding and Long Context capabilities; in agent-related testing, Youtu-LLM surpasses larger-sized leaders and is truly capable of completing multiple end2end agent tasks.</p>
<ul>
<li>Add Youtu-LLM model (<a href="https://redirect.github.com/huggingface/transformers/issues/43166">#43166</a>) by <a href="https://github.com/LuJunru"><code>@LuJunru</code></a></li>
</ul>
<h3>GlmOcr</h3>
<!-- raw HTML omitted -->
<p>GLM-OCR is a multimodal OCR model for complex document understanding, built on the GLM-V encoder–decoder architecture. It introduces Multi-Token Prediction (MTP) loss and stable full-task reinforcement learning to improve training efficiency, recognition accuracy, and generalization. The model integrates the CogViT visual encoder pre-trained on large-scale image–text data, a lightweight cross-modal connector with efficient token downsampling, and a GLM-0.5B language decoder. Combined with a two-stage pipeline of layout analysis and parallel recognition based on PP-DocLayout-V3, GLM-OCR delivers robust and high-quality OCR performance across diverse document layouts.</p>
<ul>
<li>[GLM-OCR] GLM-OCR Support (<a href="https://redirect.github.com/huggingface/transformers/issues/43391">#43391</a>)by <a href="https://github.com/zRzRzRzRzRzRzR"><code>@zRzRzRzRzRzRzR</code></a></li>
</ul>
<h2>Breaking changes</h2>
<ul>
<li>
<p>🚨 T5Gemma2 model structure (<a href="https://redirect.github.com/huggingface/transformers/issues/43633">#43633</a>) - Makes sure that the attn implementation is set to all sub-configs. The config.encoder.text_config was not getting its attn set because we aren't passing it to PreTrainedModel.<strong>init</strong>. We can't change the model structure without breaking so I manually re-added a call to self.adjust_attn_implemetation in modeling code</p>
</li>
<li>
<p>🚨 Generation cache preparation (<a href="https://redirect.github.com/huggingface/transformers/issues/43679">#43679</a>) - Refactors cache initialization in generation to ensure sliding window configurations are now properly respected. Previously, some models (like Afmoe) created caches without passing the model config, causing sliding window limits to be ignored. This is breaking because models with sliding window attention will now enforce their window size limits during generation, which may change generation behavior or require adjusting sequence lengths in existing code.</p>
</li>
<li>
<p>🚨 Delete duplicate code in backbone utils (<a href="https://redirect.github.com/huggingface/transformers/issues/43323">#43323</a>) - This PR cleans up backbone utilities. Specifically, we have currently 5 different config attr to decide which backbone to load, most of which can be merged into one and seem redundant
After this PR, we'll have only one config.backbone_config as a single source of truth. The models will load the backbone from_config and load pretrained weights only if the checkpoint has any weights saved. The overall idea is same as in other composite models. A few config arguments are removed as a result.</p>
</li>
<li>
<p>🚨 Refactor DETR to updated standards (<a href="https://redirect.github.com/huggingface/transformers/issues/41549">#41549</a>) - standardizes the DETR model to be closer to other vision models in the library.</p>
</li>
<li>
<p>🚨Fix floating-point precision in JanusImageProcessor resize (<a href="https://redirect.github.com/huggingface/transformers/issues/43187">#43187</a>) - replaces an <code>int()</code> with <code>round()</code>, expect light numerical differences</p>
</li>
<li>
<p>🚨 Remove deprecated AnnotionFormat (<a href="https://redirect.github.com/huggingface/transformers/issues/42983">#42983</a>) - removes a missnamed class in favour of <code>AnnotationFormat</code>.</p>
</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/huggingface/transformers/commit/aad13b87ed59f2afcfaebc985f403301887a35fc"><code>aad13b8</code></a> v5.3.0</li>
<li><a href="https://github.com/huggingface/transformers/commit/f6c63a61156fc0799a839f5de0219cad857c84a0"><code>f6c63a6</code></a> protect imports (<a href="https://redirect.github.com/huggingface/transformers/issues/44437">#44437</a>)</li>
<li><a href="https://github.com/huggingface/transformers/commit/fd6bc380c8854a370fbc9f68a157895d84dce7d7"><code>fd6bc38</code></a> [vllm + v5 fix] handle TokenizersBackend fallback properly for v5 (<a href="https://redirect.github.com/huggingface/transformers/issues/44255">#44255</a>)</li>
<li><a href="https://github.com/huggingface/transformers/commit/30c480166a95342fefdd9d727fc2a163bea7b2b1"><code>30c4801</code></a> Fix CLI NameError: name 'TypeAdapter' is not defined (<a href="https://redirect.github.com/huggingface/transformers/issues/44256">#44256</a>)</li>
<li><a href="https://github.com/huggingface/transformers/commit/ee4c22078ff3987cbab669f332ff022d4fa89469"><code>ee4c220</code></a> Enforce min length in some generate tests (<a href="https://redirect.github.com/huggingface/transformers/issues/44401">#44401</a>)</li>
<li><a href="https://github.com/huggingface/transformers/commit/a4f3df01aa9eab510768ea4396779b896b1ed8ab"><code>a4f3df0</code></a> [tiny] Add olmo_hybrid to tokenizer auto-mapping (<a href="https://redirect.github.com/huggingface/transformers/issues/44416">#44416</a>)</li>
<li><a href="https://github.com/huggingface/transformers/commit/13135882276c0e4f72c921fc01a26f02e2137128"><code>1313588</code></a> Update PR template (<a href="https://redirect.github.com/huggingface/transformers/issues/44415">#44415</a>)</li>
<li><a href="https://github.com/huggingface/transformers/commit/7235d44257e7e4765317d475622e2085a09c9e3b"><code>7235d44</code></a> Add eurobert (<a href="https://redirect.github.com/huggingface/transformers/issues/39455">#39455</a>)</li>
<li><a href="https://github.com/huggingface/transformers/commit/f60c4e9423a2063fd0e313428ebbb3d5d1e6bdd6"><code>f60c4e9</code></a> Add Qwen3.5 support for sequence classification (<a href="https://redirect.github.com/huggingface/transformers/issues/44406">#44406</a>)</li>
<li><a href="https://github.com/huggingface/transformers/commit/fa7f4b68df0c629f321821671b8988200a49e59d"><code>fa7f4b6</code></a> update the expected output for qwen2_5_vl w/ pytorch 2.10 XPU (<a href="https://redirect.github.com/huggingface/transformers/issues/44426">#44426</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/huggingface/transformers/compare/v4.55.4...v5.3.0">compare view</a></li>
</ul>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/apache/beam/network/alerts).
</details>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@beam.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Bump transformers from 4.55.4 to 5.3.0 in /sdks/python/container/ml/py313 [beam]
Posted by "dependabot[bot] (via GitHub)" <gi...@apache.org>.
dependabot[bot] commented on PR #39193:
URL: https://github.com/apache/beam/pull/39193#issuecomment-4859138082
OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting `@dependabot ignore this major version` or `@dependabot ignore this minor version`. You can also ignore all major, minor, or patch releases for a dependency by adding an [`ignore` condition](https://docs.github.com/en/code-security/supply-chain-security/configuration-options-for-dependency-updates#ignore) with the desired `update_types` to your config file.
If you change your mind, just re-open this PR and I'll resolve any conflicts on it.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@beam.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Bump transformers from 4.55.4 to 5.3.0 in /sdks/python/container/ml/py313 [beam]
Posted by "derrickaw (via GitHub)" <gi...@apache.org>.
derrickaw closed pull request #39193: Bump transformers from 4.55.4 to 5.3.0 in /sdks/python/container/ml/py313
URL: https://github.com/apache/beam/pull/39193
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@beam.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Bump transformers from 4.55.4 to 5.3.0 in /sdks/python/container/ml/py313 [beam]
Posted by "codecov[bot] (via GitHub)" <gi...@apache.org>.
codecov[bot] commented on PR #39193:
URL: https://github.com/apache/beam/pull/39193#issuecomment-4859118129
## [Codecov](https://app.codecov.io/gh/apache/beam/pull/39193?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) Report
:white_check_mark: All modified and coverable lines are covered by tests.
:white_check_mark: Project coverage is 54.40%. Comparing base ([`74059db`](https://app.codecov.io/gh/apache/beam/commit/74059db52cd09144d176fc08716690b82d8b56e7?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)) to head ([`81605f5`](https://app.codecov.io/gh/apache/beam/commit/81605f576506f577801d0e64fc2c900fdf5c2682?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)).
:warning: Report is 17 commits behind head on master.
<details><summary>Additional details and impacted files</summary>
```diff
@@ Coverage Diff @@
## master #39193 +/- ##
============================================
+ Coverage 54.32% 54.40% +0.07%
Complexity 1715 1715
============================================
Files 1065 1065
Lines 167364 167605 +241
Branches 1255 1255
============================================
+ Hits 90922 91181 +259
+ Misses 74224 74206 -18
Partials 2218 2218
```
| [Flag](https://app.codecov.io/gh/apache/beam/pull/39193/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | Coverage Δ | |
|---|---|---|
| [python](https://app.codecov.io/gh/apache/beam/pull/39193/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `79.41% <ø> (+0.08%)` | :arrow_up: |
Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#carryforward-flags-in-the-pull-request-comment) to find out more.
</details>
[:umbrella: View full report in Codecov by Harness](https://app.codecov.io/gh/apache/beam/pull/39193?dropdown=coverage&src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache).
:loudspeaker: Have feedback on the report? [Share it here](https://about.codecov.io/codecov-pr-comment-feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache).
<details><summary> :rocket: New features to boost your workflow: </summary>
- :snowflake: [Test Analytics](https://docs.codecov.com/docs/test-analytics): Detect flaky tests, report on failures, and find test suite problems.
- :package: [JS Bundle Analysis](https://docs.codecov.com/docs/javascript-bundle-analysis): Save yourself from yourself by tracking and limiting bundle sizes in JS merges.
</details>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@beam.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Bump transformers from 4.55.4 to 5.3.0 in /sdks/python/container/ml/py313 [beam]
Posted by "derrickaw (via GitHub)" <gi...@apache.org>.
derrickaw commented on PR #39193:
URL: https://github.com/apache/beam/pull/39193#issuecomment-4859137497
editing an autogenerated file is a No
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@beam.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org