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
ColossalAI
Commits
57929a62
Unverified
Commit
57929a62
authored
Dec 30, 2022
by
Ziyue Jiang
Committed by
GitHub
Dec 30, 2022
Browse files
fix type of num_worker_threads (#2237)
Co-authored-by:
Ziyue Jiang
<
ziyue.jiang@gmail.com
>
parent
db4cbdc7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
colossalai/pipeline/rpc/utils.py
colossalai/pipeline/rpc/utils.py
+1
-1
No files found.
colossalai/pipeline/rpc/utils.py
View file @
57929a62
...
...
@@ -151,5 +151,5 @@ def parse_args():
parser
.
add_argument
(
'--device'
,
type
=
str
,
choices
=
[
'cpu'
,
'cuda'
],
default
=
'cuda'
)
parser
.
add_argument
(
'--master_addr'
,
type
=
str
,
default
=
'localhost'
)
parser
.
add_argument
(
'--master_port'
,
type
=
str
,
default
=
'29020'
)
parser
.
add_argument
(
'--num_worker_threads'
,
type
=
str
,
default
=
128
)
parser
.
add_argument
(
'--num_worker_threads'
,
type
=
int
,
default
=
128
)
return
parser
.
parse_args
()
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