Skip to content

Optimizer dev#20

Merged
hhslepicka merged 27 commits intoocelot-collab:optimizer-devfrom
sergey-tomin:optimizer-dev
Dec 10, 2019
Merged

Optimizer dev#20
hhslepicka merged 27 commits intoocelot-collab:optimizer-devfrom
sergey-tomin:optimizer-dev

Conversation

@sergey-tomin
Copy link
Copy Markdown
Collaborator

  • added DeviceManager class as an intermediary between devices and Optimizer. it is needed to be able to run optimization with virtual devices.
  • added logger to some classes. need to catch some strange bug.
  • added petra and flash machine interfaces.
  • added changes to improve CLI to run a sequence of optimizations.
  • added example with a sequence of optimization

Copy link
Copy Markdown
Contributor

@hhslepicka hhslepicka left a comment

Choose a reason for hiding this comment

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

Thank you for the changes Sergey.
I am having a bit of problem understanding why do you need the device manager.
I get the idea of it I am just not sure how you will use it to accomplish what was written at the class docstring.
Let’s schedule a call for some time next week and go over the changes.

@hhslepicka
Copy link
Copy Markdown
Contributor

hhslepicka commented Dec 5, 2019

TODO before Merging:

  • Add mention at docstrings for MetaDevice stating that it is only to be used via scripted optimization and it is not valid for UI optimizations.
  • Rename at mint.py at line 246 -> self.dev_manager = MetaDevice() to match the new class name MetaDevice.

…ripted optimization and it is not valid for UI optimizations.

  Renamed at mint.py at self.meta_dev = MetaDevice() to match the new class name MetaDevice.
@sergey-tomin
Copy link
Copy Markdown
Collaborator Author

Thanks for remarks. Fixed and ready for merge. Please have a look.

@hhslepicka hhslepicka merged commit d30d361 into ocelot-collab:optimizer-dev Dec 10, 2019
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.

2 participants