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
OpenDAS
Fairseq
Commits
78071e0f
Commit
78071e0f
authored
Sep 12, 2018
by
Myle Ott
Browse files
Fix type of c10d bucket size
parent
862cad11
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
fairseq/options.py
fairseq/options.py
+1
-1
No files found.
fairseq/options.py
View file @
78071e0f
...
@@ -187,7 +187,7 @@ def add_distributed_training_args(parser):
...
@@ -187,7 +187,7 @@ def add_distributed_training_args(parser):
help
=
'which GPU to use (usually configured automatically)'
)
help
=
'which GPU to use (usually configured automatically)'
)
group
.
add_argument
(
'--no-c10d'
,
action
=
'store_true'
,
group
.
add_argument
(
'--no-c10d'
,
action
=
'store_true'
,
help
=
'don
\'
t use c10d distributed backend'
)
help
=
'don
\'
t use c10d distributed backend'
)
group
.
add_argument
(
'--c10d-bucket-cap-mb'
,
default
=
150
,
metavar
=
'MB'
,
group
.
add_argument
(
'--c10d-bucket-cap-mb'
,
default
=
150
,
type
=
int
,
metavar
=
'MB'
,
help
=
'bucket size for c10d backend'
)
help
=
'bucket size for c10d backend'
)
return
group
return
group
...
...
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