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

Fixed dtype error when mixed precision was off #1310

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

Conversation

bryanlyon
Copy link
Contributor

When you first try to run a model with some types of layers (such as a modified Phaze-A) without enabling mixed precision, the model can fail to train because the layer wasn't assigned a dtype. To prevent a crash when this happens, we've switched the the config.get function to make sure we get a valid response if no dtype was set.

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.

None yet

2 participants