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

[QUBO] Minor improvements #283

Merged
merged 40 commits into from
Mar 1, 2024
Merged

[QUBO] Minor improvements #283

merged 40 commits into from
Mar 1, 2024

Conversation

phstratmann
Copy link
Contributor

@phstratmann phstratmann commented Jan 11, 2024

Objective of pull request:
This PR enables readout of the QUBO solution via spikeIO. This is required to scale to multi-chip systems.
Please note that this PR adds a fully new QUBOSolver class with corresponding Process and Model. It thus does not change the OptimizationSolver class.
For review, I would suggest to start with the QUBOSolver class, and then look into QUBOSolverProcess and QUBOSolverModel.
Has a corresponding PR in lava-on-loihi.

New features/advantages of this PR:

  • No eCPU involved. Thus, fast, efficient, scalable.
  • QUBO solver has a flattened, clear hierarchy. Full cleanup of technical debt.

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

  • Feature
  • Refactoring (no functional changes, no api changes)

@phstratmann phstratmann changed the title [QUBO] Readout via spikeIO [QUBO] Readout via spikeIO for multi-chip support Jan 23, 2024
@phstratmann phstratmann self-assigned this Jan 23, 2024
@AlessandroPierro AlessandroPierro removed the 0-needs-review Has to be reviewed. label Feb 6, 2024
Copy link
Collaborator

@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.

Since you agree on another chat to move the flagged files to lava-loihi, I'll add the proper review of these there alongside the rest of the code. Feel free to merge once these files are removed here and added there.

AlessandroPierro and others added 4 commits February 8, 2024 08:12
Co-authored-by: Philipp Stratmann <phstratmann@users.noreply.github.com>
Co-authored-by: Philipp Stratmann <phstratmann@users.noreply.github.com>
@phstratmann phstratmann reopened this Feb 29, 2024
@phstratmann phstratmann changed the title [QUBO] Readout via spikeIO for multi-chip support [QUBO] Minor improvements Feb 29, 2024
Copy link
Collaborator

@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.

Well done!

@phstratmann phstratmann merged commit ce2c270 into main Mar 1, 2024
4 checks passed
@phstratmann phstratmann deleted the qubo_readout branch March 1, 2024 09:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1-feature New feature or request 2-important/urgent
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants