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
d2392de2
Unverified
Commit
d2392de2
authored
Aug 23, 2021
by
Rick Ho
Committed by
GitHub
Aug 23, 2021
Browse files
Merge pull request #70 from laekov/v0.2.1-rc1
Release v0.2.1
parents
8bd400d0
a0c4ed76
Changes
2
Hide 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 @
d2392de2
## 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
### Compilation
...
...
setup.py
View file @
d2392de2
...
...
@@ -15,7 +15,7 @@ authors = [
'Qin Li'
,
]
if
os
.
environ
.
get
(
'USE_NCCL'
,
'
0
'
)
==
'1'
:
if
os
.
environ
.
get
(
'USE_NCCL'
,
'
1
'
)
==
'1'
:
cxx_flags
.
append
(
'-DFMOE_USE_NCCL'
)
ext_libs
.
append
(
'nccl'
)
...
...
@@ -23,7 +23,7 @@ if os.environ.get('USE_NCCL', '0') == '1':
if
__name__
==
'__main__'
:
setuptools
.
setup
(
name
=
'fastmoe'
,
version
=
'0.2.
0
'
,
version
=
'0.2.
1
'
,
description
=
'An efficient Mixture-of-Experts system for PyTorch'
,
author
=
', '
.
join
(
authors
),
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