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
[ROCm] Enable ROCm support for "snapshot" op #26724
[ROCm] Enable ROCm support for "snapshot" op #26724
Conversation
5199226
to
94d44c6
Compare
rebased to remove merge conflicts |
@deven-amd Please do not add Eigen patches to TensorFlow. Submit these to Eigen instead and add me as a reviewer. The same goes for all PRs. |
@rmlarsen , cc'd you on the Eigen PR |
@deven-amd Thanks! |
@@ -4,15 +4,15 @@ | |||
return make_double2(from, from); | |||
} | |||
|
|||
+#if defined(EIGEN_CUDA_ARCH) | |||
+#if defined(EIGEN_CUDA_ARCH) || defined(EIGEN_HIP_DEVICE_COMPILE) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this one change is not part of the Eigen PR I mentioned. That is because it modifies the existing content in TF eigen patch (as opposed to the other changes that only append content to the TF eigen patch).
So we will need to make this modification on your end. Also I do not know if you intend to upstream the TF eigen patch, if you do please include the HIP specific change here.
Thanks
deven
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, we need to upstream the last few bits in that patch file. I'll do it today or Monday.
Also please advise on how to proceed with PR #26722 (the PR that is tracking the edit to the eigen patch file. this PR requires that PR and hence includes its commits) Not including the eigen patch update will break the
Can we come up with a solution that will allow for minor + temporary updates to the eigen patch file (both for now and going forward?
We do run nightly Eigen unit tests (see |
@deven-amd Yeah, we need to upstream the last few bits in that patch file. I'll do it today or Monday. |
94d44c6
to
a5b20e9
Compare
rebased to remove merge conflicts |
a5b20e9
to
a87184f
Compare
rebased PR to account for updates to PR #26722 |
a87184f
to
8c51be4
Compare
8c51be4
to
7b9f278
Compare
rebased PR to the tip of master (since all the pre-reqs are now merged). the changes in this PR are now trivial...please approve and merge. thanks deven |
…upstream_snapshot_op PiperOrigin-RevId: 246868352
This PR enables ROCm support for the "snapshot" op.
PR #26722 is a pre-req for this PR, and hence this PR includes commits from that PR.
Only the last commit in this PR should be reviewed here (as all others will be reviewed as part of PR #26722 )
@tatianashp , @whchung : just FYI