Skip to content

[v0.31.4]: strict dataclasses, support `DTensor` saving & some bug fixes

Choose a tag to compare

@hanouticelina hanouticelina released this 19 May 09:48
· 206 commits to main since this release

This release includes some new features and bug fixes:

  • New strict decorators for runtime dataclass validation with custom and type-based checks. by @Wauplin in #2895.
  • Added DTensor support to _get_unique_id / get_torch_storage_size helpers, enabling transformers to use save_pretrained with DTensor. by @S1ro1 in #3042.
  • Some bug fixes: #3080 & #3076.

Full Changelog: v0.31.2...v0.31.4