#8585th of 126 in ML frameworks and libraries

skorch

scikit-learn compatible wrapper for training PyTorch models

Stars
6.2k
License
BSD-3-Clause
Last commit
Oct 2026
Last release
May 2026
Language
Jupyter Notebook
Stars, last 30 weeks+54
3 Apr 2026: 6,131 stars10 Apr 2026: 6,132 stars17 Apr 2026: 6,136 stars24 Apr 2026: 6,139 stars1 May 2026: 6,145 stars8 May 2026: 6,146 stars15 May 2026: 6,146 stars22 May 2026: 6,148 stars29 May 2026: 6,150 stars5 Jun 2026: 6,152 stars12 Jun 2026: 6,155 stars19 Jun 2026: 6,156 stars26 Jun 2026: 6,156 stars3 Jul 2026: 6,157 stars10 Jul 2026: 6,161 stars17 Jul 2026: 6,162 stars24 Jul 2026: 6,163 stars31 Jul 2026: 6,166 stars7 Aug 2026: 6,167 stars14 Aug 2026: 6,168 stars21 Aug 2026: 6,169 stars28 Aug 2026: 6,172 stars4 Sept 2026: 6,175 stars11 Sept 2026: 6,177 stars18 Sept 2026: 6,178 stars25 Sept 2026: 6,179 stars2 Oct 2026: 6,179 stars9 Oct 2026: 6,180 stars16 Oct 2026: 6,183 stars23 Oct 2026: 6,183 stars30 Oct 2026: 6,185 stars

6,131 on 3 Apr 20266,185 on 30 Oct 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

skorch wraps PyTorch modules in estimators such as NeuralNetClassifier, so they expose fit, predict_proba and set_params and work inside sklearn Pipeline and GridSearchCV. It adds callbacks for LR scheduling, early stopping, checkpointing, parameter freezing and sklearn scoring, plus integrations with GPyTorch and Hugging Face.

Who it is for: Python ML engineers who use scikit-learn tooling with PyTorch models

Strengths

  • Drop-in sklearn API: Pipeline and GridSearchCV work with PyTorch modules
  • Callbacks for early stopping, checkpointing, LR schedulers and sklearn scoring
  • Documented integrations with GPyTorch and Hugging Face
  • Officially supports the last four minor PyTorch versions

Weaknesses

  • PyTorch is not a declared dependency; users must install a matching version
  • Requires Python 3.9 or higher
  • Conda package is maintained by conda-forge, not the skorch maintainers
  • PyTorch only; no other tensor backends

What it needs

  • GPU optional
  • Docker
  • Needs PyTorch, scikit-learn
  • Models: PyTorch nn.Module, Hugging Face, GPyTorch

Quick answers

Is skorch open source?

Yes. Its code is on GitHub under the BSD-3-Clause license.

Can you run skorch with Docker?

Yes. Its repository has a Docker setup: a Dockerfile, a Compose file or a published image.

Does skorch need a GPU?

No. It runs on a CPU and can use a GPU when you have one.

Also in ML frameworks and libraries

See all 126
Also in ML frameworks and libraries
RankProjectScore
1pytorchPython tensor library with GPU support and tape-based autograd for deep learning105.1k starscustom license95 out of 100
2transformersPython library defining open models for text, vision, audio and multimodal tasks168.4k starsApache-2.094 out of 100
3ultralyticsPython library and CLI for training and running YOLO vision models63k starsAGPL-3.093 out of 100
#4pytorch-image-modelsPyTorch library of image models, pretrained weights and reference training scripts37.3k starsApache-2.093 out of 100
#5supervisionPython toolkit for loading, annotating and counting computer vision detections Live demo ↗ (opens in a new tab)51.4k starsMIT91 out of 100