()
| 192 | |
| 193 | |
| 194 | def main() -> None: |
| 195 | parser = argparse.ArgumentParser(description="Run reproducible OpenQuant pipeline experiment") |
| 196 | parser.add_argument("--config", type=Path, required=True, help="Path to TOML config") |
| 197 | parser.add_argument( |
| 198 | "--grid-config", |
| 199 | type=Path, |
| 200 | default=None, |
| 201 | help="Optional TOML file with [[runs]] parameter overrides for multi-run sweeps", |
| 202 | ) |
| 203 | parser.add_argument("--out", type=Path, default=Path("experiments/artifacts"), help="Artifacts root") |
| 204 | args = parser.parse_args() |
| 205 | if args.grid_config is not None: |
| 206 | run_grid(args.config, args.grid_config, args.out) |
| 207 | else: |
| 208 | run(args.config, args.out) |
| 209 | |
| 210 | |
| 211 | if __name__ == "__main__": |
no test coverage detected