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

Rename the enable_fp16_half() function to enable_fp16 #1900

Closed
wants to merge 6 commits into from

Conversation

xuzhao9
Copy link
Contributor

@xuzhao9 xuzhao9 commented Sep 15, 2023

We are renaming enable_fp16_half() to enable_fp16() because the amp fp16 is now named enable_amp_fp16(). This makes the naming of dargs-related functions cleaner.

It also implements the enable_fp16, enable_bf16, and enable_channels_last in a cleaner by utilizing the common inputs_cast function.

@xuzhao9 xuzhao9 temporarily deployed to docker-s3-upload September 18, 2023 22:34 — with GitHub Actions Inactive
@xuzhao9 xuzhao9 temporarily deployed to docker-s3-upload September 18, 2023 22:34 — with GitHub Actions Inactive
@facebook-github-bot
Copy link
Contributor

@xuzhao9 has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@facebook-github-bot
Copy link
Contributor

@xuzhao9 merged this pull request in 644a9ce.

@xuzhao9 xuzhao9 deleted the xz9/add-hf-dynamic branch September 20, 2023 16:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants