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

add momentum optimizer and test FP32 AMP PureFP16 #4

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

pangyoki
Copy link

@pangyoki pangyoki commented Nov 26, 2020

In Bert SST-2 finetune task:

  • change AdamW optimizer to Momentum optimizer ( for using multi_precision in Pure Fp16 training)

  • use run_glue_fp32.sh, run_glue_amp.sh, run_glue_pure_fp16.sh to run FP32, AMP or Pure FP16 version.

  • you may need to use cast if it occurs LayerNorm or matmul dtype ERROR

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.

1 participant