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

Changes to lava-dl to reflect api changes in lava 0.4.0 #88

Merged
merged 19 commits into from
Jul 25, 2022

Conversation

bamsumit
Copy link
Contributor

@bamsumit bamsumit commented Jul 22, 2022

Issue Number: 87

Objective of pull request:
Fix lava-dl netx CPU execution broken changes.

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?

  • Uses older lava api which is broken since lava 0.4.0 and beyond.

What is the new behavior?

  • All the unittests and tutorials work. Additional unittests added.

Does this introduce a breaking change?

  • Yes
  • No

Supplemental information

@bamsumit bamsumit linked an issue Jul 22, 2022 that may be closed by this pull request
12 tasks
Signed-off-by: bamsumit <[email protected]>
Signed-off-by: bamsumit <[email protected]>
Signed-off-by: bamsumit <[email protected]>
Copy link

@tim-shea tim-shea left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

pyproject.toml Show resolved Hide resolved
Copy link

@GaboFGuerra GaboFGuerra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks Sumit, looks good. Left a few comments here and there, but nothing critical.

src/lava/lib/dl/netx/blocks/process.py Show resolved Hide resolved
src/lava/lib/dl/netx/blocks/process.py Show resolved Hide resolved
src/lava/lib/dl/netx/blocks/process.py Show resolved Hide resolved
src/lava/lib/dl/netx/hdf5.py Show resolved Hide resolved
src/lava/lib/dl/netx/hdf5.py Outdated Show resolved Hide resolved
src/lava/lib/dl/netx/hdf5.py Outdated Show resolved Hide resolved
src/lava/lib/dl/netx/hdf5.py Show resolved Hide resolved
tests/lava/lib/dl/netx/test_blocks.py Show resolved Hide resolved
tests/lava/lib/dl/netx/test_hdf5.py Show resolved Hide resolved
@bamsumit
Copy link
Contributor Author

Thanks Sumit, looks good. Left a few comments here and there, but nothing critical.

Thanks @GaboFGuerra, made changes to address your comments.

@bamsumit bamsumit merged commit 9ddcafd into lava-nc:main Jul 25, 2022
@bamsumit bamsumit deleted the netx_update branch July 25, 2022 14:47
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.

Broken changes with lava 0.4.0
4 participants