What's New
1. Torch 2.5.1 Compatibility (#3701)
We've added support for torch 2.5.1, including checkpointing bug fixes from PyTorch.
2. Add batch/microbatch transforms (#3703)
Sped up device transformations by doing batch transform on CPU and microbatch transforms on GPU
Deprecations and Breaking Changes
1. MLFlow Metrics Deduplication (#3678)
We added a metric de-duplication feature for the MLflow logger in Composer. Metrics that remain unchanged since the last step are not logged unless specific conditions are met, which by default is if we've reached a 100th multiple of duplicated metric steps. This optimizes logging storage by reducing redundant entries, balancing detailed sampling with efficiency.
Example:
MlflowLogger(..., log_duplicated_metric_every_n_steps=100)
What's Changed
- Metrics dedup for MLflow logger by @chenmoneygithub in #3678
- Bump databricks-sdk from 0.33.0 to 0.36.0 by @dependabot in #3686
- Update pillow requirement from <11,>=10.3.0 to >=10.3.0,<12 by @dependabot in #3684
- Lower min torchmetrics version by @mvpatel2000 in #3691
- Private link error handling by @nancyhung in #3689
- Update checkpoint tests to use new version 0.26.0 by @irenedea in #3683
- Bump coverage[toml] from 7.6.3 to 7.6.4 by @dependabot in #3694
- Pin checkpoint state dict flattening patch by @b-chu in #3700
- Torch bump to 2.5.1 by @mvpatel2000 in #3701
- Fix typo in trainer doc by @XiaohanZhangCMU in #3702
- Update packaging requirement from <24.2,>=21.3.0 to >=21.3.0,<24.3 by @dependabot in #3707
- Update torchmetrics requirement from <1.4.1,>=1.0 to >=1.0,<1.5.3 by @dependabot in #3706
- Add batch/microbatch transforms by @mvpatel2000 in #3703
- Bump version to 0.28.0.dev0 by @j316chuck in #3709
- Add torch 2.5.1 composer tests by @j316chuck in #3710
Full Changelog: v0.26.1...v0.27.0