Poutyne

Latest version: v1.17.1

Safety actively analyzes 613461 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 7

1.17.1

- Fix `_XLA_AVAILABLE` import with old versions of torchmetrics.
- Fix WandB tests.

1.17

- [`FBeta`](https://poutyne.org/metrics.html#poutyne.FBeta) is using the non-deterministic torch function [`bincount`](https://pytorch.org/docs/stable/generated/torch.bincount.html). Either by passing the argument `make_deterministic` to the [`FBeta`](https://poutyne.org/metrics.html#poutyne.FBeta) class or by using one of the PyTorch functions `torch.set_deterministic_debug_mode` or `torch.use_deterministic_algorithms`, you can now make this function deterministic. Note that this might make your code slower.

1.16

- Add `run_id` and `terminate_on_end` arguments to [MLFlowLogger](https://poutyne.org/callbacks.html#poutyne.MLFlowLogger).

Breaking change:

- In [MLFlowLogger](https://poutyne.org/callbacks.html#poutyne.MLFlowLogger), except for `experiment_name`, all arguments must now be passed as keyword arguments. Passing `experiment_name` as a positional argument is also deprecated and will be removed in future versions.

1.15

- Remove support for Python 3.7

1.14

- Update examples using classification metrics from torchmetrics to add the now required `task` argument.
- Fix the no LR scheduler bug when using PyTorch 2.0.

1.13

Breaking changes:

- The deprecated `torch_metrics` keyword argument has been removed. Users should use the `batch_metrics` or `epoch_metrics` keyword argument for torchmetrics' metrics.
- The deprecated `EpochMetric` class has been removed. Users should implement the [`Metric` class](https://poutyne.org/metrics.html#poutyne.Metric) instead.

Page 1 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.