forked from FlagOpen/FlagPerf
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[kunlunxin] transformer model, fix running error (FlagOpen#337)
* [kunlunxin] transformer model, fix running error xacc args install dlloger compatibility with newer numpy xpu1*1, xpu2*8 config * [kunlunxin] update property info of transformer-pytorch with kunlunxin * [kunlunxin] transformer model, remove save/load checkpoint * [kunlunxin] transformer model, update README --------- Co-authored-by: chenrui22 <chenrui22@baidu.com> Co-authored-by: Zhou Yu <zycosmos@gmail.com>
- Loading branch information
1 parent
ced2419
commit 25d4d36
Showing
8 changed files
with
49 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 6 additions & 0 deletions
6
training/kunlunxin/transformer-pytorch/config/config_R300x1x1.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
from config_common import * | ||
|
||
max_tokens = 8192 | ||
max_epoch = 30 | ||
max_update = 6500 | ||
lr = [0.000846] |
6 changes: 6 additions & 0 deletions
6
training/kunlunxin/transformer-pytorch/config/config_R300x2x8.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
from config_common import * | ||
|
||
max_tokens = 8192 | ||
max_epoch = 30 | ||
max_update = 3000 | ||
lr = [0.000846] |
2 changes: 2 additions & 0 deletions
2
training/kunlunxin/transformer-pytorch/config/environment_variables.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
export XACC=1 | ||
export XACC_ARGS="-L O0 -Lamp" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
sacrebleu | ||
dllogger |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters