forked from pytorch/xla
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Merge disc backend to acc 2.3 #3
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
yitongh
requested review from
Yancey1989,
anw90,
Seventeen17,
eedalong and
baoleai
August 8, 2024 03:50
Support Disc as backend Co-authored-by: yancey.yx <[email protected]> Co-authored-by: wangang.wa <[email protected]>
* add flag to disable disc backend in bazel workspace
support disc backend debug mode to dump DISC compilation logs
* fix bazel flag when complie python * fix lint.
add float-norm pass to support bf16 amp training
The prs that have not been merged yet:
cceb7f76fa2c1dcdc3260cef75d3cf34e0744126 should be merged before FA 256 support: #4 |
TODO:
|
* fix build failed on nccl * using nccl hdrs
* change the device type of disc to cuda to make amp work properly * Use the value of DISC_DEVICE as the device type of disc backend
anw90
approved these changes
Oct 11, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Open this PR to track the modifications on disc backend.