What's New
1. Torch 2.5.1 Compatibility (https://github.com/mosaicml/composer/pull/3701)
We've added support for torch 2.5.1, including checkpointing bug fixes from PyTorch.
2. Add batch/microbatch transforms (https://github.com/mosaicml/composer/pull/3703)
Sped up device transformations by doing batch transform on CPU and microbatch transforms on GPU
Deprecations and Breaking Changes
1. MLFlow Metrics Deduplication (https://github.com/mosaicml/composer/pull/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 https://github.com/mosaicml/composer/pull/3678
* Bump databricks-sdk from 0.33.0 to 0.36.0 by dependabot in https://github.com/mosaicml/composer/pull/3686
* Update pillow requirement from <11,>=10.3.0 to >=10.3.0,<12 by dependabot in https://github.com/mosaicml/composer/pull/3684
* Lower min torchmetrics version by mvpatel2000 in https://github.com/mosaicml/composer/pull/3691
* Private link error handling by nancyhung in https://github.com/mosaicml/composer/pull/3689
* Update checkpoint tests to use new version 0.26.0 by irenedea in https://github.com/mosaicml/composer/pull/3683
* Bump coverage[toml] from 7.6.3 to 7.6.4 by dependabot in https://github.com/mosaicml/composer/pull/3694
* Pin checkpoint state dict flattening patch by b-chu in https://github.com/mosaicml/composer/pull/3700
* Torch bump to 2.5.1 by mvpatel2000 in https://github.com/mosaicml/composer/pull/3701
* Fix typo in trainer doc by XiaohanZhangCMU in https://github.com/mosaicml/composer/pull/3702
* Update packaging requirement from <24.2,>=21.3.0 to >=21.3.0,<24.3 by dependabot in https://github.com/mosaicml/composer/pull/3707
* Update torchmetrics requirement from <1.4.1,>=1.0 to >=1.0,<1.5.3 by dependabot in https://github.com/mosaicml/composer/pull/3706
* Add batch/microbatch transforms by mvpatel2000 in https://github.com/mosaicml/composer/pull/3703
* Bump version to 0.28.0.dev0 by j316chuck in https://github.com/mosaicml/composer/pull/3709
* Add torch 2.5.1 composer tests by j316chuck in https://github.com/mosaicml/composer/pull/3710
**Full Changelog**: https://github.com/mosaicml/composer/compare/v0.26.1...v0.27.0