Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ycai
simbricks
Commits
ff954ae3
"...composable_kernel.git" did not exist on "86ceded98b2c1f2be48edb61bedbcc38d2c5c290"
Commit
ff954ae3
authored
Jul 25, 2022
by
Jonas Kaufmann
Committed by
Antoine Kaufmann
Jul 29, 2022
Browse files
None instead of 0 as default value for experiment timeout
parent
530eac0c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
experiments/simbricks/experiments.py
experiments/simbricks/experiments.py
+2
-2
No files found.
experiments/simbricks/experiments.py
View file @
ff954ae3
...
@@ -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.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment