Skip to content

Commit 4701089

Browse files
authored
Add Gemma 4 model family support (#1512)
* Add Gemma 4 model family support
1 parent 027bdeb commit 4701089

36 files changed

Lines changed: 6466 additions & 1 deletion

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@ All notable changes to fairseq2 are documented in this file.
33

44
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
55

6+
## [0.8.1] - Unreleased
7+
- Gemma 4 model family (E4B, 31B, 26B-A4B) with base and instruction-tuned variants. Includes decoder with Per-Layer Embeddings (PLE), partial RoPE, KV sharing across sliding/global attention layers, Mixture-of-Experts (26B-A4B), QK/V-norm, logit soft-capping, audio tower (Conformer encoder for multimodal E4B), bidirectional HuggingFace state dict conversion, FSDP/activation checkpointing/tensor parallel support, and SFT recipe configs.
8+
- Bump transformers~=v5.5 and loosen huggingface_hub upper bound. (#1508)
9+
- Fixed typo in WerMetric: use `hyp_seqs` instead of `ref_seqs` for `hyp_seqs_list`. (#1506)
10+
611
## [0.8.0] - March 25th, 2026
712
- fsspec integration for remote filesystem support. Checkpoints can be saved to and loaded from S3 via `--checkpoint-dir s3://bucket/path/`. Requires `s3fs`. (#1126)
813
- New `GlobalFileSystem` replaces `LocalFileSystem` as default, dispatching to the appropriate backend based on URI scheme. (#1126)
Lines changed: 80 additions & 0 deletions
Loading
Lines changed: 79 additions & 0 deletions
Loading

doc/source/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ other content generation tasks.
6767
reference/fairseq2.gang
6868
reference/fairseq2.model_checkpoint
6969
reference/fairseq2.models
70+
reference/fairseq2.models.gemma4
7071
reference/fairseq2.models.hg
7172
reference/fairseq2.models.hub
7273
reference/fairseq2.models.llama

0 commit comments

Comments
 (0)