INNER CODE UNIT · Python
default
erikbern/ann-benchmarks · ann_benchmarks/main.py:112
default=2 * 3600,
)
parser.add_argument(
"--local",
action="store_true",
help="If set, then will run everything locally (inside the same " "process) rather than using Docker",
)
parser.add_argument("--batch", action="store_true", help="If set, algorithms get all queries at once")
parser.add_argument(
"--max-n-algorithms", type=int, help="Max number of algorithms to run (just used for testing)", default=-1
)
parser.add_argument("--run-disabled", help="run algorithms that are disabled in algos.yml", action="store_true")
parser.add_argument("--parallelism", type=positive_int, help="Number of Docker containers in parallel", default=1)
args = parser.parse_args()
if args.timeout == -1:
args.timeout = None
return args