composer icon indicating copy to clipboard operation
composer copied to clipboard

Update torchmetrics requirement from <1.7.3,>=1.0 to >=1.0,<1.7.4

Open dependabot[bot] opened this issue 4 months ago • 0 comments
trafficstars

Updates the requirements on torchmetrics to permit the latest version.

Release notes

Sourced from torchmetrics's releases.

Minor patch release

[1.7.3] - 2025-06-13

Fixed

  • Fixed: ensure WrapperMetric resets wrapped_metric state (#3123)
  • Fixed top_k in multiclass_accuracy (#3117)
  • Fixed compatibility to COCO format for pycocotools 2.0.10 (#3131)

Key Contributors

@​rittik9

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.7.2...v1.7.3

Changelog

Sourced from torchmetrics's changelog.

[1.7.3] - 2025-06-13

Fixed

  • Fixed: Ensure WrapperMetric Resets wrapped_metric State (#3123)
  • Fixed top_k in multiclass_accuracy (#3117)
  • Fixed compatibility to COCO format for pycocotools 2.0.10 (#3131)

[1.7.2] - 2025-05-27

Changed

  • Enhance: improve performance of _rank_data (#3103)

Fixed

  • Fixed UnboundLocalError in MatthewsCorrCoef (#3059)
  • Fixed MIFID incorrectly converts inputs to byte dtype with custom encoders (#3064)
  • Fixed ignore_index in MultilabelExactMatch (#3085)
  • Fixed: disable non-blocking on MPS (#3101)

[1.7.1] - 2025-04-06

Changed

  • Enhance Support Adding a MetricCollection to Another MetricCollection in add_metrics Function (#3032)

Fixed

  • Fixed absent class MeanIOU (#2892)
  • Fixed detection IoU ignores predictions without ground truth (#3025)
  • Fixed error raised in MulticlassAccuracy when top_k>1 (#3039)

[1.7.0] - 2025-03-20

Added

  • Additions to image domain:
    • Added ARNIQA metric (#2953)
    • Added DeepImageStructureAndTextureSimilarity (#2993)
    • Added support for more models and processors in CLIPScore (#2978)
  • Added JensenShannonDivergence metric to regression package (#2992)
  • Added ClusterAccuracy metric to cluster package (#2777)
  • Added Equal Error Rate (EER) to classification package (#3013)
  • Added functional interface to MeanAveragePrecision metric (#3011)

Changed

... (truncated)

Commits
  • 6e1b354 releasing 1.7.3
  • 7dd8da0 fix: Add required info field to COCO format for pycocotools 2.0.10 compat...
  • 290e14d build(deps): update pandas requirement from <=2.2.3,>1.4.0 to >1.4.0,<=2.3.0 ...
  • 5f8885a Update plot examples in docs to use JensenShannonDivergence instead of KL (...
  • ec28f14 Fix top_k in multiclass_accuracy (#3117)
  • 16d9233 build(deps): bump torch from 2.7.0 to 2.7.1 in /requirements (#3126)
  • 5dfaf6c Fix: Ensure WrapperMetric Resets wrapped_metric State (#3123)
  • cb56be3 Corrected formula for negative predictive value (#3124)
  • 20a90cc Fix _check_reg_targets function call signature for sklearn>=1.7 (#3129)
  • b6c6c88 bump: PyTorch to be latest 2.7.1 (#3121)
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

dependabot[bot] avatar Jun 30 '25 01:06 dependabot[bot]