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

Multi-backend Parallel execution mode of the OptimizationSolver #162

Open
3 of 4 tasks
GaboFGuerra opened this issue Jan 17, 2023 · 0 comments
Open
3 of 4 tasks

Multi-backend Parallel execution mode of the OptimizationSolver #162

GaboFGuerra opened this issue Jan 17, 2023 · 0 comments
Assignees
Labels
1-feature New feature or request 2-important/urgent

Comments

@GaboFGuerra
Copy link
Collaborator

GaboFGuerra commented Jan 17, 2023

User Story

As a user of the OptimizationSolver I want the Optimization solver with many parallel configurations running simultaneously to get higher solution probability and a lower time to solution on both Loihi2 and CPU backends.

Conditions of satisfaction

  • User can explicitly invoke the number of parallel copies of the solver network in SolverConfig.
  • At runtime, the network state is read from the network with the best cost.
  • The user can give the solver a set of hyperparameters in SolverConfig which parameterize each copy of the network solver.

Acceptance Tests

For Loihi2 and CPU backends

  • Number of parallel copies of the network in SolverConfig results in an equivalent number of SNN CostIntegrator copies on the SolverProcess and SolverModel.
  • ReadGate's RefPorts for solution readout and spike counters for cost reading are equal the number of copies of the network.
  • Solver network and solution readout processes are correctly connected.
  • The input set of hyperparameters are correctly propagated and distributed into the solver network copies.
  • At runtime, the network state is read from the network with the best cost.

Tasks

Lava version:

  • 0.3.0 (feature release)

I'm submitting a ...

  • feature request

Other information:

insert the output from lava debug here
@GaboFGuerra GaboFGuerra added 1-feature New feature or request 2-important/urgent labels Jan 17, 2023
@GaboFGuerra GaboFGuerra added this to the lava-optimization 0.3.0 milestone Jan 17, 2023
@GaboFGuerra GaboFGuerra self-assigned this Jan 17, 2023
@github-actions github-actions bot added the 0-needs-review Has to be reviewed. label Jan 17, 2023
@GaboFGuerra GaboFGuerra changed the title Implement the parallel execution mode of the OptimizationSolver Parallel execution mode of the OptimizationSolver Jan 20, 2023
@mathisrichter mathisrichter added 0-needs-work and removed 0-needs-review Has to be reviewed. labels Jan 24, 2023
@GaboFGuerra GaboFGuerra changed the title Parallel execution mode of the OptimizationSolver Parallel execution mode of the OptimizationSolver only with random initialization Jan 24, 2023
@GaboFGuerra GaboFGuerra changed the title Parallel execution mode of the OptimizationSolver only with random initialization Parallel execution mode of the OptimizationSolver Jan 24, 2023
@GaboFGuerra GaboFGuerra changed the title Parallel execution mode of the OptimizationSolver Multibackend Parallel execution mode of the OptimizationSolver Jan 24, 2023
@GaboFGuerra GaboFGuerra changed the title Multibackend Parallel execution mode of the OptimizationSolver Multi-backend Parallel execution mode of the OptimizationSolver Jan 24, 2023
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

No branches or pull requests

2 participants