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

Update MaskedLMHead to support dtype=bfloat16/float16/float64. #1196

Closed
wants to merge 1 commit into from

Conversation

g-dspencer
Copy link

Inspired by keras-team/keras@397ad57
i.e. using the idiom (?) of dtype=self._dtype_policy.

This is to fix #1195

@g-dspencer
Copy link
Author

Sorry - let me start over.

@g-dspencer g-dspencer closed this Aug 4, 2023
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.

MaskedLMHead should support dtype=bfloat16
1 participant