-
Notifications
You must be signed in to change notification settings - Fork 118
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 GradientUtils.cpp #2234
base: main
Are you sure you want to change the base?
Update GradientUtils.cpp #2234
Conversation
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.
@wsmoses With this commit, it resolved the problem. Thanks for the help!
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.
@wsmoses add } else if (M.getTargetTriple().find("nvptx") != std::string::npos) { to PreserveNVVM.cpp resolve the custom gradient issue for the cuda.
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.
@minansys can you make a PR with?
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.
@wsmoses I tried to create a PR, however got the following error:
git push origin --set-upstream mixu/cuda-custom-gradient
remote: Permission to EnzymeAD/Enzyme.git denied to minansys.
fatal: unable to access 'https://github.com/EnzymeAD/Enzyme/': The requested URL returned error: 403
It seems I do not have the write right for the repo. I am using https and PAT instead of ssh. Is there any step to grant my write? Thanks!
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.
@minansys you can always create a pull request from a fork.
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.
No description provided.