Pytorch-pfn-extras

Latest version: v0.8.1

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

Scan your dependencies

Page 4 of 7

0.5.8

Enhancements and bug-fixes

This release includes the following enhancements and bug fixes:

- Enable to use multiple optimizers in `CodeBlock` 533 (thanks mhiroaki!)
- Add documentation for `_RuntimeRegistry` and `CodeBlock` 523
- Fix onnx export of `torch.cat` for pfto 531 (thanks take-cheeze!)
- Add `profiler` option to `create_trainer` to allow using [torch.profiler](https://pytorch.org/docs/stable/profiler.html) in Trainer #527


See the list of [merged pull-requests](https://github.com/pfnet/pytorch-pfn-extras/pulls?q=is%3Apr+is%3Aclosed+milestone%3Av0.5.8) for the details.

0.5.7

Enhancements and bug-fixes

This release includes the following enhancements and bug fixes:

- Add a pure python `torch.onnx.export` implementation 484 (thanks take-cheeze!)
- Best observation extension 518 (thanks belltailjp!)
- Add `check_grad` option to `FailOnNonNumber` extension 502

Backward-incompatible changes

- Change `out_dir` to better reflect the fs needs (in order to improve the interoperability with `_PosixFileSystem` manager) 486

This changes the default value of `out_dir` to `''` (which means the current directory) instead of `None` when creating the Writer objects. **If you create a Writer instance without specifying the `out_dir` argument and passing it to an Extension, the output directory will no longer be inherited from the Trainer. Please consider specifying `out_dir` when creating a Writer instance.**

See the list of [merged pull-requests](https://github.com/pfnet/pytorch-pfn-extras/pulls?q=is%3Apr+is%3Aclosed+milestone%3Av0.5.7) for the details.

0.5.6

Enhancements and bug-fixes

This release includes the following enhancements and bug fixes:

- Support torch 1.10 (497, 413)
- Add helper function to initialize `torch.distributed` in OpenMPI environments (491)

Backward-incompatible changes

- Disable `profiler` by default in `Trainer` and `ExtensionsManager`. Now `enable_profile=True` kwarg is needed. (498)

See the list of [merged pull-requests](https://github.com/pfnet/pytorch-pfn-extras/pulls?q=is%3Apr+is%3Aclosed+milestone%3Av0.5.6) for the details.

0.5.5

Enhancements and bug-fixes

This release includes the following enhancements and bug fixes:

- Fixes a bug that prevented calling `on_error` in extensions when an exception happened (490).
- Open snapshot files in binary mode (483).
- Adds an `unstrip_tensor` script to improve compatibility with ONNX runtimes (477)
- Completes the typing support over the codebase.
- Corrects several minor issues with the training API.


See the list of [merged pull-requests](https://github.com/pfnet/pytorch-pfn-extras/pulls?q=is%3Apr+is%3Aclosed+milestone%3Av0.5.5) for the details.

0.5.4

Enhancements and bug-fixes

This release includes the following enhancements and bug fixes:

- Fixes the import error when `onnx` package is not installed

See the list of [merged pull-requests](https://github.com/pfnet/pytorch-pfn-extras/pulls?q=is%3Apr+is%3Aclosed+milestone%3Av0.5.4) for the details.

0.5.3

Enhancements and bug-fixes

This release includes the following enhancements and bug fixes:

- Adds a `CodeBlock` API to simplify writing custom `Logic` classes (426).
- Fixes bugs related to `Writer` objects termination and Tensorboard cleanup.
- Improves typing support over the codebase.
- Store `ppe.__version__` in snapshot and warn if the version is different.

Backward-incompatible changes

- Mandatory use of `ppe.to` for Trainer APIs. Now an explicit call `ppe.to` is needed in the scripts before running the trainer.

See the list of [merged pull-requests](https://github.com/pfnet/pytorch-pfn-extras/pulls?q=is%3Apr+is%3Aclosed+milestone%3Av0.5.3) for the details.

Page 4 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.