Skip to content

Commit

Permalink
chore: release 0.47.0 (#246)
Browse files Browse the repository at this point in the history
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: substra-bot[bot] <100303497+substra-bot[bot]@users.noreply.github.com>
Co-authored-by: substra-bot[bot] <substra-bot[bot]@users.noreply.github.com>
  • Loading branch information
substra-bot[bot] and substra-bot[bot] authored Sep 12, 2024
1 parent 7a83422 commit 9ac1ac6
Show file tree
Hide file tree
Showing 13 changed files with 28 additions and 16 deletions.
25 changes: 25 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,31 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

<!-- towncrier release notes start -->

## [0.47.0](https://github.com/Substra/substrafl/releases/tag/0.47.0) - 2024-09-12

### Added

- Python 3.12 support ([#226](https://github.com/Substra/substrafl/pull/226))
- Add Docker GPU base image, activated through the `Dependency` object with the variable `use_gpu=True`. The Docker image used is `nvidia/cuda:11.8.0-runtime-ubuntu22.04`. ([#227](https://github.com/Substra/substrafl/pull/227))

### Changed

- BREAKING: change `use_gpu` to `diasble_gpu` in all `TorchAlgo`. The device is set to `cpu` is no GPU are available or if `disable_gpu` is set to `True`. You must inverse the boolean in your code to keep the same behaviour (`diasble_gpu == not use_gpu`). ([#241](https://github.com/Substra/substrafl/pull/241))
- Remove packages named `build-essential` and `*-dev` after building dependencies to decrease CVE ([#242](https://github.com/Substra/substrafl/pull/242))

### Fixed

- Add a non-root user to the generated Dockerfile for the compute functions.

Compute pods were already running as non-root (ensured by a security context in the backend), we are making it more
explicit here. ([#228](https://github.com/Substra/substrafl/pull/228))
- Added `subprocess_only` tag to prevent simulation mode tests to run in remote mode. ([#229](https://github.com/Substra/substrafl/pull/229))
- Bump pytorch version to 2.2.1 in tests. ([#230](https://github.com/Substra/substrafl/pull/230))
- Bump NumPy version to 1.26.4 in tests. ([#231](https://github.com/Substra/substrafl/pull/231))
- Actually trigger the GPU docker configuration with `use_gpu` flag when running Camelyon benchmark ([#244](https://github.com/Substra/substrafl/pull/244))
- Use Tensor.cpu() to copy the tensor to host memory first in Camelyon benchmark ([#245](https://github.com/Substra/substrafl/pull/245))


## [0.46.0](https://github.com/Substra/substrafl/releases/tag/0.46.0) - 2024-06-03


Expand Down
1 change: 0 additions & 1 deletion changes/226.added

This file was deleted.

1 change: 0 additions & 1 deletion changes/227.added

This file was deleted.

4 changes: 0 additions & 4 deletions changes/228.fixed

This file was deleted.

1 change: 0 additions & 1 deletion changes/229.fixed

This file was deleted.

1 change: 0 additions & 1 deletion changes/230.fixed

This file was deleted.

1 change: 0 additions & 1 deletion changes/231.fixed

This file was deleted.

1 change: 0 additions & 1 deletion changes/241.changed

This file was deleted.

1 change: 0 additions & 1 deletion changes/242.changed

This file was deleted.

1 change: 0 additions & 1 deletion changes/244.fixed

This file was deleted.

1 change: 0 additions & 1 deletion changes/245.fixed

This file was deleted.

4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ readme = "README.md"
dependencies = [
"numpy>=1.24,<2.0",
"cloudpickle>=1.6.0",
"substra~=0.54.0a1",
"substratools~=0.22.0a2",
"substra~=0.54.0",
"substratools~=0.22.0",
"pydantic>=2.3.0,<3.0",
"pip>=21.2",
"tqdm",
Expand Down
2 changes: 1 addition & 1 deletion substrafl/__version__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.46.0"
__version__ = "0.47.0"

0 comments on commit 9ac1ac6

Please sign in to comment.