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
a0c4ed76
Commit
a0c4ed76
authored
Aug 23, 2021
by
Rick Ho
Browse files
checkout to 0.2.1
parent
bba5f289
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
43 additions
and
2 deletions
+43
-2
doc/release-note.md
doc/release-note.md
+41
-0
setup.py
setup.py
+2
-2
No files found.
doc/release-note.md
View file @
a0c4ed76
## v0.2.1
## Load balancing
*
Fix gradient for balance loss.
## Misc
*
Typos.
*
Update benchmark interface.
*
Remove some redundant code for performance improvement.
*
Enable
`USE_NCCL`
by default.
*
Compatibility for PyTorch
`<1.8.0`
and
`>=1.8.0`
.
## Megatron adaption
*
Patch for numerical correctness of gradient clipping.
*
Support to pipeline parallelism.
## v0.2.0
## Load balancing
*
A brand new gate module with capacity-related utilities.
*
GShard's and Switch Transformer's balance strategies are implemented as integrated gates.
*
Balance loss is enabled.
*
Balance monitor is provided.
## Checkpointing
*
MoE models can be loaded and saved by fmoe's checkpointing module.
## Performance
*
FP16 training performance is improved.
## Misc
*
CUDA code directory is reconstructed.
*
More tests are added.
## v0.1.2
## v0.1.2
### Compilation
### Compilation
...
...
setup.py
View file @
a0c4ed76
...
@@ -15,7 +15,7 @@ authors = [
...
@@ -15,7 +15,7 @@ authors = [
'Qin Li'
,
'Qin Li'
,
]
]
if
os
.
environ
.
get
(
'USE_NCCL'
,
'
0
'
)
==
'1'
:
if
os
.
environ
.
get
(
'USE_NCCL'
,
'
1
'
)
==
'1'
:
cxx_flags
.
append
(
'-DFMOE_USE_NCCL'
)
cxx_flags
.
append
(
'-DFMOE_USE_NCCL'
)
ext_libs
.
append
(
'nccl'
)
ext_libs
.
append
(
'nccl'
)
...
@@ -23,7 +23,7 @@ if os.environ.get('USE_NCCL', '0') == '1':
...
@@ -23,7 +23,7 @@ if os.environ.get('USE_NCCL', '0') == '1':
if
__name__
==
'__main__'
:
if
__name__
==
'__main__'
:
setuptools
.
setup
(
setuptools
.
setup
(
name
=
'fastmoe'
,
name
=
'fastmoe'
,
version
=
'0.2.
0
'
,
version
=
'0.2.
1
'
,
description
=
'An efficient Mixture-of-Experts system for PyTorch'
,
description
=
'An efficient Mixture-of-Experts system for PyTorch'
,
author
=
', '
.
join
(
authors
),
author
=
', '
.
join
(
authors
),
author_email
=
'hja20@mails.tsinghua.edu.cn'
,
author_email
=
'hja20@mails.tsinghua.edu.cn'
,
...
...
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