AltHub

pytorch/pytorch Alternatives

deep learning framework / tensor computation

PyTorch is a Python deep learning framework offering GPU-accelerated tensor computation and dynamic neural networks via a tape-based autograd system.

102.7kPythonNOASSERTIONactive · last push 1mo agoGitHub

Drop-in peers

Same problem, same approach. Swapping one for another is a config change, not a rewrite.

Oneflow-Inc/oneflowGitHub

choose if you need a PyTorch-like framework with different performance/scalability characteristics and recent maintenance.

OneFlow is a deep learning framework designed to be user-friendly, scalable and efficient.

9.4k
C++
Apache-2.0
slowing10mo ago

Same job, different approach

Solves the same problem with a different architecture or at a different layer. Expect to rewrite the integration.

chelsea0x3b/dfdxGitHub

choose if you need a Rust deep learning library with compile-time shape checking, despite its stale maintenance.

Deep learning in Rust, with shape checked tensors and neural networks

1.9k
Rust
NOASSERTION
dormant2.2y ago
flashlight/flashlightGitHub

choose if you need a lightweight C++ machine learning library with no Python requirement for research or embedded settings.

A C++ standalone library for machine learning

5.5k
C++
MIT
active4mo ago
deepjavalibrary/djlGitHub

choose if you need a Java/JVM deep learning framework with engine-agnostic backend support.

An Engine-Agnostic Deep Learning Framework in Java

4.8k
Java
Apache-2.0
active1mo ago
google-deepmind/dm-haikuGitHub

choose if you build on JAX and want a Sonnet-like neural network module library.

JAX-based neural network library

3.3k
Python
Apache-2.0
active1mo ago
tracel-ai/burnGitHub

choose if you want a modern Rust deep learning framework with emphasis on flexibility and portability.

Burn is a next generation tensor library and Deep Learning Framework that doesn't compromise on flexibility, efficiency and portability.

15.8k
Rust
Apache-2.0
active1mo ago
mratsim/ArraymancerGitHub

choose if you want a Nim tensor library with deep learning support for CPU, GPU, and embedded devices.

A fast, ergonomic and portable tensor library in Nim with a deep learning focus for CPU, GPU and embedded devices via OpenMP, Cuda and OpenCL backends

1.4k
Nim
Apache-2.0
active4mo ago

Older generation, or narrower

An earlier or more limited way to do the job. Still the right call when you need something small, proven, or CPU-only.

MegEngine/MegEngineGitHub

choose if you want a PyTorch-like framework with Chinese-first docs and are willing to use a codebase that is no longer actively maintained (last push >18 months).

MegEngine 是一个快速、可拓展、易于使用且支持自动求导的深度学习框架

4.8k
C++
Apache-2.0
dormant1.9y ago
chainer/chainerGitHub

choose for legacy Chainer codebases or if you specifically need the original define-by-run API that predates PyTorch.

A flexible framework of neural networks for deep learning

5.9k
Python
MIT
dormant3.1y ago

Listed as an alternative to

These projects were analysed and named pytorch among their alternatives. The relationship is not symmetric — how pytorch rates them is a separate judgement, made when pytorch is analysed in its own right.

Oneflow-Inc/oneflowGitHub

calls pytorch “choose when you want the largest ecosystem, most active community, and mature tooling in deep learning”

OneFlow is a deep learning framework designed to be user-friendly, scalable and efficient.

9.4kC++slowing
keras-team/kerasGitHub

calls pytorch “Choose when you need dynamic, imperative programming with strong research community and lower-level control.”

Deep Learning for humans

64.3kPythonactive
tensorflow/tfjsGitHub

calls pytorch “when you need a Python-based DL framework with dynamic computation graphs and broader ecosystem than JS.”

A WebGL accelerated JavaScript library for training and deploying ML models.

19.1kTypeScriptactive
tracel-ai/burnGitHub

calls pytorch “Choose when you want the dominant Python framework with a huge ecosystem and dynamic graphs.”

Burn is a next generation tensor library and Deep Learning Framework that doesn't compromise on flexibility, efficiency and portability.

15.8kRustactive