GoogleCloudPlatform / kubernetes-engine-samples

Sample applications for Google Kubernetes Engine (GKE)
https://cloud.google.com/kubernetes-engine/docs/tutorials/
Apache License 2.0
1.24k stars 1.22k forks source link

chore(deps): update python #1400

Closed renovate-bot closed 2 months ago

renovate-bot commented 3 months ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence Update Pending
google-cloud-aiplatform ==1.59.0 -> ==1.60.0 age adoption passing confidence minor
google-cloud-pubsub ~=2.22.0 -> ~=2.23.0 age adoption passing confidence minor
google-cloud-storage ==2.17.0 -> ==2.18.0 age adoption passing confidence minor
gradio ==4.38.1 -> ==4.39.0 age adoption passing confidence minor 4.40.0
langchain (changelog) ==0.2.10 -> ==0.2.11 age adoption passing confidence patch 0.2.12
langchain-community (changelog) ==0.2.9 -> ==0.2.10 age adoption passing confidence patch 0.2.11
langchain-google-vertexai ==1.0.6 -> ==1.0.7 age adoption passing confidence patch 1.0.8
pymupdf (changelog) ==1.24.7 -> ==1.24.9 age adoption passing confidence patch
ruff (source, changelog) >=0.5,<=0.5.4 -> >=0.5,<=0.5.5 age adoption passing confidence patch 0.5.6
streamlit (source, changelog) ==1.36.0 -> ==1.37.0 age adoption passing confidence minor
transformers ==4.42.4 -> ==4.43.3 age adoption passing confidence minor 4.43.4
All locks refreshed lockFileMaintenance

[!WARNING] Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

googleapis/python-aiplatform (google-cloud-aiplatform) ### [`v1.60.0`](https://togithub.com/googleapis/python-aiplatform/blob/HEAD/CHANGELOG.md#1600-2024-07-24) [Compare Source](https://togithub.com/googleapis/python-aiplatform/compare/v1.59.0...v1.60.0) ##### Features - Add preflight validations to PipelineJob submit and run methods. ([c5a3535](https://togithub.com/googleapis/python-aiplatform/commit/c5a35354485a577dd5477449bc4bdcd7866a8df4)) - Add support for langchain v0.2+ package versions in default installation ([259b638](https://togithub.com/googleapis/python-aiplatform/commit/259b638300054e13b2dfe1d3f32d7126bbb18b15)) - GenAI - Added tokenization support via `GenerativeModel.compute_tokens` ([cfe0cc6](https://togithub.com/googleapis/python-aiplatform/commit/cfe0cc62cbf8dc12b4b021377ddd613d1072fe95)) - GenAI - ContextCaching - allow from_cached_content to take the cached_content resource name ([8f53902](https://togithub.com/googleapis/python-aiplatform/commit/8f53902b933f3abf0c9a222f45c2fa7ada727505)) - Make count_tokens generally-available at TextEmbeddingModel. ([efb8413](https://togithub.com/googleapis/python-aiplatform/commit/efb84134094ab87d6a2fac48a1f2f1b2199c1818)) ##### Bug Fixes - Avoid throw error when Part.text is empty in modality content checks ([bbd4a49](https://togithub.com/googleapis/python-aiplatform/commit/bbd4a49d398052ba2c20e09f8f052e6f766d8fca)) - Correct logit_bias type annotation to accept keys as strings ([2676d25](https://togithub.com/googleapis/python-aiplatform/commit/2676d25e62d1bda68b0fbef274d0e669a6670415)) - Create FV embedding dimensions sample - dimensions should be an int ([2aa221e](https://togithub.com/googleapis/python-aiplatform/commit/2aa221ec994fea63bd73e2cfe760a314b990e4b0)) - Fix the sync option for Model Monitor job creation ([22151e2](https://togithub.com/googleapis/python-aiplatform/commit/22151e29e752dd8f27188046f8c8866c004ca196)) - Include DeploymentResourcePool class in aiplatform top-level sdk module ([ecc4f09](https://togithub.com/googleapis/python-aiplatform/commit/ecc4f09054b3e314b51ebf622b7241a5ab4ff072)) - Overriding the current TracerProvider when enabling tracing ([1476c10](https://togithub.com/googleapis/python-aiplatform/commit/1476c10f2fd91c02cd98799564a33ede742bc6e0)) - Pass the project ID from vertexai.init to CloudTraceSpanExporter when enable_tracing=True for LangchainAgent ([3ec043e](https://togithub.com/googleapis/python-aiplatform/commit/3ec043eefb053739f767d5199b1941bbc3c49120)) ##### Documentation - GenAI - Update README.md for Vertex Generative AI SDK for Python to add subsections to the right nav. ([42af742](https://togithub.com/googleapis/python-aiplatform/commit/42af742d808abdca56b84b3381388a36c8454f1b))
googleapis/python-pubsub (google-cloud-pubsub) ### [`v2.23.0`](https://togithub.com/googleapis/python-pubsub/blob/HEAD/CHANGELOG.md#2230-2024-07-29) [Compare Source](https://togithub.com/googleapis/python-pubsub/compare/v2.22.0...v2.23.0) ##### Features - Add max messages batching for Cloud Storage subscriptions ([#​1224](https://togithub.com/googleapis/python-pubsub/issues/1224)) ([91c89d3](https://togithub.com/googleapis/python-pubsub/commit/91c89d36c5099591408ab0661c55929e786b1b04))
googleapis/python-storage (google-cloud-storage) ### [`v2.18.0`](https://togithub.com/googleapis/python-storage/blob/HEAD/CHANGELOG.md#2180-2024-07-09) [Compare Source](https://togithub.com/googleapis/python-storage/compare/v2.17.0...v2.18.0) ##### Features - Add OpenTelemetry Tracing support as a preview feature ([#​1288](https://togithub.com/googleapis/python-storage/issues/1288)) ([c2ab0e0](https://togithub.com/googleapis/python-storage/commit/c2ab0e035b179a919b27c7f50318472f14656e00)) ##### Bug Fixes - Allow Protobuf 5.x ([#​1317](https://togithub.com/googleapis/python-storage/issues/1317)) ([152b249](https://togithub.com/googleapis/python-storage/commit/152b249472a09342777237d47b6c09f99c2d28e6)) - Correct notification error message ([#​1290](https://togithub.com/googleapis/python-storage/issues/1290)) ([1cb977d](https://togithub.com/googleapis/python-storage/commit/1cb977daa2d97c255a382ce81f56a43168b0637d)), closes [#​1289](https://togithub.com/googleapis/python-storage/issues/1289)
gradio-app/gradio (gradio) ### [`v4.39.0`](https://togithub.com/gradio-app/gradio/blob/HEAD/CHANGELOG.md#4390) [Compare Source](https://togithub.com/gradio-app/gradio/compare/gradio@4.38.1...gradio@4.39.0) ##### Features - [#​8832](https://togithub.com/gradio-app/gradio/pull/8832) [`e75f2ca`](https://togithub.com/gradio-app/gradio/commit/e75f2ca2da4f41f25459b98bedaa940c887e6a93) - Fix build for pre-release. Thanks [@​pngwn](https://togithub.com/pngwn)! - [#​8618](https://togithub.com/gradio-app/gradio/pull/8618) [`aa4b7a7`](https://togithub.com/gradio-app/gradio/commit/aa4b7a71921fd5b7ad7e3c0cce7687a8f6d284da) - Improve styling of parameter tables in the docs. Thanks [@​abidlabs](https://togithub.com/abidlabs)! - [#​8745](https://togithub.com/gradio-app/gradio/pull/8745) [`4030f28`](https://togithub.com/gradio-app/gradio/commit/4030f28af6ae9f3eb94bb4e9cae83fb7016cdaad) - Allows updating the dataset of a `gr.Examples`. Thanks [@​abidlabs](https://togithub.com/abidlabs)! - [#​8757](https://togithub.com/gradio-app/gradio/pull/8757) [`6073736`](https://togithub.com/gradio-app/gradio/commit/60737366517f48d1a37ffce15425783a2887f305) - Document `FileData` class in docs. Thanks [@​hannahblair](https://togithub.com/hannahblair)! - [#​8846](https://togithub.com/gradio-app/gradio/pull/8846) [`76c1759`](https://togithub.com/gradio-app/gradio/commit/76c175935019833baef709a5cf401d2263ca72ee) - add space header. Thanks [@​pngwn](https://togithub.com/pngwn)! - [#​8804](https://togithub.com/gradio-app/gradio/pull/8804) [`1d09925`](https://togithub.com/gradio-app/gradio/commit/1d09925469a5f96e8d3a972a28841903fa1c7265) - Fix Lite's . Thanks [@​whitphx](https://togithub.com/whitphx)! - [#​8807](https://togithub.com/gradio-app/gradio/pull/8807) [`a238af4`](https://togithub.com/gradio-app/gradio/commit/a238af4d688c4e030e37c2ef01d5c80d6d940912) - Refactor plots to drop `altair` and use `vega.js` directly. Thanks [@​aliabid94](https://togithub.com/aliabid94)! - [#​8806](https://togithub.com/gradio-app/gradio/pull/8806) [`a3d23b4`](https://togithub.com/gradio-app/gradio/commit/a3d23b43e71c22bc2b019ae96668605e744768d5) - Add `loop` parameters to `gr.Audio` and `gr.Video`. Thanks [@​abidlabs](https://togithub.com/abidlabs)! - [#​8856](https://togithub.com/gradio-app/gradio/pull/8856) [`5622331`](https://togithub.com/gradio-app/gradio/commit/5622331da724eb2510c74f156a2fd140a932cc55) - Extend `pyright` to cover tests as well. Thanks [@​abidlabs](https://togithub.com/abidlabs)! - [#​8851](https://togithub.com/gradio-app/gradio/pull/8851) [`914b193`](https://togithub.com/gradio-app/gradio/commit/914b1935de27c3b379ac9e759b6d10747e3b881a) - Add copy button to `gr.Markdown`. Thanks [@​hannahblair](https://togithub.com/hannahblair)! - [#​8837](https://togithub.com/gradio-app/gradio/pull/8837) [`0d76169`](https://togithub.com/gradio-app/gradio/commit/0d76169e46112dffbc2e7649355706e37e0a6372) - upgrade pyright==1.1.372. Thanks [@​abidlabs](https://togithub.com/abidlabs)! - [#​8816](https://togithub.com/gradio-app/gradio/pull/8816) [`9ee6839`](https://togithub.com/gradio-app/gradio/commit/9ee6839f94d23d685a800ed3a275206e0b0e48f6) - Change optionality of the `data` param in `submit` + `predict`. Thanks [@​hannahblair](https://togithub.com/hannahblair)! - [#​8809](https://togithub.com/gradio-app/gradio/pull/8809) [`7f41567`](https://togithub.com/gradio-app/gradio/commit/7f41567e9cc5222c4cede3ea5321e634ea038bd1) - Use constant-time comparison when checking user provided analytics key. Thanks [@​abidlabs](https://togithub.com/abidlabs)! - [#​8817](https://togithub.com/gradio-app/gradio/pull/8817) [`34510db`](https://togithub.com/gradio-app/gradio/commit/34510db468daae19ad618c347cb88a4769816fb2) - Allow HTML in alert modals. Thanks [@​abidlabs](https://togithub.com/abidlabs)! - [#​8803](https://togithub.com/gradio-app/gradio/pull/8803) [`e1a4040`](https://togithub.com/gradio-app/gradio/commit/e1a404093cfaf9d8f2a92bc1d28fb6aa254848d1) - Ensure all upload components have consistent upload regions. Thanks [@​pngwn](https://togithub.com/pngwn)! - [#​8821](https://togithub.com/gradio-app/gradio/pull/8821) [`cea3bf9`](https://togithub.com/gradio-app/gradio/commit/cea3bf990057391f699bdeeabbdb62fdad9b43f5) - Fix dependency loop with statustracker and markdown. Thanks [@​aliabd](https://togithub.com/aliabd)! - [#​8774](https://togithub.com/gradio-app/gradio/pull/8774) [`2d179f6`](https://togithub.com/gradio-app/gradio/commit/2d179f647baca48362863f5144298768149860c9) - Set the default format of gr.Plot as png for Wasm mode. Thanks [@​whitphx](https://togithub.com/whitphx)! - [#​8775](https://togithub.com/gradio-app/gradio/pull/8775) [`e36bab7`](https://togithub.com/gradio-app/gradio/commit/e36bab77e5753c3b011c7e44bce2eed46fac27cc) - Refactoring loadPyodide typing. Thanks [@​whitphx](https://togithub.com/whitphx)! ##### Fixes - [#​8854](https://togithub.com/gradio-app/gradio/pull/8854) [`d1f0441`](https://togithub.com/gradio-app/gradio/commit/d1f044145ae93e5838042d9fb25f4f17def9c774) - Use covariant container types across the codebase and add typing to our demos. Thanks [@​abidlabs](https://togithub.com/abidlabs)! - [#​8818](https://togithub.com/gradio-app/gradio/pull/8818) [`2de9a97`](https://togithub.com/gradio-app/gradio/commit/2de9a97ae953cc5c58c0d33d8966e638e76f950f) - Refactoring component making the code simpler and fixing a Playground mode bug. Thanks [@​whitphx](https://togithub.com/whitphx)! - [#​8799](https://togithub.com/gradio-app/gradio/pull/8799) [`61bb588`](https://togithub.com/gradio-app/gradio/commit/61bb5883a2af50534ef6994ba4829a1a3ea00e65) - Remove Pydantic v2 patch from Lite. Thanks [@​whitphx](https://togithub.com/whitphx)! - [#​8822](https://togithub.com/gradio-app/gradio/pull/8822) [`3a81fb2`](https://togithub.com/gradio-app/gradio/commit/3a81fb2578c6f73607c4e240d228dccb69153e0a) - Latex Rendering Fix. Thanks [@​dawoodkhan82](https://togithub.com/dawoodkhan82)! - [#​8865](https://togithub.com/gradio-app/gradio/pull/8865) [`2f630ab`](https://togithub.com/gradio-app/gradio/commit/2f630abf53ec493a3ff5e827b5951b26c74b7242) - Chatbot Examples Scroll Fix. Thanks [@​dawoodkhan82](https://togithub.com/dawoodkhan82)! - [#​8820](https://togithub.com/gradio-app/gradio/pull/8820) [`5050b36`](https://togithub.com/gradio-app/gradio/commit/5050b36221e75a18d8a5d4f74a725e70768a4c4a) - fix: wrong named param check for js client. Thanks [@​JacobLinCool](https://togithub.com/JacobLinCool)! - [#​8836](https://togithub.com/gradio-app/gradio/pull/8836) [`7e8c829`](https://togithub.com/gradio-app/gradio/commit/7e8c829aad85d3d5a31a03f4f2e41483d1e6b53e) - Add `.input()` events to `gr.Audio` and `gr.Image`. Thanks [@​abidlabs](https://togithub.com/abidlabs)! - [#​8802](https://togithub.com/gradio-app/gradio/pull/8802) [`7b19474`](https://togithub.com/gradio-app/gradio/commit/7b19474cb2dd8f2c34d630f43edb0fcb0e05aa0c) - Ensure `ImageEditor` brush color can be updated with `gr.update`. Thanks [@​pngwn](https://togithub.com/pngwn)! - [#​8852](https://togithub.com/gradio-app/gradio/pull/8852) [`16b8200`](https://togithub.com/gradio-app/gradio/commit/16b820038df43905447ab7623d39d91ceb0d6238) - Fix gr.Image height inconsistencies. Thanks [@​hannahblair](https://togithub.com/hannahblair)!
pymupdf/pymupdf (pymupdf) ### [`v1.24.9`](https://togithub.com/pymupdf/PyMuPDF/releases/tag/1.24.9): PyMuPDF-1.24.9 released [Compare Source](https://togithub.com/pymupdf/pymupdf/compare/1.24.8...1.24.9) PyMuPDF-1.24.9 has been released. Wheels for Windows, Linux and MacOS, and the sdist, are available on pypi.org and can be installed in the usual way, for example: python -m pip install --upgrade pymupdf \[Linux-aarch64 wheels will be built and uploaded later.] **Changes in version 1.24.9 (2024-07-24)** - Incremented MuPDF version to 1.24.8. ### [`v1.24.8`](https://togithub.com/pymupdf/PyMuPDF/releases/tag/1.24.8): PyMuPDF-1.24.8 released [Compare Source](https://togithub.com/pymupdf/pymupdf/compare/1.24.7...1.24.8) PyMuPDF-1.24.8 has been released. Wheels for Windows, Linux and MacOS, and the sdist, are available on pypi.org and can be installed in the usual way, for example: python -m pip install --upgrade pymupdf \[Linux-aarch64 wheels will be built and uploaded later.] **Changes in version 1.24.8 (2024-07-22)** - Fixed issues: - **Fixed** [#​3636](https://togithub.com/pymupdf/pymupdf/issues/3636) - **Fixed** [#​3654](https://togithub.com/pymupdf/pymupdf/issues/3654) - **Fixed** [#​3677](https://togithub.com/pymupdf/pymupdf/issues/3677) - **Fixed** [#​3687](https://togithub.com/pymupdf/pymupdf/issues/3687) Other: - Fixed various spelling mistakes spotted by codespell. - Improved how we modify MuPDF's default configuration on Windows. - Make text search to work with ligatures.
astral-sh/ruff (ruff) ### [`v0.5.5`](https://togithub.com/astral-sh/ruff/blob/HEAD/CHANGELOG.md#055) [Compare Source](https://togithub.com/astral-sh/ruff/compare/0.5.4...0.5.5) ##### Preview features - \[`fastapi`] Implement `fastapi-redundant-response-model` (`FAST001`) and `fastapi-non-annotated-dependency`(`FAST002`) ([#​11579](https://togithub.com/astral-sh/ruff/pull/11579)) - \[`pydoclint`] Implement `docstring-missing-exception` (`DOC501`) and `docstring-extraneous-exception` (`DOC502`) ([#​11471](https://togithub.com/astral-sh/ruff/pull/11471)) ##### Rule changes - \[`numpy`] Fix NumPy 2.0 rule for `np.alltrue` and `np.sometrue` ([#​12473](https://togithub.com/astral-sh/ruff/pull/12473)) - \[`numpy`] Ignore `NPY201` inside `except` blocks for compatibility with older numpy versions ([#​12490](https://togithub.com/astral-sh/ruff/pull/12490)) - \[`pep8-naming`] Avoid applying `ignore-names` to `self` and `cls` function names (`N804`, `N805`) ([#​12497](https://togithub.com/astral-sh/ruff/pull/12497)) ##### Formatter - Fix incorrect placement of leading function comment with type params ([#​12447](https://togithub.com/astral-sh/ruff/pull/12447)) ##### Server - Do not bail code action resolution when a quick fix is requested ([#​12462](https://togithub.com/astral-sh/ruff/pull/12462)) ##### Bug fixes - Fix `Ord` implementation of `cmp_fix` ([#​12471](https://togithub.com/astral-sh/ruff/pull/12471)) - Raise syntax error for unparenthesized generator expression in multi-argument call ([#​12445](https://togithub.com/astral-sh/ruff/pull/12445)) - \[`pydoclint`] Fix panic in `DOC501` reported in [#​12428](https://togithub.com/astral-sh/ruff/pull/12428) ([#​12435](https://togithub.com/astral-sh/ruff/pull/12435)) - \[`flake8-bugbear`] Allow singleton tuples with starred expressions in `B013` ([#​12484](https://togithub.com/astral-sh/ruff/pull/12484)) ##### Documentation - Add Eglot setup guide for Emacs editor ([#​12426](https://togithub.com/astral-sh/ruff/pull/12426)) - Add note about the breaking change in `nvim-lspconfig` ([#​12507](https://togithub.com/astral-sh/ruff/pull/12507)) - Add note to include notebook files for native server ([#​12449](https://togithub.com/astral-sh/ruff/pull/12449)) - Add setup docs for Zed editor ([#​12501](https://togithub.com/astral-sh/ruff/pull/12501))
streamlit/streamlit (streamlit) ### [`v1.37.0`](https://togithub.com/streamlit/streamlit/releases/tag/1.37.0) [Compare Source](https://togithub.com/streamlit/streamlit/compare/1.36.0...1.37.0) #### What's Changed ##### New Features 🎉 - Stacking options - `st.bar_chart` by [@​mayagbarnes](https://togithub.com/mayagbarnes) in [https://github.com/streamlit/streamlit/pull/8945](https://togithub.com/streamlit/streamlit/pull/8945) - Support `graphviz.sources.Source` object for `st.graphviz_chart` by [@​sfc-gh-kbregula](https://togithub.com/sfc-gh-kbregula) in [https://github.com/streamlit/streamlit/pull/8993](https://togithub.com/streamlit/streamlit/pull/8993) - Add support for material icons in markdown by [@​LukasMasuch](https://togithub.com/LukasMasuch) in [https://github.com/streamlit/streamlit/pull/8889](https://togithub.com/streamlit/streamlit/pull/8889) - Fix lag when closing dialog by [@​raethlein](https://togithub.com/raethlein) in [https://github.com/streamlit/streamlit/pull/9023](https://togithub.com/streamlit/streamlit/pull/9023) - Stacking options - `st.area_chart` by [@​mayagbarnes](https://togithub.com/mayagbarnes) in [https://github.com/streamlit/streamlit/pull/8992](https://togithub.com/streamlit/streamlit/pull/8992) - Add feedback widget by [@​raethlein](https://togithub.com/raethlein) in [https://github.com/streamlit/streamlit/pull/8915](https://togithub.com/streamlit/streamlit/pull/8915) - READ only headers and cookies by [@​kajarenc](https://togithub.com/kajarenc) in [https://github.com/streamlit/streamlit/pull/8976](https://togithub.com/streamlit/streamlit/pull/8976) - De-experimentalize st.fragment by [@​vdonato](https://togithub.com/vdonato) in [https://github.com/streamlit/streamlit/pull/9019](https://togithub.com/streamlit/streamlit/pull/9019) - De-experimentalize st.dialog by [@​raethlein](https://togithub.com/raethlein) in [https://github.com/streamlit/streamlit/pull/9020](https://togithub.com/streamlit/streamlit/pull/9020) ##### Bug Fixes 🐛 - Show fragment errors in fragment-path for main app runs by [@​raethlein](https://togithub.com/raethlein) in [https://github.com/streamlit/streamlit/pull/8868](https://togithub.com/streamlit/streamlit/pull/8868) - Fix st.rerun fragment thread reuse issue by [@​raethlein](https://togithub.com/raethlein) in [https://github.com/streamlit/streamlit/pull/8798](https://togithub.com/streamlit/streamlit/pull/8798) - Support non-unix style paths for MPA loading by [@​kmcgrady](https://togithub.com/kmcgrady) in [https://github.com/streamlit/streamlit/pull/8988](https://togithub.com/streamlit/streamlit/pull/8988) - Set theme hash properly on load if a custom theme is active to start by [@​kmcgrady](https://togithub.com/kmcgrady) in [https://github.com/streamlit/streamlit/pull/8989](https://togithub.com/streamlit/streamlit/pull/8989) - Don't remove session refs on fragment runs by [@​vdonato](https://togithub.com/vdonato) in [https://github.com/streamlit/streamlit/pull/9010](https://togithub.com/streamlit/streamlit/pull/9010) - Improvements to NumberInput formatting by [@​sfc-gh-nbellante](https://togithub.com/sfc-gh-nbellante) in [https://github.com/streamlit/streamlit/pull/9035](https://togithub.com/streamlit/streamlit/pull/9035) - Hide all Particles upon printing by [@​sfc-gh-nbellante](https://togithub.com/sfc-gh-nbellante) in [https://github.com/streamlit/streamlit/pull/9053](https://togithub.com/streamlit/streamlit/pull/9053) - Fix: MPA support of custom themes by [@​mayagbarnes](https://togithub.com/mayagbarnes) in [https://github.com/streamlit/streamlit/pull/8994](https://togithub.com/streamlit/streamlit/pull/8994) - `st.switch_page` clears non-embed query params by [@​mayagbarnes](https://togithub.com/mayagbarnes) in [https://github.com/streamlit/streamlit/pull/9059](https://togithub.com/streamlit/streamlit/pull/9059) - Fix secrets.toml Windows Path Bug by [@​sfc-gh-nbellante](https://togithub.com/sfc-gh-nbellante) in [https://github.com/streamlit/streamlit/pull/9061](https://togithub.com/streamlit/streamlit/pull/9061) - Bugfix: Fixes two st.map width bugs by [@​sfc-gh-nbellante](https://togithub.com/sfc-gh-nbellante) in [https://github.com/streamlit/streamlit/pull/9070](https://togithub.com/streamlit/streamlit/pull/9070) - Validate the path using Tornado before performing checks by [@​kmcgrady](https://togithub.com/kmcgrady) in [https://github.com/streamlit/streamlit/pull/8990](https://togithub.com/streamlit/streamlit/pull/8990) - Reset ctx.current_fragment_id to last ID instead of None by [@​vdonato](https://togithub.com/vdonato) in [https://github.com/streamlit/streamlit/pull/9114](https://togithub.com/streamlit/streamlit/pull/9114) ##### Other Changes - Update emojis used for validation by [@​LukasMasuch](https://togithub.com/LukasMasuch) in [https://github.com/streamlit/streamlit/pull/8923](https://togithub.com/streamlit/streamlit/pull/8923) - Add support for numpy 2.x by [@​LukasMasuch](https://togithub.com/LukasMasuch) in [https://github.com/streamlit/streamlit/pull/8940](https://togithub.com/streamlit/streamlit/pull/8940) - Remove a bunch of deprecated experimental features by [@​vdonato](https://togithub.com/vdonato) in [https://github.com/streamlit/streamlit/pull/8943](https://togithub.com/streamlit/streamlit/pull/8943) - Migrate custom icons from material outlined to rounded by [@​LukasMasuch](https://togithub.com/LukasMasuch) in [https://github.com/streamlit/streamlit/pull/8998](https://togithub.com/streamlit/streamlit/pull/8998) - Remove old config options - part 1 by [@​mayagbarnes](https://togithub.com/mayagbarnes) in [https://github.com/streamlit/streamlit/pull/9005](https://togithub.com/streamlit/streamlit/pull/9005) - Remove old config options - part 2 by [@​mayagbarnes](https://togithub.com/mayagbarnes) in [https://github.com/streamlit/streamlit/pull/9013](https://togithub.com/streamlit/streamlit/pull/9013) - Remove `deprecation.showPyplotGlobalUse` config option by [@​LukasMasuch](https://togithub.com/LukasMasuch) in [https://github.com/streamlit/streamlit/pull/9018](https://togithub.com/streamlit/streamlit/pull/9018) - Fix broken `st.navigation` docstring by [@​mahotd](https://togithub.com/mahotd) in [https://github.com/streamlit/streamlit/pull/9027](https://togithub.com/streamlit/streamlit/pull/9027) - Update the feedback widget design by [@​raethlein](https://togithub.com/raethlein) in [https://github.com/streamlit/streamlit/pull/9094](https://togithub.com/streamlit/streamlit/pull/9094) #### New Contributors - [@​Dev-iL](https://togithub.com/Dev-iL) made their first contribution in [https://github.com/streamlit/streamlit/pull/8947](https://togithub.com/streamlit/streamlit/pull/8947) - [@​quant12345](https://togithub.com/quant12345) made their first contribution in [https://github.com/streamlit/streamlit/pull/8968](https://togithub.com/streamlit/streamlit/pull/8968) - [@​mahotd](https://togithub.com/mahotd) made their first contribution in [https://github.com/streamlit/streamlit/pull/9027](https://togithub.com/streamlit/streamlit/pull/9027) **Full Changelog**: https://github.com/streamlit/streamlit/compare/1.36.0...1.37.0
huggingface/transformers (transformers) ### [`v4.43.3`](https://togithub.com/huggingface/transformers/releases/tag/v4.43.3): Patch deepspeed [Compare Source](https://togithub.com/huggingface/transformers/compare/v4.43.2...v4.43.3) Patch release v4.43.3: We still saw some bugs so [@​zucchini-nlp](https://togithub.com/zucchini-nlp) added: - Resize embeds with DeepSpeed [#​32214](https://togithub.com/huggingface/transformers/issues/32214) Other fixes: - \[whisper] fix short-form output type [#​32178](https://togithub.com/huggingface/transformers/issues/32178), by [@​sanchit-gandhi](https://togithub.com/sanchit-gandhi) which fixes the short audio temperature fallback! - \[BigBird Pegasus] set \_supports_param_buffer_assignment to False [#​32222](https://togithub.com/huggingface/transformers/issues/32222) by [@​kashif](https://togithub.com/kashif), mostly related to the new super fast init, some models have to get this set to False. If you see a weird behavior look for that 😉 ### [`v4.43.2`](https://togithub.com/huggingface/transformers/releases/tag/v4.43.2): : Patch release [Compare Source](https://togithub.com/huggingface/transformers/compare/v4.43.1...v4.43.2) - Fix float8\_e4m3fn in modeling_utils ([#​32193](https://togithub.com/huggingface/transformers/issues/32193)) - Fix resize embedding with Deepspeed ([#​32192](https://togithub.com/huggingface/transformers/issues/32192)) - let's not warn when someone is running a forward ([#​32176](https://togithub.com/huggingface/transformers/issues/32176)) - RoPE: relaxed rope validation ([#​32182](https://togithub.com/huggingface/transformers/issues/32182)) ### [`v4.43.1`](https://togithub.com/huggingface/transformers/releases/tag/v4.43.1): : Patch release [Compare Source](https://togithub.com/huggingface/transformers/compare/v4.43.0...v4.43.1) - fix ([#​32162](https://togithub.com/huggingface/transformers/issues/32162)) ### [`v4.43.0`](https://togithub.com/huggingface/transformers/releases/tag/v4.43.0): : Llama 3.1, Chameleon, ZoeDepth, Hiera [Compare Source](https://togithub.com/huggingface/transformers/compare/v4.42.4...v4.43.0) #### Llama The Llama 3.1 models are released by Meta and come in three flavours: 8B, 70B, and 405B. To get an overview of Llama 3.1, please visit the [Hugging Face announcement blog post](https://huggingface.co/blog/llama31). We release a [repository of llama recipes](https://togithub.com/huggingface/huggingface-llama-recipes) to showcase usage for inference, total and partial fine-tuning of the different variants. ![image](https://togithub.com/user-attachments/assets/4b5bf1e0-647c-428d-8f88-691bc343c53d) #### Chameleon The Chameleon model was proposed in [Chameleon: Mixed-Modal Early-Fusion Foundation Models](https://arxiv.org/abs/2405.09818v1) by META AI Chameleon Team. Chameleon is a Vision-Language Model that use vector quantization to tokenize images which enables the model to generate multimodal output. The model takes images and texts as input, including an interleaved format, and generates textual response. - Chameleon: add model by [@​zucchini-nlp](https://togithub.com/zucchini-nlp) in [#​31534](https://togithub.com/huggingface/transformers/issues/31534) #### ZoeDepth The ZoeDepth model was proposed in [ZoeDepth: Zero-shot Transfer by Combining Relative and Metric Depth](https://arxiv.org/abs/2302.12288) by Shariq Farooq Bhat, Reiner Birkl, Diana Wofk, Peter Wonka, Matthias Müller. ZoeDepth extends the [DPT](https://huggingface.co/docs/transformers/main/en/model_doc/dpt) framework for metric (also called absolute) depth estimation. ZoeDepth is pre-trained on 12 datasets using relative depth and fine-tuned on two domains (NYU and KITTI) using metric depth. A lightweight head is used with a novel bin adjustment design called metric bins module for each domain. During inference, each input image is automatically routed to the appropriate head using a latent classifier. - Add ZoeDepth by [@​NielsRogge](https://togithub.com/NielsRogge) in [#​30136](https://togithub.com/huggingface/transformers/issues/30136) #### Hiera Hiera was proposed in [Hiera: A Hierarchical Vision Transformer without the Bells-and-Whistles](https://arxiv.org/abs/2306.00989) by Chaitanya Ryali, Yuan-Ting Hu, Daniel Bolya, Chen Wei, Haoqi Fan, Po-Yao Huang, Vaibhav Aggarwal, Arkabandhu Chowdhury, Omid Poursaeed, Judy Hoffman, Jitendra Malik, Yanghao Li, Christoph Feichtenhofer The paper introduces “Hiera,” a hierarchical Vision Transformer that simplifies the architecture of modern hierarchical vision transformers by removing unnecessary components without compromising on accuracy or efficiency. Unlike traditional transformers that add complex vision-specific components to improve supervised classification performance, Hiera demonstrates that such additions, often termed “bells-and-whistles,” are not essential for high accuracy. By leveraging a strong visual pretext task (MAE) for pretraining, Hiera retains simplicity and achieves superior accuracy and speed both in inference and training across various image and video recognition tasks. The approach suggests that spatial biases required for vision tasks can be effectively learned through proper pretraining, eliminating the need for added architectural complexity. - Adding hiera by [@​Namangarg110](https://togithub.com/Namangarg110) in [#​30356](https://togithub.com/huggingface/transformers/issues/30356) #### Agents Our ReactAgent has a specific way to return its final output: it calls the tool final_answer, added to the user-defined toolbox upon agent initialization, with the answer as the tool argument. We found that even for a one-shot agent like CodeAgent, using a specific final_answer tools helps the llm_engine find what to return: so we generalized the final_answer tool for all agents. - Adds final answer tool for all agents by [@​aymeric-roucher](https://togithub.com/aymeric-roucher) in [#​31703](https://togithub.com/huggingface/transformers/issues/31703) Now if your code-based agent (like ReactCodeAgent) defines a function at step 1, it will remember the function definition indefinitely. This means your agent can create its own tools for later re-use! - Code agent: allow function persistence between steps by [@​aymeric-roucher](https://togithub.com/aymeric-roucher) in [#​31769](https://togithub.com/huggingface/transformers/issues/31769) This is a transformative PR: it allows the agent to regularly run a specific step for planning its actions in advance. This gets activated if you set an int for planning_interval upon agent initialization. At step 0, a first plan will be done. At later steps (like steps 3, 6, 9 if you set planning_interval=3 ), this plan will be updated by the agent depending on the history of previous steps. More detail soon! - Agents planning by [@​aymeric-roucher](https://togithub.com/aymeric-roucher) in [#​31702](https://togithub.com/huggingface/transformers/issues/31702) #### Notable changes to the codebase A significant RoPE refactor was done to make it model agnostic and more easily adaptable to any architecture. It is only applied to Llama for now but will be applied to all models using RoPE over the coming days. - Llama: RoPE refactor by [@​gante](https://togithub.com/gante) in [#​32135](https://togithub.com/huggingface/transformers/issues/32135) #### Breaking changes ##### TextGenerationPipeline and tokenizer kwargs 🚨🚨 This PR changes the code to rely on the tokenizer's defaults when these flags are unset. This means some models using `TextGenerationPipeline` previously did not add a `` by default, which (negatively) impacted their performance. In practice, this is a breaking change. Example of a script changed as a result of this PR: ```py from transformers import AutoModelForCausalLM, AutoTokenizer, pipeline import torch tokenizer = AutoTokenizer.from_pretrained("google/gemma-2-9b-it") model = AutoModelForCausalLM.from_pretrained("google/gemma-2-9b-it", torch_dtype=torch.bfloat16, device_map="auto") pipe = pipeline("text-generation", model=model, tokenizer=tokenizer) print(pipe("Foo bar")) ``` - 🚨🚨 TextGenerationPipeline: rely on the tokenizer default kwargs by [@​gante](https://togithub.com/gante) in [#​31747](https://togithub.com/huggingface/transformers/issues/31747) #### Bugfixes and improvements - Fix post gemma merge by [@​ArthurZucker](https://togithub.com/ArthurZucker) in [#​31660](https://togithub.com/huggingface/transformers/issues/31660) - Fix float out of range in owlvit and owlv2 when using FP16 or lower precision by [@​aliencaocao](https://togithub.com/aliencaocao) in [#​31657](https://togithub.com/huggingface/transformers/issues/31657) - \[docs] Llama3 by [@​stevhliu](https://togithub.com/stevhliu) in [#​31662](https://togithub.com/huggingface/transformers/issues/31662) - \[HybridCache] Fix `get_seq_length` method by [@​sanchit-gandhi](https://togithub.com/sanchit-gandhi) in [#​31661](https://togithub.com/huggingface/transformers/issues/31661) - don't zero out the attention_mask when using sliding window with flash attention by [@​winglian](https://togithub.com/winglian) in [#​31670](https://togithub.com/huggingface/transformers/issues/31670) - Fix Gemma2 4d attention mask by [@​hiyouga](https://togithub.com/hiyouga) in [#​31674](https://togithub.com/huggingface/transformers/issues/31674) - Fix return_dict in encodec by [@​jla524](https://togithub.com/jla524) in [#​31646](https://togithub.com/huggingface/transformers/issues/31646) - add gather_use_object arguments by [@​SangbumChoi](https://togithub.com/SangbumChoi) in [#​31514](https://togithub.com/huggingface/transformers/issues/31514) - Gemma capping is a must for big models by [@​ArthurZucker](https://togithub.com/ArthurZucker) in [#​31698](https://togithub.com/huggingface/transformers/issues/31698) - Add French version of run scripts tutorial by [@​jadechoghari](https://togithub.com/jadechoghari) in [#​31483](https://togithub.com/huggingface/transformers/issues/31483) - dependencies: `keras-nlp<0.14` pin by [@​gante](https://togithub.com/gante) in [#​31684](https://togithub.com/huggingface/transformers/issues/31684) - remove incorrect urls pointing to the llava repository by [@​BiliBraker](https://togithub.com/BiliBraker) in [#​31107](https://togithub.com/huggingface/transformers/issues/31107) - Move some test files (`tets/test_xxx_utils.py`) to `tests/utils` by [@​ydshieh](https://togithub.com/ydshieh) in [#​31730](https://togithub.com/huggingface/transformers/issues/31730) - Fix mistral ONNX export by [@​fxmarty](https://togithub.com/fxmarty) in [#​31696](https://togithub.com/huggingface/transformers/issues/31696) - \[whisper] static kv cache by [@​sanchit-gandhi](https://togithub.com/sanchit-gandhi) in [#​31166](https://togithub.com/huggingface/transformers/issues/31166) - Make tool JSON schemas consistent by [@​Rocketknight1](https://togithub.com/Rocketknight1) in [#​31756](https://togithub.com/huggingface/transformers/issues/31756) - Fix documentation for Gemma2. by [@​jbornschein](https://togithub.com/jbornschein) in [#​31682](https://togithub.com/huggingface/transformers/issues/31682) - fix assisted decoding by [@​jiqing-feng](https://togithub.com/jiqing-feng) in [#​31401](https://togithub.com/huggingface/transformers/issues/31401) - Requires for torch.tensor before casting by [@​echarlaix](https://togithub.com/echarlaix) in [#​31755](https://togithub.com/huggingface/transformers/issues/31755) - handle (processor_class, None) returned by ModelPatterns by [@​molbap](https://togithub.com/molbap) in [#​31753](https://togithub.com/huggingface/transformers/issues/31753) - Gemma 2: Update slow tests by [@​gante](https://togithub.com/gante) in [#​31759](https://togithub.com/huggingface/transformers/issues/31759) - Add ignore_errors=True to trainer.py rmtree in \_inner_training_loop by [@​njbrake](https://togithub.com/njbrake) in [#​31668](https://togithub.com/huggingface/transformers/issues/31668) - \[fix bug] logits's shape different from label's shape in preprocess_logits_for_metrics by [@​wiserxin](https://togithub.com/wiserxin) in [#​31447](https://togithub.com/huggingface/transformers/issues/31447) - Fix RT-DETR cache for generate_anchors by [@​qubvel](https://togithub.com/qubvel) in [#​31671](https://togithub.com/huggingface/transformers/issues/31671) - Fix RT-DETR weights initialization by [@​qubvel](https://togithub.com/qubvel) in [#​31724](https://togithub.com/huggingface/transformers/issues/31724) - `pytest_num_workers=4` for some CircleCI jobs by [@​ydshieh](https://togithub.com/ydshieh) in [#​31764](https://togithub.com/huggingface/transformers/issues/31764) - Fix Gemma2 types by [@​hiyouga](https://togithub.com/hiyouga) in [#​31779](https://togithub.com/huggingface/transformers/issues/31779) - Add torch_empty_cache_steps to TrainingArguments by [@​aliencaocao](https://togithub.com/aliencaocao) in [#​31546](https://togithub.com/huggingface/transformers/issues/31546) - Fix ClapProcessor to merge feature_extractor output into the returned BatchEncoding by [@​mxkopy](https://togithub.com/mxkopy) in [#​31767](https://togithub.com/huggingface/transformers/issues/31767) - Fix serialization for offloaded model by [@​SunMarc](https://togithub.com/SunMarc) in [#​31727](https://togithub.com/huggingface/transformers/issues/31727) - Make tensor device correct when ACCELERATE_TORCH_DEVICE is defined by [@​kiszk](https://togithub.com/kiszk) in [#​31751](https://togithub.com/huggingface/transformers/issues/31751) - Exclude torch.compile time from metrics computation by [@​zxd1997066](https://togithub.com/zxd1997066) in [#​31443](https://togithub.com/huggingface/transformers/issues/31443) - Update CometCallback to allow reusing of the running experiment by [@​Lothiraldan](https://togithub.com/Lothiraldan) in [#​31366](https://togithub.com/huggingface/transformers/issues/31366) - Fix gemma tests by [@​ydshieh](https://togithub.com/ydshieh) in [#​31794](https://togithub.com/huggingface/transformers/issues/31794) - Add training support for SigLIP by [@​aliencaocao](https://togithub.com/aliencaocao) in [#​31495](https://togithub.com/huggingface/transformers/issues/31495) - Repeating an important warning in the chat template docs by [@​Rocketknight1](https://togithub.com/Rocketknight1) in [#​31796](https://togithub.com/huggingface/transformers/issues/31796) - Allow FP16 or other precision inference for Pipelines by [@​aliencaocao](https://togithub.com/aliencaocao) in [#​31342](https://togithub.com/huggingface/transformers/issues/31342) - Fix galore lr display with schedulers by [@​vasqu](https://togithub.com/vasqu) in [#​31710](https://togithub.com/huggingface/transformers/issues/31710) - Fix Wav2Vec2 Fairseq conversion (weight norm state dict keys) by [@​gau-nernst](https://togithub.com/gau-nernst) in [#​31714](https://togithub.com/huggingface/transformers/issues/31714) - Depth Anything: update conversion script for V2 by [@​pcuenca](https://togithub.com/pcuenca) in [#​31522](https://togithub.com/huggingface/transformers/issues/31522) - Fix Seq2SeqTrainer crash when BatchEncoding data is None by [@​iohub](https://togithub.com/iohub) in [#​31418](https://togithub.com/huggingface/transformers/issues/31418) - Bump certifi from 2023.7.22 to 2024.7.4 in /examples/research_projects/decision_transformer by [@​dependabot](https://togithub.com/dependabot)\[bot] in [#​31813](https://togithub.com/huggingface/transformers/issues/31813) - Add FA2 and `sdpa` support for SigLIP by [@​qubvel](https://togithub.com/qubvel) in [#​31499](https://togithub.com/huggingface/transformers/issues/31499) - Bump transformers from 4.26.1 to 4.38.0 in /examples/tensorflow/language-modeling-tpu by [@​dependabot](https://togithub.com/dependabot)\[bot] in [#​31837](https://togithub.com/huggingface/transformers/issues/31837) - Bump certifi from 2023.7.22 to 2024.7.4 in /examples/research_projects/lxmert by [@​dependabot](https://togithub.com/dependabot)\[bot] in [#​31838](https://togithub.com/huggingface/transformers/issues/31838) - Fix typos by [@​omahs](https://togithub.com/omahs) in [#​31819](https://togithub.com/huggingface/transformers/issues/31819) - transformers.fx.symbolic_trace supports inputs_embeds by [@​fxmarty](https://togithub.com/fxmarty) in [#​31574](https://togithub.com/huggingface/transformers/issues/31574) - Avoid failure `TFBlipModelTest::test_pipeline_image_to_text` by [@​ydshieh](https://togithub.com/ydshieh) in [#​31827](https://togithub.com/huggingface/transformers/issues/31827) - Fix incorrect accelerator device handling for MPS in `TrainingArguments` by [@​andstor](https://togithub.com/andstor) in [#​31812](https://togithub.com/huggingface/transformers/issues/31812) - Mamba & RecurrentGemma: enable strict signature by [@​gante](https://togithub.com/gante) in [#​31549](https://togithub.com/huggingface/transformers/issues/31549) - Deprecate `vocab_size` in other two VLMs by [@​zucchini-nlp](https://togithub.com/zucchini-nlp) in [#​31681](https://togithub.com/huggingface/transformers/issues/31681) - FX symbolic_trace: do not test decoder_inputs_embeds by [@​fxmarty](https://togithub.com/fxmarty) in [#​31840](https://togithub.com/huggingface/transformers/issues/31840) - \[Grounding DINO] Add processor to auto mapping by [@​NielsRogge](https://togithub.com/NielsRogge) in [#​31845](https://togithub.com/huggingface/transformers/issues/31845) - chore: remove duplicate words by [@​hattizai](https://togithub.com/hattizai) in [#​31853](https://togithub.com/huggingface/transformers/issues/31853) - save_pretrained: use tqdm when saving checkpoint shards from offloaded params by [@​kallewoof](https://togithub.com/kallewoof) in [#​31856](https://togithub.com/huggingface/transformers/issues/31856) - Test loading generation config with safetensor weights by [@​gante](https://togithub.com/gante) in [#​31550](https://togithub.com/huggingface/transformers/issues/31550) - docs: typo in tf qa example by [@​chen-keinan](https://togithub.com/chen-keinan) in [#​31864](https://togithub.com/huggingface/transformers/issues/31864) - Generate: Add new decoding strategy "DoLa" in `.generate()` by [@​voidism](https://togithub.com/voidism) in [#​29619](https://togithub.com/huggingface/transformers/issues/29619) - Fix `_init_weights` for `ResNetPreTrainedModel` by [@​ydshieh](https://togithub.com/ydshieh) in [#​31851](https://togithub.com/huggingface/transformers/issues/31851) - Update depth estimation task guide by [@​merveenoyan](https://togithub.com/merveenoyan) in [#​31860](https://togithub.com/huggingface/transformers/issues/31860) - Bump zipp from 3.7.0 to 3.19.1 in /examples/research_projects/decision_transformer by [@​dependabot](https://togithub.com/dependabot)\[bot] in [#​31871](https://togithub.com/huggingface/transformers/issues/31871) - Add return type annotation to PreTrainedModel.from_pretrained by [@​mauvilsa](https://togithub.com/mauvilsa) in [#​31869](https://togithub.com/huggingface/transformers/issues/31869) - Revert "Fix `_init_weights` for `ResNetPreTrainedModel`" by [@​ydshieh](https://togithub.com/ydshieh) in [#​31868](https://togithub.com/huggingface/transformers/issues/31868) - Bump certifi from 2023.7.22 to 2024.7.4 in /examples/research_projects/visual_bert by [@​dependabot](https://togithub.com/dependabot)\[bot] in [#​31872](https://togithub.com/huggingface/transformers/issues/31872) - add warning when using gradient_checkpointing with FSDP full shard by [@​yundai424](https://togithub.com/yundai424) in [#​31578](https://togithub.com/huggingface/transformers/issues/31578) - Add conversion for interleave llava by [@​zucchini-nlp](https://togithub.com/zucchini-nlp) in [#​31858](https://togithub.com/huggingface/transformers/issues/31858) - remove duplicate words in msg by [@​yukionfire](https://togithub.com/yukionfire) in [#​31876](https://togithub.com/huggingface/transformers/issues/31876) - Fix file type checks in data splits for contrastive training example script by [@​npyoung](https://togithub.com/npyoung) in [#​31720](https://togithub.com/huggingface/transformers/issues/31720) - Fix failed tests in [#​31851](https://togithub.com/huggingface/transformers/issues/31851) by [@​ydshieh](https://togithub.com/ydshieh) in [#​31879](https://togithub.com/huggingface/transformers/issues/31879) - fix: Removed `duplicate` field definitions in some classes by [@​Sai-Suraj-27](https://togithub.com/Sai-Suraj-27) in [#​31888](https://togithub.com/huggingface/transformers/issues/31888) - Push sharded checkpoint to hub when `push_to_hub=True` in `TrainingArguments` by [@​SunMarc](https://togithub.com/SunMarc) in [#​31808](https://togithub.com/huggingface/transformers/issues/31808) - \[RT-DETR] Add resources by [@​NielsRogge](https://togithub.com/NielsRogge) in [#​31815](https://togithub.com/huggingface/transformers/issues/31815) - Modify `warnings` in a `with` block to avoid flaky tests by [@​ydshieh](https://togithub.com/ydshieh) in [#​31893](https://togithub.com/huggingface/transformers/issues/31893) - Add a condition for nested_detach by [@​haikuoxin](https://togithub.com/haikuoxin) in [#​31855](https://togithub.com/huggingface/transformers/issues/31855) - InstructBlipVideo: Update docstring by [@​zucchini-nlp](https://togithub.com/zucchini-nlp) in [#​31886](https://togithub.com/huggingface/transformers/issues/31886) - Fixes to alternating SWA layers in Gemma2 by [@​turboderp](https://togithub.com/turboderp) in [#​31775](https://togithub.com/huggingface/transformers/issues/31775) - Processor accepts any kwargs by [@​zucchini-nlp](https://togithub.com/zucchini-nlp) in [#​31889](https://togithub.com/huggingface/transformers/issues/31889) - \[`ConvertSlow`] make sure the order is preserved for addedtokens by [@​ArthurZucker](https://togithub.com/ArthurZucker) in [#​31902](https://togithub.com/huggingface/transformers/issues/31902) - \[`Gemma2`] Support FA2 softcapping by [@​ArthurZucker](https://togithub.com/ArthurZucker) in [#​31887](https://togithub.com/huggingface/transformers/issues/31887) - Fix missing methods for Fuyu by [@​Isotr0py](https://togithub.com/Isotr0py) in [#​31880](https://togithub.com/huggingface/transformers/issues/31880) - fix: Fixed the `1st argument` name in classmethods by [@​Sai-Suraj-27](https://togithub.com/Sai-Suraj-27) in [#​31907](https://togithub.com/huggingface/transformers/issues/31907) - add gather_use_object arguments II by [@​SangbumChoi](https://togithub.com/SangbumChoi) in [#​31799](https://togithub.com/huggingface/transformers/issues/31799) - Add warning message for beta and gamma parameters by [@​OmarManzoor](https://togithub.com/OmarManzoor) in [#​31654](https://togithub.com/huggingface/transformers/issues/31654) - Fix fx tests with inputs_embeds by [@​fxmarty](https://togithub.com/fxmarty) in [#​31862](https://togithub.com/huggingface/transformers/issues/31862) - Refactor flash attention implementation in transformers by [@​ArthurZucker](https://togithub.com/ArthurZucker) in [#​31446](https://togithub.com/huggingface/transformers/issues/31446) - Generate: fix `SlidingWindowCache.reset()` by [@​gante](https://togithub.com/gante) in [#​31917](https://togithub.com/huggingface/transformers/issues/31917) - 🚨 fix(SigLip): remove spurious exclusion of first vision output token by [@​transmissions11](https://togithub.com/transmissions11) in [#​30952](https://togithub.com/huggingface/transformers/issues/30952) - Allow `Trainer.get_optimizer_cls_and_kwargs` to be overridden by [@​apoorvkh](https://togithub.com/apoorvkh) in [#​31875](https://togithub.com/huggingface/transformers/issues/31875) - \[Bug Fix] fix qa pipeline tensor to numpy by [@​jiqing-feng](https://togithub.com/jiqing-feng) in [#​31585](https://togithub.com/huggingface/transformers/issues/31585) - Docker: TF pin on the consistency job by [@​gante](https://togithub.com/gante) in [#​31928](https://togithub.com/huggingface/transformers/issues/31928) - fix prompt strip to support tensors and np arrays by [@​AvivSham](https://togithub.com/AvivSham) in [#​27818](https://togithub.com/huggingface/transformers/issues/27818) - Fix `GenerationMixin.generate` compatibility with pytorch profiler by [@​fxmarty](https://togithub.com/fxmarty) in [#​31935](https://togithub.com/huggingface/transformers/issues/31935) - Generate: remove deprecated code due to `Cache` and `cache_position` being default by [@​gante](https://togithub.com/gante) in [#​31898](https://togithub.com/huggingface/transformers/issues/31898) - Generate: v4.42 deprecations 🧹🧹 by [@​gante](https://togithub.com/gante) in [#​31956](https://togithub.com/huggingface/transformers/issues/31956) - Whisper: move to tensor c

Configuration

📅 Schedule: Branch creation - "before 4am on Monday" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.



This PR was generated by Mend Renovate. View the repository job log.