Modifying "shareable" status of the weights Var of a Dense layer #209
-
Hi All, I am currently trying to develop a process within LAVA. This process requires write access to the weights of a Dense layer, therefore I made a little change into the LAVA process of the Dense layer (at lava/src/lava/proc/dense/process.py) and set the Thanks a lot! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
Hello, and thanks for reaching out! Apologies for the delay in response; the whole Lava team has been working on a major update! It sounds like you made the weights Var of the Dense Process shareable, allowing you to connect a RefPort from another Process to the weights Var. This type of shared memory access will work fine when your Processes are implemented with PyProcModels and executed on a CPU. However, this approach to weight modification will not work on Loihi, as weights are not stored in shareable memory. This distinction should become clearer in the coming weeks, after we release support for NcProcModels that are run on Loihi. Once a network has been compiled for Loihi, you may only modify weights in 2 ways, ranked here in order of efficiency :
As I noted, support for NcProcModels and a learning engine simulator are being released very soon, and hopefully these will aid your simulations! Let us know if you have more questions in the interim |
Beta Was this translation helpful? Give feedback.
Hello, and thanks for reaching out! Apologies for the delay in response; the whole Lava team has been working on a major update! It sounds like you made the weights Var of the Dense Process shareable, allowing you to connect a RefPort from another Process to the weights Var. This type of shared memory access will work fine when your Processes are implemented with PyProcModels and executed on a CPU. However, this approach to weight modification will not work on Loihi, as weights are not stored in shareable memory. This distinction should become clearer in the coming weeks, after we release support for NcProcModels that are run on Loihi. Once a network has been compiled for Loihi, you may o…