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

lucidrains/titans-pytorch

Unofficial implementation of Titans, SOTA memory for transformers, in Pytorch observed · 2026-10-21

github.com/lucidrains/titans-pytorch · Python · MIT (permissive) observed · 2026-10-21

Health v2 · maintenance only

64/100

  • Activity 84
  • Release rhythm 50
  • Longevity 46
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-10-21. Adoption (stars, forks) is never an input.

  • gap_med: 0.0
  • age_days: 650
  • days_rel: 253
  • days_push: 99
  • n_releases_24m: 161

Full methodology

Adoption not part of the score

1996 stars · 210 forks observed · 2026-10-21

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

An unofficial PyTorch implementation of the Titans architecture, a neural long-term memory module for transformers that learns to memorize at test time. It provides the NeuralMemory module and a MemoryAsContextTransformer for training and sampling.

Use cases

  • implement the Titans neural memory architecture in pytorch
  • train a transformer with long-term memory at test time
  • experiment with memory-as-context transformer architectures
  • research test-time training and linear attention memory
  • build transformers that handle very long sequences

When to choose

  • you want to experiment with or reproduce the Titans paper in PyTorch
  • you need a drop-in neural memory module for custom transformer research
  • you are exploring architectures beyond standard attention for long contexts

When to avoid

  • you need a production-ready, officially supported LLM implementation
  • you want a pretrained model rather than components to train yourself
  • you need guaranteed fidelity to the paper since this is unofficial

Facets

library · maturity active

machine-learning deep-learning llm-training deep-learning large-language-models artificial-intelligence python transformers neural-memory test-time-training long-context research-implementation pytorch gpu

2 sources

Member repositories

RepositoryRoleHealth v2
lucidrains/titans-pytorchmain64

For agents

markdown · JSON · MCP: product_card(name="lucidrains/titans-pytorch")

Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem