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

Implement unscaled LIF process to enable hardware consistency #829

Open
tim-shea opened this issue Jan 17, 2024 · 0 comments
Open

Implement unscaled LIF process to enable hardware consistency #829

tim-shea opened this issue Jan 17, 2024 · 0 comments
Labels
0-needs-review For all new issues 1-feature New feature request

Comments

@tim-shea
Copy link
Contributor

User story

As an application developer, I want to build networks with LIF that behave the same across CPU and Loihi 2 backend, without needing to be re-parameterized. The Loihi 2 process model for LIF currently implements parameter scaling inside the DASM and at the NcProcessModel level, both of which are not very helpful or necessary and can be very confusing to users.

See #579 for background.

Conditions of satisfaction

  • There is a LIF-like process (e.g. could be called UnscaledLIF or LIF2 or something to maintain backwards compatibility) which implements standard leaky integrate-and-fire dynamic and doesn't apply any hardware-specific scaling of parameters.
  • Behavior should be consistent to within a fixed-point approximation across Loihi 2 and CPU backends. Does not need to be compatible with Loihi 2 hard-coded pipeline.

Acceptance tests

  • Create a "NewLIF" process with some parameters (e.g. du=0.5, dv=0.1, vth=1.0), run it with Loihi2SimCfg and Loihi2HwCfg and some random input, show that output (v, spk) is approximately equal.
@tim-shea tim-shea added the 1-feature New feature request label Jan 17, 2024
@github-actions github-actions bot added the 0-needs-review For all new issues label Jan 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0-needs-review For all new issues 1-feature New feature request
Projects
None yet
Development

No branches or pull requests

1 participant