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
11b075db
"docs/git@developer.sourcefind.cn:change/sglang.git" did not exist on "10d60cd41bb520d2cbd16f577f6d60f578e3ab4a"
Commit
11b075db
authored
May 09, 2022
by
Antoine Kaufmann
Browse files
experiments: add missing default attributes in ExpEnv constructor
parent
2e582061
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
experiments/simbricks/experiments.py
experiments/simbricks/experiments.py
+2
-0
No files found.
experiments/simbricks/experiments.py
View file @
11b075db
...
@@ -319,6 +319,8 @@ class ExperimentDistributedRunner(ExperimentBaseRunner):
...
@@ -319,6 +319,8 @@ class ExperimentDistributedRunner(ExperimentBaseRunner):
class
ExpEnv
(
object
):
class
ExpEnv
(
object
):
def
__init__
(
self
,
repo_path
,
workdir
,
cpdir
):
def
__init__
(
self
,
repo_path
,
workdir
,
cpdir
):
self
.
create_cp
=
False
self
.
pcap_file
=
''
self
.
repodir
=
os
.
path
.
abspath
(
repo_path
)
self
.
repodir
=
os
.
path
.
abspath
(
repo_path
)
self
.
workdir
=
os
.
path
.
abspath
(
workdir
)
self
.
workdir
=
os
.
path
.
abspath
(
workdir
)
self
.
cpdir
=
os
.
path
.
abspath
(
cpdir
)
self
.
cpdir
=
os
.
path
.
abspath
(
cpdir
)
...
...
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