Skip to content

Commit 7815b10

Browse files
committed
Updated CHANGELOG.md/README.md for v0.8 update
1 parent 3c7ec17 commit 7815b10

2 files changed

Lines changed: 83 additions & 7 deletions

File tree

CHANGELOG.md

Lines changed: 32 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,37 @@ 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.0] - TBD
7-
- fsspec integration for remote filesystem support. Checkpoints can be saved to
8-
and loaded from S3 via `--checkpoint-dir s3://bucket/path/`. Requires `s3fs`.
9-
- New `GlobalFileSystem` replaces `LocalFileSystem` as default, dispatching to
10-
the appropriate backend based on URI scheme.
6+
## [0.8.0] - March 25th, 2026
7+
- fsspec integration for remote filesystem support. Checkpoints can be saved to and loaded from S3 via `--checkpoint-dir s3://bucket/path/`. Requires `s3fs`. (#1126)
8+
- New `GlobalFileSystem` replaces `LocalFileSystem` as default, dispatching to the appropriate backend based on URI scheme. (#1126)
9+
- PyTorch 2.9.1 and 2.10 (forward compatibility) are now supported. PyTorch 2.9 introduced breaking changes to LR scheduler return types, which have been addressed. (#1477, #1491, #1456)
10+
- **Breaking**: Trainer, evaluator, generator, validator, and task moved from `fairseq2.recipe` to `fairseq2` package root. (#1417)
11+
- **Breaking**: LM recipes restructured: `text_generate` renamed to `generate`, SFT configs removed/renamed, recipe config classes changed. (#1431, #1432, #1433)
12+
- **Breaking**: `RecipeModel` is deprecated. Access the model directly via `.module` instead. (#1403)
13+
- **Breaking**: `pq.ParquetDataset` replaced with `pyarrow.dataset` interface. (#1490)
14+
- **Breaking**: `resolve_optional` renamed to `maybe_resolve`. (#1462)
15+
- **Breaking**: Revised `ModelCheckpointLoader` API. (#1475)
16+
- **Breaking**: Refactored tensor sharded modules (embedding, projection, FFN, attention). (#1476)
17+
- New context managers for procedural programming: `GangContext`, `DeviceContext`, `DataTypeContext`, `current_dtype`. Eliminates need to pass state through nested function calls. (#1474, #1473, #1464)
18+
- `CheckpointManager`, `Optimizer`, and `LRScheduler` now exposed in `RecipeContext`. (#1461)
19+
- Synchronous asset loading across ranks for models and tokenizers. Use when all ranks need identical assets loaded simultaneously. (#1429, #1426)
20+
- `CheckpointManager.register_save_hook` allows custom logic during checkpoint saves. (#1439)
21+
- Config files now support `${env:<NAME>}` to interpolate environment variables. (#1435)
22+
- `--no-rich` CLI flag disables rich text output for log parsing. (#1421)
23+
- Hugging Face export now runs in isolated process with saved command line and logs for debugging. (#1459, #1458, #1437, #1434)
24+
- Improved support for gated Hugging Face models. (#1422)
25+
- `get_family` utility functions for detecting model families. (#1454)
26+
- Gemma3n model family (E2B/E4B) with text + audio inference and SFT training. (#1496)
27+
- Generic HuggingFace model integration: load, shard, and train any HuggingFace CausalLM model directly through `HgCausalLMAdapter` without requiring a native fairseq2 reimplementation. Includes FSDP sharding, HF tokenizer integration, and SFT recipe support. (#1479)
28+
- `AssetDownloadManager` gains `local_only` parameter and custom download subpath support. (#1423, #1425)
29+
- Recipes now set Python `random` and `numpy` seeds for reproducibility. (#1419)
30+
- Wandb metric recorder now respects wandb environment variables. (#1440)
31+
- Improved `share_parameters` implementation. (#1484)
32+
- Fixed `cross_entropy` with `reduction="mean"` to properly exclude padding tokens from the denominator. (#1455)
33+
- Fixed `Flash3SDPA` to support the `flash-attn-3` v3.0.0 package API (`flash_attn_3._C` / `torch.ops.flash_attn_3`) in addition to the legacy `flash_attn_3_cuda` module. (#1495)
34+
- Fixed data pipeline sampling bug when `allow_repeats=False` with many pipelines. (#1471)
35+
- Fixed `DataParallelFacade` weakref errors. (#1447, #1436)
36+
- Fixed WER calculation to use lists instead of tensors. (#1413)
1137

1238
## [0.7.0] - Nov 4th, 2025
1339
- `RecipeModel` is now callable and forwards the call to `RecipeModel.module`
@@ -24,7 +50,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
2450
## [0.6.0] - Oct 7th, 2025
2551
- `fairseq2.sharder` is deprecated. fairseq2 now expects parallelism strategies
2652
to be applied within model factories. This gives model authors full control
27-
over how parallelism is applied to their models. [More info](https://github.com/facebookresearch/fairseq2/pull/1349)
53+
over how parallelism is applied to their models. [More info](https://github.com/facebookresearch/fairseq2/pull/1349)
2854
- `Gangs` can now be used as a context manager, along with a new `maybe_get_current_gangs()`
2955
helper function. This feature is particularly useful in procedural programming,
3056
as it eliminates the need to pass a `Gangs` instance through every function call.

README.md

Lines changed: 51 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,44 @@ matrix shows the supported combinations.
107107
<td><code>cpu</code>, <code>cu126</code>, <code>cu128</code></td>
108108
<td><code>x86_64</code></td>
109109
</tr>
110+
<tr>
111+
<td rowspan=3><code>0.8</code></td>
112+
<td><code>2.9.1</code></td>
113+
<td><code>&gt;=3.10</code>, <code>&lt;=3.12</code></td>
114+
<td><code>cpu</code>, <code>cu126</code>, <code>cu128</code></td>
115+
<td><code>x86_64</code></td>
116+
</tr>
117+
<tr>
118+
<td><code>2.8.0</code></td>
119+
<td><code>&gt;=3.10</code>, <code>&lt;=3.12</code></td>
120+
<td><code>cpu</code>, <code>cu126</code>, <code>cu128</code></td>
121+
<td><code>x86_64</code></td>
122+
</tr>
123+
<tr>
124+
<td><code>2.7.1</code></td>
125+
<td><code>&gt;=3.10</code>, <code>&lt;=3.12</code></td>
126+
<td><code>cpu</code>, <code>cu126</code>, <code>cu128</code></td>
127+
<td><code>x86_64</code></td>
128+
</tr>
129+
<tr>
130+
<td rowspan=3><code>0.7</code></td>
131+
<td><code>2.9.0</code></td>
132+
<td><code>&gt;=3.10</code>, <code>&lt;=3.12</code></td>
133+
<td><code>cpu</code>, <code>cu126</code>, <code>cu128</code></td>
134+
<td><code>x86_64</code></td>
135+
</tr>
136+
<tr>
137+
<td><code>2.8.0</code></td>
138+
<td><code>&gt;=3.10</code>, <code>&lt;=3.12</code></td>
139+
<td><code>cpu</code>, <code>cu126</code>, <code>cu128</code></td>
140+
<td><code>x86_64</code></td>
141+
</tr>
142+
<tr>
143+
<td><code>2.7.1</code></td>
144+
<td><code>&gt;=3.10</code>, <code>&lt;=3.12</code></td>
145+
<td><code>cpu</code>, <code>cu126</code>, <code>cu128</code></td>
146+
<td><code>x86_64</code></td>
147+
</tr>
110148
<tr>
111149
<td rowspan=3><code>0.6</code></td>
112150
<td><code>2.8.0</code></td>
@@ -200,11 +238,23 @@ the supported combinations.
200238
</thead>
201239
<tbody>
202240
<tr>
203-
<td rowspan=3><code>HEAD</code></td>
241+
<td><code>HEAD</code></td>
204242
<td><code>2.9.1</code></td>
205243
<td><code>&gt;=3.10</code>, <code>&lt;=3.12</code></td>
206244
<td><code>arm64</code></td>
207245
</tr>
246+
<tr>
247+
<td><code>0.8</code></td>
248+
<td><code>2.9.1</code></td>
249+
<td><code>&gt;=3.10</code>, <code>&lt;=3.12</code></td>
250+
<td><code>arm64</code></td>
251+
</tr>
252+
<tr>
253+
<td><code>0.7</code></td>
254+
<td><code>2.9.0</code></td>
255+
<td><code>&gt;=3.10</code>, <code>&lt;=3.12</code></td>
256+
<td><code>arm64</code></td>
257+
</tr>
208258
<tr>
209259
<td rowspan=2><code>0.6</code></td>
210260
<td><code>2.8.0</code></td>

0 commit comments

Comments
 (0)