Skip to content

Commit

Permalink
chore: release 0.36.0
Browse files Browse the repository at this point in the history
Signed-off-by: SdgJlbl <[email protected]>
  • Loading branch information
SdgJlbl committed Mar 12, 2024
1 parent 65a5a1a commit 7b471f7
Show file tree
Hide file tree
Showing 3 changed files with 72 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]


## [0.36.0]

### Changed

- Rename `test_data_sample_keys` to `data_sample_keys` on `TestDataNodes` after [SubstraFL #185](https://github.com/Substra/substrafl/pull/185) ([#398](https://github.com/Substra/substra-documentation/pull/398))
Expand Down
37 changes: 37 additions & 0 deletions docs/source/additional/release.rst
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,43 @@ This is an overview of the main changes, please have a look at the changelog of
- `backend changelog <https://github.com/Substra/substra-backend/blob/main/CHANGELOG.md>`__
- `orchestrator changelog <https://github.com/Substra/orchestrator/blob/main/CHANGELOG.md>`__


Substra 0.36.0 --- 2024-03-12
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

**All**

- Python 3.8 is not supported anymore. We support Python versions 3.9, 3.10 and 3.11.
- Status renaming:
- Compute task status `DOING` is renamed `EXECUTING`;
- Compute plan statuses `EMPTY`, `WAITING` and `TODO` are merged into new status `CREATED`;
- See `the documentation <https://docs.substra.org/en/stable/documentation/concepts.html#compute-plan>`__ for more details on statuses.


**SubstraFL**

- Switch to python-slim as base image, instead of substra-tools. The base image will be lighter, inducing smaller build time and improving compute plan speed.
- The predict task does not exist anymore. The evaluation of a model is done in a single task that combines prediction AND evaluation. This will speed up compute plan execution.
- Add the `simulate_experiment` function, that will execute the `Compute Plan` in RAM only. It returns Python objects containing the computed `Performances` and the saved intermediate `States`. More information about this feature is available in docstrings.

Example of usage::


from substrafl.experiment import simulate_experiment

scores, intermediate_state_train, intermediate_state_agg = simulate_experiment(
client=my_substra_client,
strategy=my_strategy,
train_data_nodes=train_data_nodes,
evaluation_strategy=my_eval_strategy,
aggregation_node=aggregation_node,
clean_models=False,
num_rounds=NUM_ROUNDS,
)


- Due to the two above features, many small breaking changes have been introduced, see the full [SubstraFL changelog](https://github.com/Substra/substrafl/blob/main/CHANGELOG.md) to get the comprehensive list of changes.

Substra 0.35.0 --- 2024-02-26
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Expand Down
32 changes: 32 additions & 0 deletions docs/source/additional/releases.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,38 @@ components: # for table headers
- substra-tests

releases:
- version: 0.36.0
components:
substrafl:
version: 0.44.0
link: https://github.com/Substra/substrafl/releases/tag/0.44.0
substra:
version: 0.51.0
link: https://github.com/Substra/substra/releases/tag/0.51.0
substra-tools:
version: 0.21.2
link: https://github.com/Substra/substra-tools/releases/tag/0.21.2
substra-backend:
version: 0.44.0
link: https://github.com/Substra/substra-backend/releases/tag/0.44.0
helm:
version: 24.4.0
link: https://artifacthub.io/packages/helm/substra/substra-backend/24.4.0
orchestrator:
version: 0.39.0
link: https://github.com/Substra/orchestrator/releases/tag/0.39.0
helm:
version: 8.3.0
link: https://artifacthub.io/packages/helm/substra/orchestrator/8.3.0
substra-frontend:
version: 0.48.0
link: https://github.com/Substra/substra-frontend/releases/tag/0.48.0
helm:
version: 1.0.27
link: https://artifacthub.io/packages/helm/substra/substra-frontend/1.0.27
substra-tests:
version: 0.48.0
link: https://github.com/Substra/substra-tests/releases/tag/0.48.0
- version: 0.35.0
components:
substrafl:
Expand Down

0 comments on commit 7b471f7

Please sign in to comment.