Skip to content

Factory function that converts PyLoihi process models to PyAsync models on the fly#595

Merged
bamsumit merged 48 commits intolava-nc:mainfrom
bamsumit:asyncwrapper
Feb 2, 2023
Merged

Factory function that converts PyLoihi process models to PyAsync models on the fly#595
bamsumit merged 48 commits intolava-nc:mainfrom
bamsumit:asyncwrapper

Conversation

@bamsumit
Copy link
Copy Markdown
Contributor

@bamsumit bamsumit commented Feb 1, 2023

Issue Number: 594

Objective of pull request:
Addition of a factory function that converts PyLoihi process models to PyAsync models on the fly.

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?

  • User needs to rewrite the PyAsync behavior again.

What is the new behavior?

  • PyAsync model is automatically generated.

Does this introduce a breaking change?

  • Yes
  • No

Supplemental information

bamsumit and others added 30 commits March 8, 2022 10:23
Signed-off-by: bamsumit <[email protected]>
@bamsumit bamsumit merged commit 83df172 into lava-nc:main Feb 2, 2023
@bamsumit
Copy link
Copy Markdown
Contributor Author

bamsumit commented Feb 2, 2023

I've filed an issue for windows #600

monkin77 pushed a commit to monkin77/thesis-lava that referenced this pull request Jul 12, 2024
…ls on the fly (lava-nc#595)

* update refport unittest to always wait when it writes to port for consistent behavior

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

* Removed pyproject changes

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

* Fix to convolution tests. Fixed imcompatible mnist_pretrained for old python versions.

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

* Missing moudle parent fix

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

* Added ConvVarModel

* Loihi 2 Async implemented

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

* Removed vestigial run_spk in LIF models

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

* unittest added

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

* Forcing multiprocessing to always fork to avoid pikcling error  on Windows

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

* Forcing multiprocessing to always fork to avoid pikcling error on Windows

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

* ForRemoved forced  multiprocessing fork

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

* Linting fix

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

* Forcing multiprocessing to always fork to avoid pikcling error on Mac

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

* Removed support for windows

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

---------

Signed-off-by: bamsumit <[email protected]>
Co-authored-by: Joyesh Mishra <[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.

4 participants