Need help with nupic.torch?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

177 Stars 48 Forks GNU Affero General Public License v3.0 254 Commits 0 Opened issues


Numenta Platform for Intelligent Computing PyTorch libraries

Services available


Need anything else?

Contributors list

Numenta Platform for Intelligent Computing PyTorch libraries


This library integrates selected neuroscience principles from Hierarchical Temporal Memory (HTM) into the pytorch deep learning platform. The current code aims to replicate how sparsity is enforced via Spatial Pooling, as defined in the paper How Could We Be So Dense? The Benefits of Using Highly Sparse Representations.

For detail on the neuroscience behind these theories, read Why Neurons Have Thousands of Synapses, A Theory of Sequence Memory in Neocortex. For a description of Spatial Pooling in isolation, read Spatial Pooling (BAMI).

is named after the original HTM library, the Numenta Platform for Intelligent Computing (NuPIC).

Interested in contributing?


To install from local source code:

python develop

Or using conda:

conda env create


To run all tests:

python test


We've created a few jupyter notebooks demonstrating how to use nupic.torch with standard datasets. You can find these notebooks in the examples/ directory or if you prefer you can open them in Google Colab and start experimenting.

Having problems?

For any installation issues, please search our forums (post questions there). Report bugs here.

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.