Skip to content

pfnet/pytorch-pfn-extras

Folders and files

NameName
Last commit message
Last commit date

Latest commit

9c8570b · Mar 27, 2025
Nov 11, 2024
Mar 26, 2025
Nov 15, 2023
Mar 22, 2024
Mar 27, 2025
Jan 31, 2024
Mar 26, 2025
Jul 16, 2021
Jul 15, 2020
Oct 15, 2024
May 27, 2020
Jan 24, 2024
Nov 5, 2024
Jan 24, 2024
Oct 15, 2024
Nov 11, 2024
Oct 15, 2024
Nov 20, 2024

Repository files navigation

pytorch-pfn-extras

PyPI Docs License

Supplementary components to accelerate research and development in PyTorch.

Installation

pip install pytorch-pfn-extras

# Use `[onnx]` to use onnx submodule like:
#  pip install "pytorch-pfn-extras[onnx]"

### Optinal dependencies
# For PlotReport / VariableStatisticsPlot extensions
pip install matplotlib

# For IgniteExtensionsManager
pip install pytorch-ignite torchvision

# For CuPy interoperability (see: https://docs.cupy.dev/en/stable/install.html)
pip install cupy  # or cupy-cudaXXX

Requirements

  • Python 3.9+
  • PyTorch 1.13+

Optional dependencies:

  • CuPy 8.0+ for PyTorch/CuPy interoperatbility

Documentation

Refer to Read The Docs for the complete documentation.

Below are some quick-links to the most important features of the library.

Examples

Contribution Guide

You can contribute to this project by sending a pull request. After approval, the pull request will be merged by the reviewer.

Before making a contribution, please confirm that:

  • Code quality stays consistent across the script, module or package.
  • Code is covered by unit tests.
  • API is maintainable.

License

MIT License