Hey Alberto, I hope all is well. It’s nice to see you’re still working with this stuff. A simple way to do this would have been to use the original population to create the assembly you want. You could then record it and print it. All of the other PyNN stuff on top of that is just syntactic sugar. It’s one of the reasons I stick with population connection lists.
-Chris
From: spinnak...@googlegroups.com <spinnak...@googlegroups.com>
On Behalf Of Alberto Arturo Vergani
Sent: 27 July 2022 15:55
To: SpiNNaker Users Group <spinnak...@googlegroups.com>
Subject: [SpiNNaker Mailing List] Assembly function in sPyNNaker
Dear expert.
--
Hi,
Just to add that connection lists can be problematic on SpiNNaker due to the need for these to be loaded on to the machine directly, where other connector types can be generated on the machine, after only loading the connection descriptions. For reasonably simple connectivity this is fine, but as the networks get bigger with more connection, this can end up being slow to load. How much that matters to you depends on what you are doing of course, and whether there are connectors implemented that support what you want to do.
An alternative to this is that we now support PopulationView objects on SpiNNaker. This would then let you do a similar thing with having a single big Population, and then you can create PopulationView objects into that Population that really represent the underlying groupings that you want to connect. You can then create Projections between the PopulationView objects with normal connectors such as the FixedProbabilityConnector or OneToOneConnector and the details are handled by the software, including generation of the connections on the machine even between these sub-populations.
Additionally note that the latest git version of the software can take advantage of the Population objects (not the PopulationView objects as yet). These are then grouped in such a way as to make it easier to do routing between Populations on the machine, which helps a lot in very big networks. Because of this, if the only advantage of using a single Population is to record the data in a single unit, it may be better to instead handle the data from multiple Population objects to ensure that the mapping on to the hardware is as efficient as possible.
Andrew :)
To view this discussion on the web, visit https://groups.google.com/d/msgid/spinnakerusers/AS8PR01MB80925373415F429166A43920B6969%40AS8PR01MB8092.eurprd01.prod.exchangelabs.com.