Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[mthreads] bert_hf 1x8 #350

Merged
merged 4 commits into from
Dec 11, 2023
Merged

[mthreads] bert_hf 1x8 #350

merged 4 commits into from
Dec 11, 2023

Conversation

mingyuanw-mt
Copy link
Contributor

No description provided.

| ------------------ | --------- | ---- | ---- | ---- | ---- | ---- | ---- | ---- |
| S4000单机单卡(1x1) | fp32 | bs=20, lr=2.5e-05 | | | | | | /48.0 |
| S4000单机单卡(1x1) | amp | bs=20, lr=2.5e-05 | | | | | | 35.0/48.0 |
| S4000单机8卡(1x8) | fp32 | bs=16 | | | | | | |
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

请填写acc和mem数据

| ------------------ | --------- | ---- | ---- | ---- | ---- | ---- | ---- | ---- |
| S4000单机单卡(1x1) | fp32 | bs=20, lr=2.5e-05 | | | | | | /48.0 |
| S4000单机单卡(1x1) | amp | bs=20, lr=2.5e-05 | | | | | | 35.0/48.0 |
| S4000单机8卡(1x8) | fp32 | bs=16 | | | | | | |
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1x8配置中,精度 是amp

@mingyuanw-mt
Copy link
Contributor Author

Please take a further look at training/mthreads/bert_hf-pytorch/config/environment_variables.sh @yuzhou03 @shh2000 , just in case communication overrun.

@upvenly upvenly merged commit 5dfb723 into FlagOpen:main Dec 11, 2023
shh2000 added a commit that referenced this pull request Dec 21, 2023
* [kunlunxin] fix tacotron2 running error and add 1x1 & 2x8 config (#346)

* [kunlunxin] fix tacotron2 running error and add 1x1 & 2x8 config

* [kunlunxin] modify tacotron2 test_config

* [kunlunxin] update tacotron2 readme

* [kunlunxin] modify tacotron2 torch.load()

* [iluvatar] swin_transformer-pytorch 1x1 2x8 (#340)

* update iluvatar/swin_transformer-pytorch

* update

* update

* update

* fix batch size mistake in readme

* correct val_loss to final acc1

* add finnal_acc1 and mem in readme

* correct readme mem

---------

Co-authored-by: 魏杰 <jie.wei@iluvatar.com>
Co-authored-by: 杨智超 <zhichao.yang@iluvatar.com>
Co-authored-by: clveryang <yangclver@gmail.com>

* fix get_system_info for iluvatar_monitor (#351)

Co-authored-by: zhouyu <zhouyu@baai.ac.cn>

* update iluvatar mobilenetv2 config (#356)

Co-authored-by: sen.li <sen.li@iluvatar.com>

* Update README.md (#357)

* Update README.md

* Update README.md

* [iluvatar] bertlarge inference case (#353)

* iluvatar bertlarge MLM inference case

* update ixrt readme

---------

Co-authored-by: 杨智超 <zhichao.yang@iluvatar.com>

* [mthreads] bert_hf 1x8 (#350)

* support bert_hf fp32/amp/bf16 training for mthreads

* update readme

* prevent overrun

* 1x1/2x8 not support

* 【mthreads】【block】resnet50 training (#246)

* support resnet50 training on mthreads

* fix typo

* support rn50 amp training on mthreads

* add test config (should revert this commit)

* update config & readme

* add get_system_info fn

* update

* 1x1/2x8 not support

---------

Co-authored-by: Zhou Yu <zycosmos@gmail.com>

* fix llama, add TFLOPS log (#358)

* fixllama

* add t/tflops

* [mthreads] deepspeed llama2

* update readme for sdpa

---------

Co-authored-by: jamesruio <44098605+jamesruio@users.noreply.github.com>
Co-authored-by: swish swish <62273738+cloud9wj@users.noreply.github.com>
Co-authored-by: 魏杰 <jie.wei@iluvatar.com>
Co-authored-by: 杨智超 <zhichao.yang@iluvatar.com>
Co-authored-by: clveryang <yangclver@gmail.com>
Co-authored-by: Zhou Yu <zycosmos@gmail.com>
Co-authored-by: zhouyu <zhouyu@baai.ac.cn>
Co-authored-by: forestlee95 <82379785+forestlee95@users.noreply.github.com>
Co-authored-by: sen.li <sen.li@iluvatar.com>
Co-authored-by: uuup <55571217+upvenly@users.noreply.github.com>
Co-authored-by: clveryang <50865584+clveryang@users.noreply.github.com>
Co-authored-by: mingyuanw-mt <130545727+mingyuanw-mt@users.noreply.github.com>
Co-authored-by: shh2000 <13820618441@163.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants