Deep Learning and AI

50 Tools to Make Working with PyTorch Easier

January 14, 2022 • 9 min read

blog-50-Tools-to-Make-Working-with-PyTorch-Easier.png

An Overview of the PyTorch Ecosystem

PyTorch has been rapidly catching up to TensorFlow as a go-to framework for AI research. PyTorch is a machine learning library that Facebook AI Research Lab (FAIR) developed. It was first introduced in 2016 and is distributed on the BSD license as free, open-source software. Since TensorFlow was released by Google a couple years prior, PyTorch was always a little behind in adoption by researchers and engineers, but this has been changing as more researchers are finding PyTorch much easier to work with.

That being said, this is not an article that will debate the merits of one framework over the other, but rather will focus on PyTorch and the community that has grown up quickly around it.

As the PyTorch community continues to grow, and the use of the PyTorch framework finds its way into every industry, PyTorch users have developed a rich ecosystem of tools, libraries, and more to support, accelerate, and explore AI development.

pytorch_ecosystem.png

There are many out there, but in this article we will quickly go over a selection of 50 we find really interesting, along with links to their GitHub repos or websites.

  1. PyTorch Lightning: PyTorch Lighting is a lightweight PyTorch wrapper for high-performance AI research that aims to abstract Deep Learning boilerplate while providing you full control and flexibility over your code. With Lightning, you scale your models not the boilerplate.
  2. PopTorch: The PopTorch interface library is a simple wrapper for running PyTorch programs directly on Graphcore IPUs.
  3. BoTorch: BoTorch is a library for Bayesian Optimization. It provides a modular, extensible interface for composing Bayesian optimization primitives.
  4. Albumentations: Fast and extensible image augmentation library for different CV tasks like classification, segmentation, object detection and pose estimation.
  5. DeepSpeed: DeepSpeed is a deep learning optimization library that makes distributed training easy, efficient, and effective.
  6. MONAI: MONAI provides domain-optimized foundational capabilities for developing healthcare imaging training workflows.
  7. Flair: Flair is a very simple framework for state-of-the-art natural language processing (NLP).
  8. Lightly: Lightly is a computer vision framework for self-supervised learning.
  9. NeMo: NVIDIA NeMo is a conversational AI toolkit built for researchers working on automatic speech recognition (ASR), natural language processing (NLP), and text-to-speech synthesis (TTS). The primary objective of NeMo is to help researchers from industry and academia to reuse prior work (code and pretrained models and make it easier to create new conversational AI models.
  10. TextBrewer: A PyTorch-based knowledge distillation toolkit for natural language processing.
  11. OpenMMLab: OpenMMLab covers a wide range of computer vision research topics including classification, detection, segmentation, and super-resolution.
  12. PyKale: PyKale is a PyTorch library for multimodal learning and transfer learning with deep learning and dimensionality reduction on graphs, images, texts, and videos.
  13. fastai: fastai is a library that simplifies training fast and accurate neural nets using modern best practices.
  14. CrypTen: CrypTen is a framework for Privacy Preserving ML. Its goal is to make secure computing techniques accessible to ML practitioners.
  15. Glow: Glow is a ML compiler that accelerates the performance of deep learning frameworks on different hardware platforms.
  16. Horovod: Horovod is a distributed training library for deep learning frameworks. Horovod aims to make distributed DL fast and easy to use.
  17. Determined: Determined is a platform that helps deep learning teams train models more quickly, easily share GPU resources, and effectively collaborate.
  18. pytorchfi: A runtime fault injection tool for PyTorch.
  19. FairScale: FairScale is a PyTorch extension library for high performance and large-scale training on one or multiple machines/nodes.
  20. ParlAI: ParlAI is a unified platform for sharing, training, and evaluating dialog models across many tasks.
  21. VISSL: A library for state-of-the-art self-supervised learning.
  22. Pyro: Pyro is a universal probabilistic programming language (PPL) written in Python and supported by PyTorch on the backend.
  23. Clear ML: ClearML is a full system ML / DL experiment manager, versioning and ML-Ops solution.
  24. pystiche: pystiche is a framework for Neural Style Transfer (NST) built upon PyTorch.
  25. TorchIO: TorchIO is a set of tools to efficiently read, preprocess, sample, augment, and write 3D medical images in deep learning applications written in PyTorch.
  26. torchdrug: A powerful and flexible machine learning platform for drug discovery.
  27. skorch: skorch is a high-level library for PyTorch that provides full scikit-learn compatibility.
  28. Hydra: A framework for elegantly configuring complex applications.
  29. Ensemble-Pytorch: A unified ensemble framework for PyTorch to improve the performance and robustness of your deep learning model.
  30. PySyft: PySyft is a Python library for encrypted, privacy-preserving deep learning.
  31. AdverTorch: A toolbox for adversarial robustness research. It contains modules for generating adversarial examples and defending against attacks.
  32. einops: Flexible and powerful tensor operations for readable and reliable code.
  33. flower: A friendly Federated Learning Framework.
  34. MMF: A modular framework for vision & language multimodal research from Facebook AI Research (FAIR).
  35. Kornia: Kornia is a differentiable computer vision library that consists of a set of routines and differentiable modules to solve generic CV problems.
  36. Catalyst: Catalyst helps you write compact, but full-featured deep learning and reinforcement learning pipelines with a few lines of code.
  37. AdaptDL: AdaptDL is a resource-adaptive deep learning training and scheduling framework.
  38. Ray: Ray is a fast and simple framework for building and running distributed applications.
  39. ONNX Runtime: ONNX Runtime is a cross-platform inferencing and training accelerator.
  40. DGL: Deep Graph Library (DGL) is a Python package built for easy implementation of graph neural network model family, on top of PyTorch and other frameworks.
  41. GPyTorch: GPyTorch is a Gaussian process library implemented using PyTorch, designed for creating scalable, flexible Gaussian process models.
  42. PyTorchVideo: A deep learning library for video understanding research. Hosts various video-focused models, datasets, training pipelines and more.
  43. AllenNLP: AllenNLP is an open-source research library built on PyTorch for designing and evaluating deep learning models for NLP.
  44. TorchMetrics: Machine learning metrics for distributed, scalable PyTorch applications (from the PyTorch Lightning team).
  45. raster-vision: An open source framework for deep learning on satellite and aerial imagery.
  46. Transformers: State-of-the-art Natural Language Processing for PyTorch.
  47. Detectron2: Detectron2 is FAIR's next-generation platform for object detection and segmentation.
  48. torchgeo: Datasets, transforms, and models for geospatial data.
  49. PyTorch-NLP: Basic Utilities for PyTorch Natural Language Processing (NLP).
  50. PyTorch3D: PyTorch3D provides efficient, reusable components for 3D Computer Vision research with PyTorch.
  51. Hummingbird: Hummingbird compiles trained ML models into tensor computation for faster inference.

These are all extremely useful tools to help you focus on your research, rather than engineering a solution to try and get the results you want. The PyTorch website is an essential resource for any researcher, and you can click here for a full list of the PyTorch ecosystem that includes additional tools we didn’t cover here.

Have any questions? Feel free to contact us about using PyTorch with our Deep Learning, Machine Learning and AI systems.


Tags

pytorch

python

artificial intelligence

machine learning

ml

deep learning

ai

pytorch lightning

monai

fair

nemo

nlp

computer vision

federated learning

privacy



Related Content