Skip to content

Commit

Permalink
release 0.7.3
Browse files Browse the repository at this point in the history
* fix CI latest
  • Loading branch information
Borda committed Mar 23, 2022
1 parent 49882a2 commit eb1fdc3
Show file tree
Hide file tree
Showing 5 changed files with 34 additions and 26 deletions.
17 changes: 15 additions & 2 deletions .github/workflows/ci_integrate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.head_ref }}
cancel-in-progress: ${{ ! (github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/heads/release/')) }}

defaults:
run:
shell: bash

jobs:
pytest:

Expand Down Expand Up @@ -65,17 +69,26 @@ jobs:
key: ${{ runner.os }}-py${{ matrix.python-version }}-td${{ steps.times.outputs.period }}-pip-${{ hashFiles('requirements.txt') }}
restore-keys: ${{ runner.os }}-py${{ matrix.python-version }}-td${{ steps.times.outputs.period }}-pip-

- name: Install dependencies
- name: Install base dependencies
run: |
pip --version
pip install --requirement requirements.txt --upgrade --find-links $PYTORCH_URL
- name: Freeze Numpy (hotfix)
if: matrix.requires == 'latest'
run: |
pip install -q "numpy==1.20.0" # temp fix for cypesq
# import of PILLOW_VERSION which they recently removed in v9.0 in favor of __version__
pip install -q "Pillow<9.0" # It messes with torchvision
- name: Install all dependencies
run: |
python ./requirements/adjust-versions.py requirements.txt
python ./requirements/adjust-versions.py requirements/image.txt
pip install --requirement requirements/devel.txt --upgrade --find-links $PYTORCH_URL
pip install -r requirements/integrate.txt --quiet --upgrade-strategy only-if-needed --find-links $PYTORCH_URL
pip uninstall -y torchmetrics
pip list
shell: bash
- name: HF cache
uses: actions/cache@v2
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/ci_test-conda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,8 @@ jobs:
python ./requirements/adjust-versions.py requirements.txt
python ./.github/prune-packages.py requirements/image.txt torchvision
pip install -q "numpy==1.20.0" # try to fix cocotools for PT 1.4 & 1.9
# import of PILLOW_VERSION which they recently removed in v9.0 in favor of __version__
pip install -q "Pillow<9.0" # It messes with torchvision
pip install --requirement requirements.txt --quiet
pip install --requirement requirements/devel.txt --quiet
pip list
Expand Down
17 changes: 15 additions & 2 deletions .github/workflows/ci_test-full.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.head_ref }}
cancel-in-progress: ${{ ! (github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/heads/release/')) }}

defaults:
run:
shell: bash

jobs:
pytest:

Expand Down Expand Up @@ -80,15 +84,24 @@ jobs:
key: ${{ runner.os }}-py${{ matrix.python-version }}-td${{ steps.times.outputs.period }}-pip-${{ hashFiles('requirements.txt') }}
restore-keys: ${{ runner.os }}-py${{ matrix.python-version }}-td${{ steps.times.outputs.period }}-pip-

- name: Install dependencies
- name: Install base dependencies
run: |
pip --version
pip install --requirement requirements.txt --upgrade --find-links $PYTORCH_URL
- name: Freeze Numpy (hotfix)
if: matrix.requires == 'latest'
run: |
pip install -q "numpy==1.20.0" # temp fix for cypesq
# import of PILLOW_VERSION which they recently removed in v9.0 in favor of __version__
pip install -q "Pillow<9.0" # It messes with torchvision
- name: Install all dependencies
run: |
python ./requirements/adjust-versions.py requirements.txt
python ./requirements/adjust-versions.py requirements/image.txt
pip install --requirement requirements/devel.txt --upgrade --find-links $PYTORCH_URL
pip list
shell: bash
- name: HF cache
uses: actions/cache@v2
Expand Down
22 changes: 1 addition & 21 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,34 +7,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
**Note: we move fast, but still we preserve 0.1 version (one feature release) back compatibility.**


## [UnReleased] - 2022-MM-DD

### Added


### Changed


### Deprecated


### Removed

## [0.7.3] - 2022-03-23

### Fixed

- Fixed unsafe log operation in `TweedieDeviace` for power=1 ([#847](https://github.com/PyTorchLightning/metrics/pull/847))


- Fixed bug in MAP metric related to either no ground truth or no predictions ([#884](https://github.com/PyTorchLightning/metrics/pull/884))


- Fixed `ConfusionMatrix`, `AUROC` and `AveragePrecision` on GPU when running in deterministic mode ([#900](https://github.com/PyTorchLightning/metrics/pull/900))


- Fixed NaN or Inf results returned by `signal_distortion_ratio` ([#899](https://github.com/PyTorchLightning/metrics/pull/899))


- Fixed memory leak when using `update` method with tensor where `requires_grad=True` ([#902](https://github.com/PyTorchLightning/metrics/pull/902))


Expand Down
2 changes: 1 addition & 1 deletion torchmetrics/__about__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = "0.7.2"
__version__ = "0.7.3"
__author__ = "PyTorchLightning et al."
__author_email__ = "[email protected]"
__license__ = "Apache-2.0"
Expand Down

0 comments on commit eb1fdc3

Please sign in to comment.