"...composable_kernel.git" did not exist on "86ceded98b2c1f2be48edb61bedbcc38d2c5c290"
Commit ff954ae3 authored by Jonas Kaufmann's avatar Jonas Kaufmann Committed by Antoine Kaufmann
Browse files

None instead of 0 as default value for experiment timeout

parent 530eac0c
...@@ -44,13 +44,13 @@ class Experiment(object): ...@@ -44,13 +44,13 @@ class Experiment(object):
the experiment. the experiment.
""" """
def __init__(self, name: str, timeout: int = 0): def __init__(self, name: str):
self.name = name self.name = name
""" """
This experiment's name. Can be used to filter multiple experiments to be This experiment's name. Can be used to filter multiple experiments to be
run. run.
""" """
self.timeout = timeout self.timeout: tp.Optional[int] = None
"""Timeout for experiment in seconds.""" """Timeout for experiment in seconds."""
self.checkpoint = False self.checkpoint = False
"""Whether to use checkpoints in experiment. """Whether to use checkpoints in experiment.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment