Skip to content

Commit

Permalink
Merge branch 'features/400-preprocessing' of github.com:helmholtz-ana…
Browse files Browse the repository at this point in the history
…lytics/heat into features/400-preprocessing
  • Loading branch information
Hoppe committed Jul 24, 2023
2 parents c5e957e + 1915cb8 commit e399d46
Show file tree
Hide file tree
Showing 3 changed files with 85 additions and 10 deletions.
23 changes: 14 additions & 9 deletions .github/workflows/changelog-updater.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,24 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
ref: main

repository: helmholtz-analytics/heat
ref: ${{ github.event.release.target_commitish }}
- name: Update Changelog
uses: stefanzweifel/changelog-updater-action@v1
with:
release-notes: ${{ github.event.release.body }}
latest-version: ${{ github.event.release.name }}

run: |
echo ${{ format('\# {0} - {1}', env.GITHUB_REF, github.event.release.name) }} > cl_title.md
echo ${{ github.event.release.body }} > cl_new_body.md
echo "" > newline.txt
cat cl_title.md newline.txt cl_new_body.md newline.txt CHANGELOG.md > tmp
mv tmp CHANGELOG.md
rm cl_title.md
rm cl_new_body.md
rm newline.txt
cat CHANGELOG.md
- name: Commit updated CHANGELOG
uses: stefanzweifel/git-auto-commit-action@v4
with:
branch: release/1.2.x
branch: ${{ github.event.release.target_commitish }}
commit_message: Update CHANGELOG
file_pattern: CHANGELOG.md
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ repos:
- id: check-added-large-files
- id: flake8
- repo: https://github.com/psf/black
rev: 23.3.0
rev: 23.7.0
hooks:
- id: black
- repo: https://github.com/pycqa/pydocstyle
Expand Down
70 changes: 70 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,73 @@
# v1.3.0 - Scalable SVD, GSoC`22 contributions, Docker image, PyTorch 2 support, AMD GPUs acceleration

This release includes many important updates (see below). We particularly would like to thank our enthusiastic [GSoC2022](https://summerofcode.withgoogle.com/programs/2022) / tentative GSoC2023 contributors @Mystic-Slice @neosunhan @Sai-Suraj-27 @shahpratham @AsRaNi1 @Ishaan-Chandak 🙏🏼 Thank you so much!

## Highlights
- #1155 Support PyTorch 2.0.1 (by @ClaudiaComito)
- #1152 Support AMD GPUs (by @mtar)
- #1126 [Distributed hierarchical SVD](https://helmholtz-analytics.github.io/heat/2023/06/16/new-feature-hsvd.html) (by @mrfh92)
- #1028 Introducing the `sparse` module: Distributed Compressed Sparse Row Matrix (by @Mystic-Slice)
- Performance improvements:
- #1125 distributed `heat.reshape()` speed-up (by @ClaudiaComito)
- #1141 `heat.pow()` speed-up when exponent is `int` (by @ClaudiaComito @coquelin77 )
- #1119 `heat.array()` default to `copy=None` (e.g., only if necessary) (by @ClaudiaComito @neosunhan )
- #970 [Dockerfile and accompanying documentation](https://github.com/helmholtz-analytics/heat/tree/release/1.3.x/docker) (by @bhagemeier)

## Changelog

### Array-API compliance / Interoperability

- #1154 Introduce `DNDarray.__array__()` method for interoperability with `numpy`, `xarray` (by @ClaudiaComito)
- #1147 Adopt [NEP29](https://numpy.org/neps/nep-0029-deprecation_policy.html), drop support for PyTorch 1.7, Python 3.6 (by @mtar)
- #1119 `ht.array()` default to `copy=None` (e.g., only if necessary) (by @ClaudiaComito)
- #1020 Implement `broadcast_arrays`, `broadcast_to` (by @neosunhan)
- #1008 API: Rename `keepdim` kwarg to `keepdims` (by @neosunhan)
- #788 Interface for [DPPY](https://github.com/IntelPython/DPPY-Spec) interoperability (by @coquelin77 @fschlimb )

### New Features
- #1126 [Distributed hierarchical SVD](https://helmholtz-analytics.github.io/heat/2023/06/16/new-feature-hsvd.html) (by @mrfh92)
- #1020 Implement `broadcast_arrays`, `broadcast_to` (by @neosunhan)
- #983 Signal processing: fully distributed 1D convolution (by @shahpratham)
- #1063 add __eq__ to Device (by @mtar)

### Bug Fixes

- #1141 `heat.pow()` speed-up when exponent is `int` (by @ClaudiaComito)
- #1136 Fixed PyTorch version check in `sparse` module (by @Mystic-Slice)
- #1098 Validates number of dimensions in input to `ht.sparse.sparse_csr_matrix` (by @Ishaan-Chandak)
- #1095 Convolve with distributed kernel on multiple GPUs (by @shahpratham)
- #1094 Fix division precision error in `random` module (by @Mystic-Slice)
- #1075 Fixed initialization of DNDarrays communicator in some routines (by @AsRaNi1)
- #1066 Verify input object type and layout + Supporting tests (by @Mystic-Slice)
- #1037 Distributed weighted `average()` along tuple of axes: shape of `weights` to match shape of input (by @Mystic-Slice)

### Benchmarking

- #1137 Continous Benchmarking of runtime (by @JuanPedroGHM)

### Documentation

- #1150 Refactoring for efficiency and readability (by @Sai-Suraj-27)
- #1130 Reintroduce Quick Start (by @ClaudiaComito)
- #1079 A better README file (by @Sai-Suraj-27)


### Linear Algebra

- #1126, #1160 [Distributed hierarchical SVD](https://helmholtz-analytics.github.io/heat/2023/06/16/new-feature-hsvd.html) (by @mrfh92 @ClaudiaComito )

# v1.2.2 - Bug fixes, support OpenMPI>=4.1.2, support PyTorch 1.13.1

## Changes

## Communication

- #1058 Fix edge-case contiguity mismatch for Allgatherv (by @ClaudiaComito)

## Contributors

@ClaudiaComito, @JuanPedroGHM

# v1.2.1

## Changes
Expand Down

0 comments on commit e399d46

Please sign in to comment.