Skip to content

Commit a77617d

Browse files
committed
Release v0.6.0
1 parent b0dcf76 commit a77617d

10 files changed

+63
-30
lines changed

Diff for: CHANGELOG.md

+33
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,39 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [v0.6.0](https://github.com/elixir-nx/bumblebee/tree/v0.6.0) (2024-10-08)
9+
10+
### Added
11+
12+
* Notebook about Retrieval-Augmented Generation (RAG) ([#353](https://github.com/elixir-nx/bumblebee/pull/353))
13+
* Phi model ([#356](https://github.com/elixir-nx/bumblebee/pull/356))
14+
* Gemma model ([#358](https://github.com/elixir-nx/bumblebee/pull/358))
15+
* Support for input streaming in Whisper serving ([#361](https://github.com/elixir-nx/bumblebee/pull/361))
16+
* Stable Diffusion ControlNet model ([#359](https://github.com/elixir-nx/bumblebee/pull/359))
17+
* Support for multiple EOS tokens in text generation ([#368](https://github.com/elixir-nx/bumblebee/pull/368))
18+
* Phi-3 model ([#374](https://github.com/elixir-nx/bumblebee/pull/374))
19+
* Support for Llama 3 ([#387](https://github.com/elixir-nx/bumblebee/pull/387))
20+
* Support for CLS token pooling in text embedding ([#385](https://github.com/elixir-nx/bumblebee/pull/385))
21+
* Support for HTTP proxies ([#391](https://github.com/elixir-nx/bumblebee/pull/391))
22+
* M2M100 and NLLB models ([#392](https://github.com/elixir-nx/bumblebee/pull/392))
23+
* Multilingual translation serving (`Bumblebee.Text.translation/4`) ([#395](https://github.com/elixir-nx/bumblebee/pull/395))
24+
* Swin model ([#394](https://github.com/elixir-nx/bumblebee/pull/394))
25+
26+
### Changed
27+
28+
* **(Breaking)** Renamed `:use_qkv_bias` spec option to `:use_attention_bias` in ViT, DeiT and DINOv2
29+
* **(Breaking)** Changed spec options for optional outputs (`:output_hidden_states`, `:output_attentions`) to global layer options ([#360](https://github.com/elixir-nx/bumblebee/pull/360))
30+
* Whisper serving to stream input using ffmpeg when given a file path ([#361](https://github.com/elixir-nx/bumblebee/pull/361))
31+
* **(Breaking)** Changed model params to use `%Axon.ModelState{}`, matching Axon v0.7.0 ([#375](https://github.com/elixir-nx/bumblebee/pull/375))
32+
33+
### Removed
34+
35+
### Fixed
36+
37+
* Token classification crashing when all tokens are special
38+
* Batched text generation finishing too early
39+
* Crash on empty list of entities when aggregating entities in token classification ([#386](https://github.com/elixir-nx/bumblebee/pull/386))
40+
841
## [v0.5.3](https://github.com/elixir-nx/bumblebee/tree/v0.5.3) (2024-02-26)
942

1043
### Fixed

Diff for: README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ First add Bumblebee and EXLA as dependencies in your `mix.exs`. EXLA is an optio
2626
```elixir
2727
def deps do
2828
[
29-
{:bumblebee, "~> 0.5.3"},
29+
{:bumblebee, "~> 0.6.0"},
3030
{:exla, ">= 0.0.0"}
3131
]
3232
end
@@ -47,7 +47,7 @@ In notebooks and scripts, use the following `Mix.install/2` call to both install
4747
```elixir
4848
Mix.install(
4949
[
50-
{:bumblebee, "~> 0.5.3"},
50+
{:bumblebee, "~> 0.6.0"},
5151
{:exla, ">= 0.0.0"}
5252
],
5353
config: [nx: [default_backend: EXLA.Backend]]

Diff for: examples/phoenix/image_classification.exs

+3-3
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ Mix.install([
1212
{:phoenix, "1.7.10"},
1313
{:phoenix_live_view, "0.20.1"},
1414
# Bumblebee and friends
15-
{:bumblebee, "~> 0.5.0"},
16-
{:nx, "~> 0.7.0"},
17-
{:exla, "~> 0.7.0"}
15+
{:bumblebee, "~> 0.6.0"},
16+
{:nx, "~> 0.9.0"},
17+
{:exla, "~> 0.9.0"}
1818
])
1919

2020
Application.put_env(:nx, :default_backend, EXLA.Backend)

Diff for: examples/phoenix/speech_to_text.exs

+3-3
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ Mix.install([
1212
{:phoenix, "1.7.10"},
1313
{:phoenix_live_view, "0.20.1"},
1414
# Bumblebee and friends
15-
{:bumblebee, "~> 0.5.0"},
16-
{:nx, "~> 0.7.0"},
17-
{:exla, "~> 0.7.0"}
15+
{:bumblebee, "~> 0.6.0"},
16+
{:nx, "~> 0.9.0"},
17+
{:exla, "~> 0.9.0"}
1818
])
1919

2020
Application.put_env(:nx, :default_backend, EXLA.Backend)

Diff for: examples/phoenix/text_classification.exs

+3-3
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ Mix.install([
1111
{:phoenix, "1.7.10"},
1212
{:phoenix_live_view, "0.20.1"},
1313
# Bumblebee and friends
14-
{:bumblebee, "~> 0.5.0"},
15-
{:nx, "~> 0.7.0"},
16-
{:exla, "~> 0.7.0"}
14+
{:bumblebee, "~> 0.6.0"},
15+
{:nx, "~> 0.9.0"},
16+
{:exla, "~> 0.9.0"}
1717
])
1818

1919
Application.put_env(:nx, :default_backend, EXLA.Backend)

Diff for: mix.exs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
defmodule Bumblebee.MixProject do
22
use Mix.Project
33

4-
@version "0.5.3"
4+
@version "0.6.0"
55
@description "Pre-trained and transformer Neural Network models in Axon"
66

77
def project do

Diff for: notebooks/examples.livemd

+5-5
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22

33
```elixir
44
Mix.install([
5-
{:bumblebee, "~> 0.5.0"},
6-
{:nx, "~> 0.7.0"},
7-
{:exla, "~> 0.7.0"},
8-
{:axon, "~> 0.6.1"},
9-
{:kino, "~> 0.12.0"}
5+
{:bumblebee, "~> 0.6.0"},
6+
{:nx, "~> 0.9.0"},
7+
{:exla, "~> 0.9.0"},
8+
{:axon, "~> 0.7.0"},
9+
{:kino, "~> 0.14.0"}
1010
])
1111

1212
Nx.global_default_backend(EXLA.Backend)

Diff for: notebooks/llms.livemd

+4-4
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22

33
```elixir
44
Mix.install([
5-
{:bumblebee, "~> 0.5.0"},
6-
{:nx, "~> 0.7.0"},
7-
{:exla, "~> 0.7.0"},
8-
{:kino, "~> 0.12.0"}
5+
{:bumblebee, "~> 0.6.0"},
6+
{:nx, "~> 0.9.0"},
7+
{:exla, "~> 0.9.0"},
8+
{:kino, "~> 0.14.0"}
99
])
1010

1111
Nx.global_default_backend({EXLA.Backend, client: :host})

Diff for: notebooks/llms_rag.livemd

+5-5
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22

33
```elixir
44
Mix.install([
5-
{:bumblebee, "~> 0.5.3"},
6-
{:nx, "~> 0.7.0"},
7-
{:exla, "~> 0.7.0"},
8-
{:kino, "~> 0.11.0"},
5+
{:bumblebee, "~> 0.6.0"},
6+
{:nx, "~> 0.9.0"},
7+
{:exla, "~> 0.9.0"},
8+
{:kino, "~> 0.14.0"},
99
{:hnswlib, "~> 0.1.5"},
10-
{:req, "~> 0.4.0"}
10+
{:req, "~> 0.5.0"}
1111
])
1212

1313
Nx.global_default_backend(EXLA.Backend)

Diff for: notebooks/stable_diffusion.livemd

+4-4
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22

33
```elixir
44
Mix.install([
5-
{:bumblebee, "~> 0.5.0"},
6-
{:nx, "~> 0.7.0"},
7-
{:exla, "~> 0.7.0"},
8-
{:kino, "~> 0.12.0"}
5+
{:bumblebee, "~> 0.6.0"},
6+
{:nx, "~> 0.9.0"},
7+
{:exla, "~> 0.9.0"},
8+
{:kino, "~> 0.14.0"}
99
])
1010

1111
Nx.global_default_backend({EXLA.Backend, client: :host})

0 commit comments

Comments
 (0)