• Home
  • News
  • Preferred Networks Deepens Collaboration with PyTorch Community


Preferred Networks Deepens Collaboration with PyTorch Community

Releases first PyTorch library pytorch-pfn-extras; Optuna officially joins PyTorch Ecosystem


TOKYO – May 12, 2020 – Preferred Networks, Inc. (PFN) today released pytorch-pfn-extras, an open-source library that supports research and development in deep learning using PyTorch. The new library is part of PFN’s ongoing effort to strengthen its ties with the PyTorch developer community as well as Optuna™, the open-source hyperparameter optimization framework for machine learning, which recently joined the PyTorch Ecosystem. 


The pytorch-pfn-extras library includes several popular Chainer™ functions from user feedback during PFN’s transition from the Chainer deep learning framework to PyTorch.

pytorch-pfn-extras includes the following features:

  • Extensions and reporter

Functions frequently used when implementing deep learning training programs, such as collecting metrics during training and visualizing training progress

  • Automatic inference of parameter sizes

Easier network definitions by automatically inferring the sizes of linear or convolution layer parameters via input sizes

  • Distributed snapshots

Reduce the costs of implementing distributed deep learning with automated backup, loading, and generation management of snapshots

pytorch-pfn-extras is available at: https://github.com/pfnet/pytorch-pfn-extras 

The migration guide from Chainer to PyTorch can also be found at: https://medium.com/pytorch/migration-from-chainer-to-pytorch-8ed92c12c8 

On April 6, Optuna was added to the PyTorch Ecosystem of tools that are officially endorsed by the PyTorch community for use in PyTorch-based machine learning and deep learning research and development.


PFN is discussing merging pytorch-pfn-extras features into the PyTorch base build with the PyTorch development team at Facebook, Inc. In response to strong demand from both internal and external users, PFN also aims to release a PyTorch version of the deep reinforcement learning library, ChainerRL, as open-source software by the end of June 2020.  

PFN aims to continue leveraging its software technology it has accumulated through the development of Chainer to contribute to the development of PyTorch and the open-source community.

The PyTorch team at Facebook commented:

“We appreciate PFN for contributing important Chainer functions, such as gathering metrics and managing distributed snapshots, through pytorch-pfn-extras. With this newly available library, PyTorch developers have the ability to understand their model performances and optimize training costs. We look forward to continued collaboration with PFN to bring more contributions to the community, like ChainerRL capabilities later this summer.”


Contact us here.