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

How to use FP32 in uni-core? #10

Open
bearwithdog opened this issue Aug 16, 2022 · 1 comment
Open

How to use FP32 in uni-core? #10

bearwithdog opened this issue Aug 16, 2022 · 1 comment

Comments

@bearwithdog
Copy link

I noticed the example : https://github.com/dptech-corp/Uni-Core/blob/main/examples/bert/train_bert_test.sh
How could i use fp32 ?
Just remove --fp16 --fp16-init-scale 4 --fp16-scale-window 256.
Thanks!

@guolinke
Copy link
Member

yes, remove --fp16 (or --bf16)

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

No branches or pull requests

2 participants