Ross ROSS = Recommend OSS · open-source software intelligence for agents

facebookresearch/theseus

A library for differentiable nonlinear optimization observed · 2026-08-28

github.com/facebookresearch/theseus · Python · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

23/100

  • Activity 1
  • Release rhythm 8
  • Longevity 100
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: 1749
  • days_rel: 721
  • days_push: 594
  • n_releases_24m: 1

Full methodology

Adoption not part of the score

2055 stars · 148 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

Theseus is a PyTorch-based library for building custom differentiable nonlinear optimization layers, supporting problems in robotics and vision as end-to-end differentiable architectures. It combines neural models with expert domain-specific differentiable models, differentiating through optimizers like Gauss-Newton and Levenberg-Marquardt.

Use cases

  • differentiate through nonlinear least squares solvers in pytorch
  • build end-to-end differentiable optimization layers for robotics
  • train neural networks with optimization-based inductive priors
  • solve bundle adjustment with gradients flowing to neural components
  • implement bilevel optimization with implicit differentiation
  • combine learned models with expert differentiable cost functions

When to choose

  • you need gradients through an optimizer inside a PyTorch training loop
  • you work on robotics or vision problems like SLAM, pose estimation, or bundle adjustment
  • you want to embed domain priors as differentiable cost functions alongside neural networks

When to avoid

  • you need a general-purpose standalone nonlinear optimizer without gradients
  • your project does not use PyTorch
  • you need real-time embedded optimization without a deep learning framework

Facets

library · maturity active

machine-learning deep-learning simulation math robotics computer-vision machine-learning deep-learning python cross-platform differentiable-optimization nonlinear-least-squares pytorch gauss-newton levenberg-marquardt implicit-differentiation bilevel-optimization embodied-ai factor-graphs algorithms gpu

1 source

Member repositories

RepositoryRoleHealth v2
facebookresearch/theseusmain23

For agents

markdown · JSON · MCP: product_card(name="facebookresearch/theseus")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem