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

Enable parallel mode for the OptimizationSolver. #184

Merged
merged 69 commits into from
Mar 9, 2023
Merged

Conversation

GaboFGuerra
Copy link
Collaborator

@GaboFGuerra GaboFGuerra commented Feb 20, 2023

Issue Number: #170

Objective of pull request: As a user of the OptimizationSolver I want to run the CPU Optimization solver with many parallel configurations running simultaneously to get higher solution probability and a lower time to solution.

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 (pyb) passes locally
  • Build tests (pyb -E unit) or (python -m unittest) passes locally

Pull request type

Please check your PR type:

  • Feature

What is the current behavior?

  • OptimizationSolver runs a single instance per problem and hyperparameter set.

What is the new behavior?

  • Many replicas of the SNN defined by the solver process are created according to the number of hyperparameter sets passed by the user.

Does this introduce a breaking change?

  • No

Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com>
Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com>
Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com>
Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com>
Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com>
Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com>
Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com>
Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com>
…allelization.

Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com>
…ording to parallelization level.

Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com>
Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com>
Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com>
Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com>
Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com>
Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com>
Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com>
Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com>
Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com>
Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com>
@GaboFGuerra GaboFGuerra linked an issue Feb 20, 2023 that may be closed by this pull request
9 tasks
@GaboFGuerra GaboFGuerra marked this pull request as ready for review February 21, 2023 12:44
Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com>
@GaboFGuerra GaboFGuerra changed the title Parallelization Add Parallelization mode to the OptimizationSolver. Feb 21, 2023
@GaboFGuerra GaboFGuerra changed the title Add Parallelization mode to the OptimizationSolver. Add parallelization mode to the OptimizationSolver. Feb 21, 2023
@GaboFGuerra GaboFGuerra changed the title Add parallelization mode to the OptimizationSolver. Enable parallel mode for the OptimizationSolver. Feb 21, 2023
GaboFGuerra and others added 3 commits February 21, 2023 14:26
Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com>
Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com>
Signed-off-by: GaboFGuerra <gabriel.guerra@intel.com>
GaboFGuerra and others added 28 commits February 27, 2023 16:33
Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com>
Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com>
Signed-off-by: Marcus G K Williams <Marcus G K Williams 168222+mgkwill@users.noreply.github.com>
…y created class.

Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com>
Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com>
Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com>
Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com>
…y created class.

Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com>
Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com>
Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com>
Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com>
Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com>
Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com>
Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com>
Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com>
Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com>
Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com>
Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com>
Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com>
Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com>
@GaboFGuerra GaboFGuerra merged commit bbca8fb into main Mar 9, 2023
@AlessandroPierro AlessandroPierro deleted the parallelization branch July 6, 2023 07:29
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Parallel execution mode of the CPU OptimizationSolver
3 participants