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

mixed precision #77

Open
caishiqing opened this issue Sep 28, 2020 · 3 comments
Open

mixed precision #77

caishiqing opened this issue Sep 28, 2020 · 3 comments

Comments

@caishiqing
Copy link

It seems that the package dose not support mixed precision training, since the Embedding layer needs add operating with output and embedding parameters, which dtype are 'float32' and 'float16' leading to a dtype error "TypeError: Input 'y' of 'AddV2' Op has type float16 that does not match type float32 of argument 'x'.".
Is there any plane to fix this?

@jeisinge
Copy link

It is interesting to note that we were able to use mixed-precision training before with TF 1.15 and TF Estimator. With TF 2.3 and Keras, we are seeing this same error.

@callzhang
Copy link

Any updates on this?

1 similar comment
@leviswind
Copy link

Any updates on this?

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

4 participants