qmetrics.net

PyTorch

Python tensor and deep learning library with GPU acceleration

PyTorch screenshot

PyTorch is a Python package for GPU-backed tensor math and tape-based automatic differentiation. It includes flexible neural network building blocks for research and production workflows.

Overview

PyTorch is a Python package for numerical computing and deep learning. It offers tensor operations comparable to NumPy, with tensors that can run on CPU or GPU, and builds neural networks on a tape-based autograd system for automatic differentiation.

Core pieces include the torch tensor library, torch.autograd for differentiable operations, torch.nn for network modules integrated with autograd, torch.multiprocessing for shared tensor memory across processes, and torch.utils with DataLoader and related helpers. You can combine it with NumPy, SciPy, Cython, and custom C or C++ extensions.

Networks are defined imperatively: execution follows your code line by line, and reverse-mode autograd lets you change network behavior without rebuilding a fixed graph. Accelerated backends draw on libraries such as Intel MKL and NVIDIA cuDNN and NCCL for CPU and GPU work.

Install wheels or conda packages on Linux, macOS, or Windows, or build from source with optional CUDA, ROCm, or Intel GPU support. Pre-built Docker images are available, and the ecosystem includes TorchScript, TorchServe, torch.distributed, and related community projects for vision, NLP, and graphs.

Typical uses include GPU-accelerated scientific tensor code as an alternative to NumPy-only workflows, and flexible deep learning experiments where dynamic network structure matters.

Key features

  • CPU and GPU tensor operations
  • Tape-based automatic differentiation
  • torch.nn neural network modules
  • DataLoader and training utilities
  • Multiprocessing with shared tensors
  • TorchScript and TorchServe paths
  • Distributed training via torch.distributed
  • Python and C/C++ extension APIs

Use cases

  • GPU-accelerated tensor and linear algebra
  • Deep learning research with dynamic graphs
  • Training with multi-process data loading
  • Production deployment with TorchServe
  • Distributed model training

Tags

Similar software

scikit-learn

Python toolkit for classical machine learning

scikit-learn provides algorithms and utilities for classification, regression, clustering, and model selection in Python. It builds on NumPy and SciPy.

  • Classification and regression estimators
  • Clustering and dimensionality reduction
  • Model selection and cross-validation
PythonDetails →
★ 68.5k⟳ yesterdayBSD-3-Clause

whisper.cpp

Portable C/C++ inference for Whisper speech recognition

Whisper.cpp runs OpenAI Whisper ASR with a dependency-light C/C++ core and CLI tools. It targets CPUs and many GPU and NPU accelerators across common operating systems.

  • Plain C/C++ Whisper implementation
  • Integer quantization for smaller models
  • Metal, CUDA, Vulkan, and OpenVINO backends
C++DockerDetails →
★ 55.9k⟳ 4 days agoMIT

AirLLM

Layer-streaming inference for huge models on small GPUs

AirLLM loads one transformer layer at a time so very large language models can infer or fine-tune on GPUs with only a few gigabytes of VRAM.

  • Single-layer GPU residency
  • AutoModel for many HF architectures
  • Optional 4-bit or 8-bit compression
Jupyter NotebookDetails →
★ 43.9k⟳ yesterdayApache-2.0

DeepSpeed

PyTorch distributed training and inference optimizations

DeepSpeed is a Python library that speeds large-model training and inference with ZeRO memory optimizations, parallelism modes, and MoE support. Install via pip with JIT-built CUDA ops.

  • ZeRO and ZeRO-Infinity memory sharding
  • 3D and tensor parallelism options
  • Mixture-of-experts training support
PythonWindowsDetails →
★ 43.4k⟳ yesterdayApache-2.0

Faiss

Library for dense vector similarity search and clustering

Indexes and searches large sets of embedding vectors with CPU or GPU backends. Python and C++ APIs support exact and approximate nearest-neighbor methods.

  • Dense vector indexes
  • L2 and inner product search
  • Approximate and exact methods
C++Details →
★ 42k⟳ yesterdayMIT
Open Source Alternative to:Pinecone

Colossal-AI

Distributed deep learning parallelization toolkit

Colossal-AI is a PyTorch-oriented toolkit for training and inferencing large models with data, pipeline, and tensor parallelism. It targets cheaper, faster large-scale AI on clusters or single GPUs.

  • Data pipeline tensor parallelism
  • Heterogeneous memory manager
  • Config-file driven parallelism
PythonLinux, CLIDetails →
★ 41.4k⟳ 3 days agoApache-2.0