py_experimenter icon indicating copy to clipboard operation
py_experimenter copied to clipboard

Feature Requests: Add new experiment, and start immidiately

Open LukasFehring opened this issue 1 year ago • 0 comments

  • PyExperimenter version: Any
  • Database provider: Any
  • Python version: Any
  • Operating System: Any

Description

Currently, the only supported workflow is first adding (all) experiments to the database, followed by starting workers that repeatedly pull from the database. However, in cases where slum handles the creation of jobs, it might be useful to add functionality that allows adding one job to the database (already in status running), and instantly starting its execution. This would allow the combining of existing software such as Hydra and slurm with by experimenter.

Proposed Solution:

Add experimenter function called add_experiment_and_execute that takes one instance of type dict (comparable to fill_table_with_rows), adds it to the database, and immediately starts execution of the experiment function.

LukasFehring avatar Apr 15 '24 09:04 LukasFehring