hasktorch/hasktorch
Tensors and neural networks in Haskell observed · 2026-08-28
Health v2 · maintenance only
76/100
- Activity 98
- Release rhythm 35
- Longevity 100
Flags: no_releases no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3280
- days_rel: n/a
- days_push: 14
- n_releases_24m: 0
Adoption not part of the score
1211 stars · 125 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Hasktorch is a Haskell library for tensor math and neural networks, built on bindings to the C++ libtorch libraries that power PyTorch. It provides GPU support, automatic differentiation, and type-safe functional programming abstractions for building differentiable programs.
Use cases
- build neural networks in Haskell
- train deep learning models with type-safe tensors
- do automatic differentiation in a functional language
- run tensor computations on GPU with CUDA or MPS
- research differentiable programming in Haskell
When to choose
- you are a Haskell developer wanting to do machine learning
- you want type-level guarantees on tensor shapes and models
- you prefer functional programming idioms for neural network composition
- you want PyTorch-backed performance without leaving Haskell
When to avoid
- you need a mature ecosystem with many pretrained models and tutorials
- your team works primarily in Python
- you need production ML tooling with broad community support
- you cannot tolerate evolving APIs during active development
Facets
library · maturity active
machine-learning deep-learning math machine-learning deep-learning cross-platform haskell tensors neural-networks libtorch pytorch-bindings automatic-differentiation cuda functional-programming linux macos gpu
3 sources
- readme: https://github.com/hasktorch/hasktorch · fetched 2026-08-28 · 5c5a1256ad8b
- homepage: http://hasktorch.org · fetched 2026-08-29 · 25ac4572e2d9
- site_page: http://hasktorch.org/docs.html · fetched 2026-08-29 · bfac5abc67ec
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| hasktorch/hasktorch | main | 76 |
For agents
markdown · JSON · MCP: product_card(name="hasktorch/hasktorch")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem