[v0.31.4]: strict dataclasses, support `DTensor` saving & some bug fixes
This release includes some new features and bug fixes:
- New
strictdecorators for runtime dataclass validation with custom and type-based checks. by @Wauplin in #2895. - Added
DTensorsupport to_get_unique_id/get_torch_storage_sizehelpers, enablingtransformersto usesave_pretrainedwithDTensor. by @S1ro1 in #3042. - Some bug fixes: #3080 & #3076.
Full Changelog: v0.31.2...v0.31.4