Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multi-chip population spikes #226

Merged
merged 5 commits into from Jul 8, 2019
Merged

Multi-chip population spikes #226

merged 5 commits into from Jul 8, 2019

Conversation

@hunse
Copy link
Collaborator

@hunse hunse commented Jun 7, 2019

Allow population spikes between chips. This allows convolutional connections from chip to chip.

@hunse
Copy link
Collaborator Author

@hunse hunse commented Jun 20, 2019

We can use probes with population axons with this change, so we should enable and test that:

assert len(block.probes) == 0

Loading

@hunse hunse force-pushed the pop-spikes-multichip branch from 0870deb to 62e1d39 Jun 25, 2019
@hunse
Copy link
Collaborator Author

@hunse hunse commented Jun 25, 2019

I noticed that in test_conv_connection, the ensemble is off-chip, when it should be on-chip. However, there are a few other minor improvements needed for this, namely #232 and allowing neuron slices (which is done in the DVS stuff somewhere).

Loading

This allows population axons between chips, fewer problems when using
probes with population axons, and greatly simplifies axon building.
@hunse hunse force-pushed the pop-spikes-multichip branch 4 times, most recently from 1d3b265 to 3e7bb07 Jun 27, 2019
Copy link
Member

@drasmuss drasmuss left a comment

I don't really know the nxsdk population axon system well enough to evaluate the implementation, but I trust that the unit tests are at least assuring us that nothing is real broken 😄. Just some minor comments, otherwise looks good!

Loading

nengo_loihi/builder/connection.py Outdated Show resolved Hide resolved
Loading
nengo_loihi/builder/connection.py Show resolved Hide resolved
Loading
nengo_loihi/hardware/builder.py Outdated Show resolved Hide resolved
Loading
nengo_loihi/block.py Outdated Show resolved Hide resolved
Loading
@hunse hunse mentioned this pull request Jul 4, 2019
1 task
hunse and others added 4 commits Jul 8, 2019
This allows much larger connections where the weights are diagonal
(e.g. connecting 500 neurons to 500 neurons with a scalar transform).
Also explain why probing the `pre` of such a connection
is not supported.
@drasmuss drasmuss force-pushed the pop-spikes-multichip branch from 650c797 to 39ec612 Jul 8, 2019
Copy link
Member

@drasmuss drasmuss left a comment

Looks good!

Loading

@drasmuss drasmuss merged commit 39ec612 into master Jul 8, 2019
3 checks passed
Loading
@drasmuss drasmuss deleted the pop-spikes-multichip branch Jul 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants