MCPcopy Create free account
hub / github.com/Open-Quant/openquant / main

Function main

experiments/run_pipeline.py:194–208  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

192
193
194def 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
211if __name__ == "__main__":

Callers 1

run_pipeline.pyFile · 0.70

Calls 2

run_gridFunction · 0.85
runFunction · 0.85

Tested by

no test coverage detected