Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
==1.59.0
->==1.60.0
~=2.22.0
->~=2.23.0
==2.17.0
->==2.18.0
==4.38.1
->==4.39.0
4.40.0
==0.2.10
->==0.2.11
0.2.12
==0.2.9
->==0.2.10
0.2.11
==1.0.6
->==1.0.7
1.0.8
==1.24.7
->==1.24.9
>=0.5,<=0.5.4
->>=0.5,<=0.5.5
0.5.6
==1.36.0
->==1.37.0
==4.42.4
->==4.43.3
4.43.4
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
Compare Source
Features
GenerativeModel.compute_tokens
(cfe0cc6)Bug Fixes
Documentation
googleapis/python-pubsub (google-cloud-pubsub)
v2.23.0
Compare Source
Features
googleapis/python-storage (google-cloud-storage)
v2.18.0
Compare Source
Features
Bug Fixes
gradio-app/gradio (gradio)
v4.39.0
Compare Source
Features
e75f2ca
- Fix build for pre-release. Thanks @pngwn!aa4b7a7
- Improve styling of parameter tables in the docs. Thanks @abidlabs!4030f28
- Allows updating the dataset of agr.Examples
. Thanks @abidlabs!6073736
- DocumentFileData
class in docs. Thanks @hannahblair!76c1759
- add space header. Thanks @pngwn!1d09925
- Fix Lite's . Thanks @whitphx!a238af4
- Refactor plots to dropaltair
and usevega.js
directly. Thanks @aliabid94!a3d23b4
- Addloop
parameters togr.Audio
andgr.Video
. Thanks @abidlabs!5622331
- Extendpyright
to cover tests as well. Thanks @abidlabs!914b193
- Add copy button togr.Markdown
. Thanks @hannahblair!0d76169
- upgrade pyright==1.1.372. Thanks @abidlabs!9ee6839
- Change optionality of thedata
param insubmit
+predict
. Thanks @hannahblair!7f41567
- Use constant-time comparison when checking user provided analytics key. Thanks @abidlabs!34510db
- Allow HTML in alert modals. Thanks @abidlabs!e1a4040
- Ensure all upload components have consistent upload regions. Thanks @pngwn!cea3bf9
- Fix dependency loop with statustracker and markdown. Thanks @aliabd!2d179f6
- Set the default format of gr.Plot as png for Wasm mode. Thanks @whitphx!e36bab7
- Refactoring loadPyodide typing. Thanks @whitphx!Fixes
d1f0441
- Use covariant container types across the codebase and add typing to our demos. Thanks @abidlabs!2de9a97
- Refactoring component making the code simpler and fixing a Playground mode bug. Thanks @whitphx!61bb588
- Remove Pydantic v2 patch from Lite. Thanks @whitphx!3a81fb2
- Latex Rendering Fix. Thanks @dawoodkhan82!2f630ab
- Chatbot Examples Scroll Fix. Thanks @dawoodkhan82!5050b36
- fix: wrong named param check for js client. Thanks @JacobLinCool!7e8c829
- Add.input()
events togr.Audio
andgr.Image
. Thanks @abidlabs!7b19474
- EnsureImageEditor
brush color can be updated withgr.update
. Thanks @pngwn!16b8200
- Fix gr.Image height inconsistencies. Thanks @hannahblair!pymupdf/pymupdf (pymupdf)
v1.24.9
: PyMuPDF-1.24.9 releasedCompare Source
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:
[Linux-aarch64 wheels will be built and uploaded later.]
Changes in version 1.24.9 (2024-07-24)
v1.24.8
: PyMuPDF-1.24.8 releasedCompare Source
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:
[Linux-aarch64 wheels will be built and uploaded later.]
Changes in version 1.24.8 (2024-07-22)
Fixed issues:
Other:
astral-sh/ruff (ruff)
v0.5.5
Compare Source
Preview features
fastapi
] Implementfastapi-redundant-response-model
(FAST001
) andfastapi-non-annotated-dependency
(FAST002
) (#11579)pydoclint
] Implementdocstring-missing-exception
(DOC501
) anddocstring-extraneous-exception
(DOC502
) (#11471)Rule changes
numpy
] Fix NumPy 2.0 rule fornp.alltrue
andnp.sometrue
(#12473)numpy
] IgnoreNPY201
insideexcept
blocks for compatibility with older numpy versions (#12490)pep8-naming
] Avoid applyingignore-names
toself
andcls
function names (N804
,N805
) (#12497)Formatter
Server
Bug fixes
Ord
implementation ofcmp_fix
(#12471)pydoclint
] Fix panic inDOC501
reported in #12428 (#12435)flake8-bugbear
] Allow singleton tuples with starred expressions inB013
(#12484)Documentation
nvim-lspconfig
(#12507)streamlit/streamlit (streamlit)
v1.37.0
Compare Source
What's Changed
New Features 🎉
st.bar_chart
by @mayagbarnes in https://github.com/streamlit/streamlit/pull/8945graphviz.sources.Source
object forst.graphviz_chart
by @sfc-gh-kbregula in https://github.com/streamlit/streamlit/pull/8993st.area_chart
by @mayagbarnes in https://github.com/streamlit/streamlit/pull/8992Bug Fixes 🐛
st.switch_page
clears non-embed query params by @mayagbarnes in https://github.com/streamlit/streamlit/pull/9059Other Changes
deprecation.showPyplotGlobalUse
config option by @LukasMasuch in https://github.com/streamlit/streamlit/pull/9018st.navigation
docstring by @mahotd in https://github.com/streamlit/streamlit/pull/9027New Contributors
Full Changelog: streamlit/streamlit@1.36.0...1.37.0
huggingface/transformers (transformers)
v4.43.3
: Patch deepspeedCompare Source
Patch release v4.43.3:
We still saw some bugs so @zucchini-nlp added:
Other fixes:
v4.43.2
: : Patch releaseCompare Source
v4.43.1
: : Patch releaseCompare Source
v4.43.0
: : Llama 3.1, Chameleon, ZoeDepth, HieraCompare Source
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.
We release a repository of llama recipes to showcase usage for inference, total and partial fine-tuning of the different variants.
Chameleon
The Chameleon model was proposed in Chameleon: Mixed-Modal Early-Fusion Foundation Models 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.
ZoeDepth
The ZoeDepth model was proposed in ZoeDepth: Zero-shot Transfer by Combining Relative and Metric Depth by Shariq Farooq Bhat, Reiner Birkl, Diana Wofk, Peter Wonka, Matthias Müller. ZoeDepth extends the 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.
Hiera
Hiera was proposed in Hiera: A Hierarchical Vision Transformer without the Bells-and-Whistles 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.
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.
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!
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!
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.
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<bos>
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:
Bugfixes and improvements
get_seq_length
method by @sanchit-gandhi in #31661keras-nlp<0.14
pin by @gante in #31684tets/test_xxx_utils.py
) totests/utils
by @ydshieh in #31730pytest_num_workers=4
for some CircleCI jobs by @ydshieh in #31764sdpa
support for SigLIP by @qubvel in #31499TFBlipModelTest::test_pipeline_image_to_text
by @ydshieh in #31827TrainingArguments
by @andstor in #31812vocab_size
in other two VLMs by @zucchini-nlp in #31681.generate()
by @voidism in #29619_init_weights
forResNetPreTrainedModel
by @ydshieh in #31851_init_weights
forResNetPreTrainedModel
" by @ydshieh in #31868duplicate
field definitions in some classes by @Sai-Suraj-27 in #31888push_to_hub=True
inTrainingArguments
by @SunMarc in #31808warnings
in awith
block to avoid flaky tests by @ydshieh in #31893ConvertSlow
] make sure the order is preserved for addedtokens by @ArthurZucker in #31902Gemma2
] Support FA2 softcapping by @ArthurZucker in #318871st argument
name in classmethods by @Sai-Suraj-27 in #31907SlidingWindowCache.reset()
by @gante in #31917Trainer.get_optimizer_cls_and_kwargs
to be overridden by @apoorvkh in #31875GenerationMixin.generate
compatibility with pytorch profiler by @fxmarty in #31935Cache
andcache_position
being default by @gante in #31898Configuration
📅 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.