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

ID Broadcast #821

Merged
merged 4 commits into from
Dec 15, 2023
Merged

ID Broadcast #821

merged 4 commits into from
Dec 15, 2023

Conversation

drager-intel
Copy link
Contributor

Issue Number:

Objective of pull request:

Pull request checklist

Your PR fulfills the following requirements:

  • Issue created that explains the change and why it's needed
  • Tests are part of the PR (for bug fixes / features)
  • Docs reviewed and added / updated if needed (for bug fixes / features)
  • PR conforms to Coding Conventions
  • PR applys BSD 3-clause or LGPL2.1+ Licenses to all code files
  • Lint (flakeheaven lint src/lava tests/) and (bandit -r src/lava/.) pass locally
  • Build tests (pytest) passes locally

Pull request type

Please check your PR type:

  • Bugfix
  • Feature
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • Documentation changes
  • Other (please describe):

What is the current behavior?

What is the new behavior?

-PR adds Id Broadcast, a Process that simply broadcasts whatever it integrates. This can be used to efficiently read out a 1-hot classification vector when the vector has all to one projections to ID broadcast. This Process is used in the CLP circuit and supports CLP code on the demo branch of lava-loihi.

Does this introduce a breaking change?

  • Yes
  • No

Supplemental information

@mgkwill mgkwill merged commit b166844 into lava-nc:demo Dec 15, 2023
5 of 6 checks passed
mgkwill added a commit that referenced this pull request Jul 25, 2024
* Conv inp var model created

Signed-off-by: bamsumit <[email protected]>

* Redesigned NcConvSpikeInVarModel

Signed-off-by: bamsumit <[email protected]>

* Mapper note added

Signed-off-by: bamsumit <[email protected]>

* Make ethernet chip id and idx configuration in Connection Config

* Update project for demo

Signed-off-by: Marcus G K Williams <Marcus G K Williams [email protected]>

* Pass connection config and remove eth interface hard coding in pyncchannel.py

* ID Broadcast (#821)

* id broadcast proc and model to support lava-loihi CLP

* fixed linting

---------

Co-authored-by: Marcus G K Williams <[email protected]>

* Update poetry.lock

Signed-off-by: Marcus G K Williams <Marcus G K Williams [email protected]>

* Remove poetry.lock

Signed-off-by: Marcus G K Williams <Marcus G K Williams [email protected]>

* Async Injector and Extractor models

Signed-off-by: bamsumit <[email protected]>

* Async Injector and Extractor models

Signed-off-by: bamsumit <[email protected]>

* Added advance to timestep call for asyncwrapper

Signed-off-by: bamsumit <[email protected]>

* Added advance to timestep call for asyncwrapper

Signed-off-by: bamsumit <[email protected]>

* Ethernet IO changes for Demo (#828)

* Conv inp var model created

Signed-off-by: bamsumit <[email protected]>

* Redesigned NcConvSpikeInVarModel

Signed-off-by: bamsumit <[email protected]>

* Mapper note added

Signed-off-by: bamsumit <[email protected]>

* Make ethernet chip id and idx configuration in Connection Config

* Pass connection config and remove eth interface hard coding in pyncchannel.py

* Async Injector and Extractor models

Signed-off-by: bamsumit <[email protected]>

* Async Injector and Extractor models

Signed-off-by: bamsumit <[email protected]>

* Added advance to timestep call for asyncwrapper

Signed-off-by: bamsumit <[email protected]>

* Added advance to timestep call for asyncwrapper

Signed-off-by: bamsumit <[email protected]>

---------

Signed-off-by: bamsumit <[email protected]>
Co-authored-by: Joyesh Mishra <[email protected]>

* model cashing from Joyesh

Signed-off-by: bamsumit <[email protected]>

* caching fixes

Signed-off-by: bamsumit <[email protected]>

* Update poetry.lock

Signed-off-by: Marcus G K Williams <Marcus G K Williams [email protected]>

* Update cache logic

Signed-off-by: Marcus G K Williams <Marcus G K Williams [email protected]>

* 10G ethernet switch patch from Harry (#854)

Signed-off-by: bamsumit <[email protected]>

* remove poetry.lock

Signed-off-by: Marcus G K Williams <Marcus G K Williams [email protected]>

* Update ci.yml

* Update ci.yml

* Update ci.yml

* Update ci.yml

* Update to latest in poetry.lock

Signed-off-by: Marcus G K Williams <Marcus G K Williams [email protected]>

* Fix CI for windows

Signed-off-by: Marcus G K Williams <Marcus G K Williams [email protected]>

* Update poetry deps

Signed-off-by: Marcus G K Williams <Marcus G K Williams [email protected]>

* Remove ununsed imports

Signed-off-by: Marcus G K Williams <Marcus G K Williams [email protected]>

* Fix flakeheaven issues

Signed-off-by: Marcus G K Williams <Marcus G K Williams [email protected]>

* Fix mock name in test_compile_proc_groups

Signed-off-by: Marcus G K Williams <Marcus G K Williams [email protected]>

* Remove whitespace fix lint

Signed-off-by: Marcus G K Williams <Marcus G K Williams [email protected]>

* Fix indent for lint in channel_map.py

Signed-off-by: Marcus G K Williams <Marcus G K Williams [email protected]>

* Fix codacy issue

Signed-off-by: Marcus G K Williams <Marcus G K Williams [email protected]>

---------

Signed-off-by: bamsumit <[email protected]>
Signed-off-by: Marcus G K Williams <Marcus G K Williams [email protected]>
Co-authored-by: bamsumit <[email protected]>
Co-authored-by: Joyesh Mishra <[email protected]>
Co-authored-by: Marcus G K Williams <Marcus G K Williams [email protected]>
Co-authored-by: Danielle Rager <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants