#304304th of 433 in ML frameworks and libraries
titans-pytorch
Unofficial PyTorch implementation of the Titans neural memory architecture
Watch puts titans-pytorch on your watch list: its new releases and known problems since your last visit. Kept in this browser, no account.titans-pytorch is on your watch list. Its new releases and problems show there.
- Stars
- 2k
- License
- MIT
- Last commit
- Nov 2026
- Last release
- Feb 2026
- Language
- Python
1,933 on 28 Apr 20262,014 on 24 Nov 2026
From GitHub's daily star counts.
Checked on GitHub.
Overview
PyTorch implementation of the Titans paper's test-time-learned neural memory, installable as `titans-pytorch`. It provides a standalone `NeuralMemory` layer and a `MemoryAsContextTransformer` (MAC configuration) with persistent and long-term memory tokens. It also holds experiments with memory architectures beyond the paper's 1-4 layer MLP.
Who it is for: ML researchers experimenting with test-time memory and long-context models
Strengths
- Standalone `NeuralMemory` layer usable separately from the transformer
- Includes a MAC transformer with sampling and a `train_mac.py` experiment script
- Installable from PyPI with `pip install titans-pytorch`
- MIT license, with a Colab notebook for a quick run
Weaknesses
- Unofficial implementation, not from the paper's authors
- Research code: no benchmarks or pretrained weights listed
- Training is done by editing `train_mac.py`; no config or CLI
- Documentation is limited to two usage snippets
What it needs
- Needs PyTorch, uv
What changed
From the release notes. No flag means the note does not say so, not that the upgrade is safe. Releases and problems by RSS
Also in ML frameworks and libraries
See all 433| Rank | Project | Score |
|---|---|---|
| #302 | maniskillGPU-parallelized robot simulation and learning framework for manipulation tasks | 42 out of 100 |
| #303 | tensorflow/recommendersKeras-based library for building TensorFlow recommender models | 42 out of 100 |
| #305 | opentsnePython t-SNE library with FIt-SNE and Barnes-Hut for large datasets | 42 out of 100 |
| #306 | flashkdaCUTLASS-based CUDA kernels for Kimi Delta Attention forward pass | 42 out of 100 |
| #307 | deepchemPython library for deep learning on molecules, materials and biological data | 41 out of 100 |