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

fix FLCE AMP issue #318

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

fix FLCE AMP issue #318

wants to merge 1 commit into from

Conversation

yundai424
Copy link
Collaborator

Summary

fixes #305 : just rely on torch AMP to determine the input dtype when AMP context is enabled

Testing Done

  • Hardware Type:
  • run make test to ensure correctness
  • run make checkstyle to ensure code style
  • run make test-convergence to ensure convergence

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.

RuntimeError due to dtype mismatch in fused_linear_cross_entropy_forward
1 participant