Avoid “config monsters” by limiting new runtime knobs and centralizing stable defaults. Only add CLI/config parameters when they materially change behavior across experiments; otherwise, bake them into the existing config (or the run script) and reuse current config locations rather than introducing new config modules for a few constants. For evaluation-critical settings, explicitly pin values and avoid hidden coupling between constants.
Apply:
VAL_SHARD_INDEX = 1822) rather than tying them indirectly to other values that might change.choices) so invalid settings fail fast.Example (CLI boundary + baked/stable defaults):
import argparse
parser = argparse.ArgumentParser()
parser.add_argument('--device', type=str, default='cuda', choices=['mps','cuda'])
# Keep eval config explicit and stable
VAL_SHARD_INDEX = 1822
Enter the URL of a public GitHub repository