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:
0.27.2
->0.30.1
3.0.0-alpha.14
->3.0.1
4.58.1
->4.69.0
1.0.16
->1.0.17
Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
anthropics/anthropic-sdk-typescript (@anthropic-ai/sdk)
v0.30.1
Full Changelog: sdk-v0.30.0...sdk-v0.30.1
Bug Fixes
Chores
v0.30.0
Full Changelog: sdk-v0.29.2...sdk-v0.30.0
Features
computer-use-2024-10-22
beta (6981d89)Bug Fixes
Chores
v0.29.2
Full Changelog: sdk-v0.29.1...sdk-v0.29.2
Bug Fixes
v0.29.1
Full Changelog: sdk-v0.29.0...sdk-v0.29.1
Bug Fixes
Chores
v0.29.0
Full Changelog: sdk-v0.28.0...sdk-v0.29.0
Features
Chores
Refactors
v0.28.0
Full Changelog: sdk-v0.27.3...sdk-v0.28.0
Features
Bug Fixes
Chores
Documentation
v0.27.3
Full Changelog: sdk-v0.27.2...sdk-v0.27.3
Bug Fixes
Chores
huggingface/transformers.js (@huggingface/transformers)
v3.0.1
Compare Source
What's new?
Full Changelog: huggingface/transformers.js@3.0.0...3.0.1
v3.0.0
Compare Source
Transformers.js v3: WebGPU Support, New Models & Tasks, New Quantizations, Deno & Bun Compatibility, and More…
After more than a year of development, we're excited to announce the release of 🤗 Transformers.js v3!
You can get started by installing Transformers.js v3 from NPM using:
Then, importing the library with
or, via a CDN
For more information, check out the documentation.
⚡ WebGPU support (up to 100x faster than WASM!)
WebGPU is a new web standard for accelerated graphics and compute. The API enables web developers to use the underlying system's GPU to carry out high-performance computations directly in the browser. WebGPU is the successor to WebGL and provides significantly better performance, because it allows for more direct interaction with modern GPUs. Lastly, it supports general-purpose GPU computations, which makes it just perfect for machine learning!
Usage in Transformers.js v3
Thanks to our collaboration with ONNX Runtime Web, enabling WebGPU acceleration is as simple as setting
device: 'webgpu'
when loading a model. Let's see some examples!Example: Compute text embeddings on WebGPU (demo)
Example: Perform automatic speech recognition with OpenAI whisper on WebGPU (demo)
Example: Perform image classification with MobileNetV4 on WebGPU (demo)
🔢 New quantization formats (dtypes)
Before Transformers.js v3, we used the
quantized
option to specify whether to use a quantized (q8) or full-precision (fp32) variant of the model by settingquantized
totrue
orfalse
, respectively. Now, we've added the ability to select from a much larger list with thedtype
parameter.The list of available quantizations depends on the model, but some common ones are: full-precision (
"fp32"
), half-precision ("fp16"
), 8-bit ("q8"
,"int8"
,"uint8"
), and 4-bit ("q4"
,"bnb4"
,"q4f16"
).Basic usage
Example: Run Qwen2.5-0.5B-Instruct in 4-bit quantization (demo)
Per-module dtypes
Some encoder-decoder models, like Whisper or Florence-2, are extremely sensitive to quantization settings: especially of the encoder. For this reason, we added the ability to select per-module dtypes, which can be done by providing a mapping from module name to dtype.
Example: Run Florence-2 on WebGPU (demo)
See full code example
🏛 A total of 120 supported architectures
This release increases the total number of supported architectures to 120 (see full list), spanning a wide range of input modalities and tasks. Notable new names include: Phi-3, Gemma & Gemma 2, LLaVa, Moondream, Florence-2, MusicGen, Sapiens, Depth Pro, PyAnnote, and RT-DETR.
List of new models
📂 25 new example projects and templates
As part of the release, we've published 25 new example projects and templates, primarily focused on showcasing WebGPU support! This includes demos like Phi-3.5 WebGPU and Whisper WebGPU, as shown below.
🤖 Over 1200 pre-converted models on the Hugging Face Hub
As of today's release, the community has converted over 1200 models to be compatible with Transformers.js! You can find the full list of available models here.
If you'd like to convert your own models or fine-tunes, you can use our conversion script as follows:
After uploading the generated files to the Hugging Face Hub, remember to add the
transformers.js
tag so others can easily find and use your model!🌐 Node.js (ESM + CJS), Deno, and Bun compatibility
Transformers.js v3 is now compatible with the three most popular server-side JavaScript runtimes:
🏡 A new home on GitHub and NPM
Finally, we're delighted to announce that Transformers.js will now be published under the official Hugging Face organization on NPM as
@huggingface/transformers
(instead of@xenova/transformers
, which was used for v1 and v2).We've also moved the repository to the official Hugging Face organization on GitHub (https://github.com/huggingface/transformers.js), which will be our new home — come say hi! We look forward to hearing your feedback, responding to your issues, and reviewing your PRs!
This is a significant milestone and we're extremely grateful to the community for helping us achieve this long-term goal! None of this would be possible without all of you… thank you! 🤗
🤗 New contributors
Full Changelog: huggingface/transformers.js@2.17.2...3.0.0
v3.0.0-alpha.22
Compare Source
v3.0.0-alpha.21
Compare Source
v3.0.0-alpha.20
Compare Source
v3.0.0-alpha.19
Compare Source
v3.0.0-alpha.18
Compare Source
v3.0.0-alpha.17
Compare Source
v3.0.0-alpha.16
Compare Source
v3.0.0-alpha.15
Compare Source
openai/openai-node (openai)
v4.69.0
Compare Source
Full Changelog: v4.68.4...v4.69.0
Features
Bug Fixes
Documentation
v4.68.4
Compare Source
Full Changelog: v4.68.3...v4.68.4
Chores
v4.68.3
Compare Source
Full Changelog: v4.68.2...v4.68.3
Chores
v4.68.2
Compare Source
Full Changelog: v4.68.1...v4.68.2
Chores
v4.68.1
Compare Source
Full Changelog: v4.68.0...v4.68.1
Bug Fixes
v4.68.0
Compare Source
Full Changelog: v4.67.3...v4.68.0
Features
v4.67.3
Compare Source
Full Changelog: v4.67.2...v4.67.3
Chores
v4.67.2
Compare Source
Full Changelog: v4.67.1...v4.67.2
Chores
v4.67.1
Compare Source
Full Changelog: v4.67.0...v4.67.1
Documentation
v4.67.0
Compare Source
Full Changelog: v4.66.1...v4.67.0
Features
v4.66.1
Compare Source
Full Changelog: v4.66.0...v4.66.1
Bug Fixes
v4.65.0
Compare Source
Full Changelog: v4.64.0...v4.65.0
Features
v4.64.0
Compare Source
Full Changelog: v4.63.0...v4.64.0
Features
Bug Fixes
Chores
v4.63.0
Compare Source
Full Changelog: v4.62.1...v4.63.0
Features
Chores
v4.62.1
Compare Source
Full Changelog: v4.62.0...v4.62.1
Bug Fixes
v4.62.0
Compare Source
Full Changelog: v4.61.1...v4.62.0
Features
Chores
v4.61.1
Compare Source
Full Changelog: v4.61.0...v4.61.1
Bug Fixes
Chores
v4.61.0
Compare Source
Full Changelog: v4.60.1...v4.61.0
Bug Fixes
Chores
Documentation
v4.60.1
Compare Source
Full Changelog: v4.60.0...v4.60.1
Bug Fixes
Configuration
📅 Schedule: Branch creation - "every weekend" in timezone UTC, Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ 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.