Skip to content
This repository has been archived by the owner on Oct 9, 2023. It is now read-only.

Update torchmetrics requirement from <0.11.0,>0.7.0 to >0.7.0,<0.12.0 in /requirements #1587

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jun 12, 2023

Updates the requirements on torchmetrics to permit the latest version.

Release notes

Sourced from torchmetrics's releases.

Minor patch release

[0.11.4] - 2023-03-10

Fixed

  • Fixed evaluation of R2Score with the near constant target (#1576)
  • Fixed dtype conversion when the metric is submodule (#1583)
  • Fixed bug related to top_k>1 and ignore_index!=None in StatScores based metrics (#1589)
  • Fixed corner case for PearsonCorrCoef when running in DDP mode but only on a single device (#1587)
  • Fixed overflow error for specific cases in MAP when big areas are calculated (#1607)

Contributors

@​borda, @​FarzanT, @​SkafteNicki

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

Full Changelog: Lightning-AI/torchmetrics@v0.11.3...v0.11.4

Changelog

Sourced from torchmetrics's changelog.

[0.11.4] - 2023-03-10

Fixed

  • Fixed evaluation of R2Score with near constant target (#1576)
  • Fixed dtype conversion when metric is submodule (#1583)
  • Fixed bug related to top_k>1 and ignore_index!=None in StatScores based metrics (#1589)
  • Fixed corner case for PearsonCorrCoef when running in ddp mode but only on single device (#1587)
  • Fixed overflow error for specific cases in MAP when big areas are calculated (#1607)

[0.11.3] - 2023-02-28

Fixed

  • Fixed classification metrics for byte input (#1521)
  • Fixed the use of ignore_index in MulticlassJaccardIndex (#1386)

[0.11.2] - 2023-02-21

Fixed

  • Fixed compatibility between XLA in _bincount function (#1471)
  • Fixed type hints in methods belonging to MetricTracker wrapper (#1472)
  • Fixed multilabel in ExactMatch (#1474)

[0.11.1] - 2023-01-30

Fixed

  • Fixed type checking on the maximize parameter at the initialization of MetricTracker (#1428)
  • Fixed mixed precision autocast for SSIM metric (#1454)
  • Fixed checking for nltk.punkt in RougeScore if a machine is not online (#1456)
  • Fixed wrongly reset method in MultioutputWrapper (#1460)
  • Fixed dtype checking in PrecisionRecallCurve for target tensor (#1457)

[0.11.0] - 2022-11-30

Added

  • Added MulticlassExactMatch to classification metrics (#1343)
  • Added TotalVariation to image package (#978)
  • Added CLIPScore to new multimodal package (#1314)
  • Added regression metrics:
    • KendallRankCorrCoef (#1271)
    • LogCoshError (#1316)
  • Added new nominal metrics:

... (truncated)

Commits

You can trigger a rebase of this PR 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 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)
> **Note** > Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot bot requested review from ethanwharris and Borda as code owners June 12, 2023 12:04
@dependabot dependabot bot added the enhancement New feature or request label Jun 12, 2023
@dependabot dependabot bot requested a review from a team June 12, 2023 12:04
@codecov
Copy link

codecov bot commented Jun 12, 2023

Codecov Report

Merging #1587 (fc5d612) into master (9d3444a) will decrease coverage by 21%.
The diff coverage is n/a.

Additional details and impacted files
@@           Coverage Diff            @@
##           master   #1587     +/-   ##
========================================
- Coverage      85%     65%    -21%     
========================================
  Files         291     291             
  Lines       12867   12867             
========================================
- Hits        10991    8352   -2639     
- Misses       1876    4515   +2639     

@dependabot dependabot bot force-pushed the dependabot-pip-requirements-torchmetrics-gt-0.7.0-and-lt-0.12.0 branch from 2b7d057 to ef2b8b6 Compare June 12, 2023 17:12
@Borda
Copy link
Member

Borda commented Jun 16, 2023

@dependabot rebase

@dependabot dependabot bot force-pushed the dependabot-pip-requirements-torchmetrics-gt-0.7.0-and-lt-0.12.0 branch from ef2b8b6 to a666348 Compare June 16, 2023 15:08
@dependabot dependabot bot force-pushed the dependabot-pip-requirements-torchmetrics-gt-0.7.0-and-lt-0.12.0 branch from a666348 to 9ecf361 Compare June 16, 2023 22:14
@dependabot dependabot bot force-pushed the dependabot-pip-requirements-torchmetrics-gt-0.7.0-and-lt-0.12.0 branch from 9ecf361 to ee90e64 Compare June 18, 2023 14:57
@mergify mergify bot removed the has conflicts label Jun 18, 2023
@dependabot dependabot bot force-pushed the dependabot-pip-requirements-torchmetrics-gt-0.7.0-and-lt-0.12.0 branch 5 times, most recently from 748adcb to 24a2201 Compare June 19, 2023 16:39
@Borda Borda marked this pull request as draft June 20, 2023 10:06
@dependabot dependabot bot force-pushed the dependabot-pip-requirements-torchmetrics-gt-0.7.0-and-lt-0.12.0 branch 2 times, most recently from cb6e070 to 0a9a05d Compare June 27, 2023 07:38
Updates the requirements on [torchmetrics](https://github.com/Lightning-AI/metrics) to permit the latest version.
- [Release notes](https://github.com/Lightning-AI/metrics/releases)
- [Changelog](https://github.com/Lightning-AI/torchmetrics/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Lightning-AI/metrics/commits/v0.11.4)

---
updated-dependencies:
- dependency-name: torchmetrics
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot-pip-requirements-torchmetrics-gt-0.7.0-and-lt-0.12.0 branch from 0a9a05d to 5eddd21 Compare June 30, 2023 12:17
requirements/base.txt Outdated Show resolved Hide resolved
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Jul 10, 2023

A newer version of torchmetrics exists, but since this PR has been edited by someone other than Dependabot I haven't updated it. You'll get a PR for the updated version as normal once this PR is merged.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant