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
FastMoE
Commits
b294221d
Unverified
Commit
b294221d
authored
Nov 10, 2021
by
Rick Ho
Committed by
GitHub
Nov 09, 2021
Browse files
update setup.py to be compatible with torch v1.10.0 (#88)
parent
acf8bec8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
setup.py
setup.py
+1
-0
No files found.
setup.py
View file @
b294221d
...
@@ -22,6 +22,7 @@ if torch.__version__ >= '1.5':
...
@@ -22,6 +22,7 @@ if torch.__version__ >= '1.5':
if
os
.
environ
.
get
(
'USE_NCCL'
,
'1'
)
==
'1'
:
if
os
.
environ
.
get
(
'USE_NCCL'
,
'1'
)
==
'1'
:
cxx_flags
.
append
(
'-DFMOE_USE_NCCL'
)
cxx_flags
.
append
(
'-DFMOE_USE_NCCL'
)
cxx_flags
.
append
(
'-DUSE_C10D_NCCL'
)
if
is_rocm_pytorch
:
if
is_rocm_pytorch
:
ext_libs
.
append
(
'rccl'
)
ext_libs
.
append
(
'rccl'
)
else
:
else
:
...
...
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