qmetrics.net

Skorch

Scikit-learn compatible PyTorch neural networks

Skorch is in maintenance mode: “This means it will be maintained in the future and some features may be added on occasion, but overall, feature development has stopped.” source

Skorch wraps PyTorch modules in an sklearn-style estimator so you can call fit, predict, and grid search like classical machine learning code.

Overview

Skorch bridges PyTorch and scikit-learn by exposing NeuralNetClassifier and related estimators that accept standard numpy inputs and integrate with sklearn pipelines, grid search, and scoring utilities. You define a torch.nn.Module, pass it to a Skorch net with training hyperparameters, and call familiar methods such as fit and predict_proba. Feature development has stopped, though the project will continue to be maintained and may add features on occasion. The project is in maintenance mode: overall feature development has stopped, but it will remain maintained and some features may be added on occasion.

Callbacks, learning rate schedules, scoring hooks, and Hugging Face integrations are documented online. Examples show multi-layer classifiers, preprocessing pipelines, and hyperparameter search without writing custom training loops.

Maintenance continues in a low-development stage: occasional features arrive but active feature expansion is limited. It remains useful when teams want PyTorch expressiveness inside sklearn workflows.

Install via pip or conda; examples rely on numpy, sklearn datasets, and torch tensors coerced to appropriate dtypes.

Key features

  • sklearn estimator interface
  • PyTorch module wrapping
  • Pipeline and GridSearchCV support
  • Training callbacks and schedulers
  • Hugging Face integration docs
  • NeuralNetClassifier API

Use cases

  • sklearn pipelines with torch models
  • Hyperparameter search on nets
  • Tabular classification baselines
  • Gradual move from sklearn to torch

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⟳ todayBSD-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⟳ 3 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⟳ todayApache-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⟳ todayMIT
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⟳ 2 days agoApache-2.0