Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: release 0.47.0 #246

Merged
merged 5 commits into from
Sep 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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"
Loading