-
Notifications
You must be signed in to change notification settings - Fork 23.9k
[PyTorch][AMD] fix hipify_python #76720
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
Conversation
Summary: This PR fixes an issue in hipify_python introduced by pytorch#76141. pytorch#76141 made all the `includes` paths "absolute", but this was not done for `args.extra_include_dir`; `new_dir`, which is a relative path, is directly added to `includes`. This PR fixes it by passing the absolute path (`abs_new_dir`). Test Plan: CI Differential Revision: D36089556 fbshipit-source-id: eb9c68b8d9a99dd5bdcf621ecdd6f18470f4321b
🔗 Helpful links
💊 CI failures summary and remediationsAs of commit c9dfd24 (more details on the Dr. CI page): Expand to see more💚 💚 Looks good so far! There are no failures yet. 💚 💚 This comment was automatically generated by Dr. CI (expand for details).Please report bugs/suggestions to the (internal) Dr. CI Users group. |
This pull request was exported from Phabricator. Differential Revision: D36089556 |
cc @rraminen, @jeffdaily I'd appreciate your feedback. |
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.
works for me!
Thanks for your reviews, @jeffdaily, @albanD, abd @osalpekar. I will merge it. |
LGTM |
Summary: Pull Request resolved: #76720 This PR fixes an issue in hipify_python introduced by #76141. #76141 made all the `includes` paths "absolute", but this was not done for `args.extra_include_dir`; `new_dir`, which is a relative path, is directly added to `includes`. This PR fixes it by passing the absolute path (`abs_new_dir`). Test Plan: CI Reviewed By: albanD Differential Revision: D36089556 fbshipit-source-id: 1607075a4cb13696c1b25923f56b08a8cb3c6578
Summary:
This PR fixes an issue in hipify_python introduced by #76141.
#76141 made all the
includes
paths "absolute", but this was not done forargs.extra_include_dir
;new_dir
, which is a relative path, is directly added toincludes
. This PR fixes it by passing the absolute path (abs_new_dir
).Test Plan: CI
Differential Revision: D36089556