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 optional consolidation of multiple yaml files into one #73

Open
danrgll opened this issue Apr 25, 2024 · 2 comments
Open

Enable optional consolidation of multiple yaml files into one #73

danrgll opened this issue Apr 25, 2024 · 2 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@danrgll
Copy link
Collaborator

danrgll commented Apr 25, 2024

To streamline configuration management, we could consolidate multiple YAML configurations—such as pipeline_space, custom_searcher, and others—into a single run_args file. Instead of referencing these configurations, they would be defined directly under their respective keys within run_args. This approach would simplify setup and can enhance usability by allowing users to manage all settings from one centralized file.

Note: This consolidation could be optional, not removing the existing functionalities.

@danrgll danrgll mentioned this issue Apr 25, 2024
12 tasks
@danrgll danrgll self-assigned this Apr 25, 2024
@danrgll danrgll added the enhancement New feature or request label Apr 25, 2024
@Neeratyoy
Copy link
Contributor

Can you give an illustration or example or snippet of how you are visualizing the final feature?

@danrgll
Copy link
Collaborator Author

danrgll commented May 3, 2024

Exemplary idea:

run_args:
  # run_pipeline provided via neps.run()
  # or
  run_pipeline:
    path: "<path_to_run_pipeline>"
    name: "<name_of_run_pipeline>"

  pipeline_space: "pipeline_space.yaml"
  # or
  pipeline_space:
    epochs:
      lower: 1
      upper: 6
      log: True
    optimizer:
      choices: [ "adam", "sgd", "adamw" ]
    constant:
      value: 3

  root_directory: "my_directory"
  max_evaluations_total: 20
  post_run_summary: True
  searcher: "bayesian_optimization.yaml"
  # or
  searcher:
    algorithm: bayesian_optimization
    initial_design_size: 7
    surrogate_model: gp
    acquisition: EI
    log_prior_weighted: false
    acquisition_sampler: random
    random_interleave_prob: 0.1
    disable_priors: false
    prior_confidence: high
    sample_default_first: false

@eddiebergman eddiebergman added this to the Declaritive milestone May 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants