ReleaseLightning AILightning AIpublished Mar 9, 2026seen 5d

Lightning-AI/torchmetrics v1.9.0

Lightning-AI/torchmetrics

Open original ↗

Captured source

source ↗
published Mar 9, 2026seen 5dcaptured 13hhttp 200method plain

Release v1.9.0

Repository: Lightning-AI/torchmetrics

Tag: v1.9.0

Published: 2026-03-09T17:40:37Z

Prerelease: no

Release notes:

[1.9.0] - 2026-03-06

Changed

  • Defaulting Dice score average="macro" (#3042)
  • Dropped Python 3.9 support, set 3.10 as minimum (#3330)
  • Replaced pkg_resources with packaging (#3329)

Fixed

  • Fixed device mismatch in Metric base class (#3316)
  • Fixed n-d slicing deprecation warning (#3319)
  • Fixed tensor copy warning in logAUC (#3295)
  • Fixed memory issues when computing retrieval metrics with high-valued indices (#3291)
  • Fixed race condition in _safe_divide by creating tensor directly on device (#3284)

---

Key Contributors

@adaliaramon, @bhimrazy, @GdoongMathew, @Isalia20, @KyleMylonakisProtopia, @VijayVignesh1

New Contributors

  • @PussyCat0700 made their first contribution in https://github.com/Lightning-AI/torchmetrics/pull/3182
  • @iamkulbhushansingh made their first contribution in https://github.com/Lightning-AI/torchmetrics/pull/3196
  • @adosar made their first contribution in https://github.com/Lightning-AI/torchmetrics/pull/3282
  • @bhimrazy made their first contribution in https://github.com/Lightning-AI/torchmetrics/pull/3306
  • @VijayVignesh1 made their first contribution in https://github.com/Lightning-AI/torchmetrics/pull/3295
  • @KyleMylonakisProtopia made their first contribution in https://github.com/Lightning-AI/torchmetrics/pull/3319
  • @GdoongMathew made their first contribution in https://github.com/Lightning-AI/torchmetrics/pull/3316
  • @adaliaramon made their first contribution in https://github.com/Lightning-AI/torchmetrics/pull/3291

_If we forgot someone due to not matching commit email with GitHub account, let us know :]_

---

Full Changelog: https://github.com/Lightning-AI/torchmetrics/compare/v1.8.0...v1.9.0

Notability

notability 5.0/10

Notable release of a widely-used library.