Skip to content

[Question] Configuring Experiment #389

Answered by jgbos
mbignotti asked this question in Q&A
Discussion options

You must be logged in to vote

First, you may have realized I deleted a comment where I accidently replied to @rsokl comment, this replaces that with a fix to a user error I had.


Thanks for asking this @mbignotti. This is definitely something we should have in our docs. @rsokl I'll take a cut at this using our latest features zen and store. Here's the code:

from dataclasses import dataclass

from hydra_zen import MISSING, make_config, store, to_yaml, zen

# Here we utilize hydra-zen's `store` to
# add configurations to the Hydra ConfigStore

# First create stores for each group
db_store = store(group="db")
server_store = store(group="server")
experiment_store = store(group="experiment")


# add to named configurations…

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@jgbos
Comment options

@rsokl
Comment options

@mbignotti
Comment options

@rsokl
Comment options

Answer selected by rsokl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants