Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,30 @@
# Changelog

## v1.6.0

### New features

#### Better interoperability with modern training stacks
* Add non-wrapping mode for better compatibility with Transformers, Accelerate, and libraries that expect the original module hierarchy (`wrap_model=False`) (#794)
* Add arithmetic operations support to `DPTensorFastGradientClipping`, making it easier to integrate Opacus with custom loss compositions and external trainers (#805)

#### Distributed and large-model training
* Add support for Fully Sharded Data Parallel (FSDP) training, including a tutorial and a new example (#761,#772,#781,#782)
* Add support for mixed and low precision training (#764)
* Add 1D tensor parallelism support for fast gradient clipping, together with toy and Llama examples; this support is currently beta (#776)

#### Others
* Add ability to register custom noise accountants (#784)

### Bug fixes
* Fix epsilon/noise accounting when using adaptive gradient clipping (#807, #779)
* Fix fast gradient clipping when using `ignore_index` masking, so ignored tokens do not affect the reduced loss incorrectly (#808)
* Replace empty-batch handling inside `DPDataLoader` with a structure-aware approach, fixing failures for custom batch structures under Poisson sampling (#806)
* Treat `IAccountant.mechanism` correctly during `state_dict` handling (#778)

### Compatibility
* Require `torch>=2.6.0` (#770)

## v1.5.4

### New features
Expand Down
2 changes: 1 addition & 1 deletion opacus/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.

__version__ = "1.5.4"
__version__ = "1.6.0"
Loading