-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Hipify fixes for a successful DeepSpeed build #76141
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
🔗 Helpful links
💊 CI failures summary and remediationsAs of commit c576d2e (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. |
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.
@rraminen please fix the lint errors reported by CI. Otherwise LGTM.
The xla failure is unrelated right? |
Triggered a new CI run |
@pytorchbot merge this |
Merge failed due to Matched rule superuser, but it was not reviewed yet by any of:kwen2501,ezyang,blefaudeux,Nitrokitty,larryliu0820, ... |
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.
LGTM
@pytorchbot merge this |
Merge failed due to Matched rule superuser, but it was not reviewed yet by any of:842974287,bhosmer,pvtuan10,ziky90,madhu-fb, ... |
@pytorchbot merge this please |
Hey @rraminen. |
Summary: These commits are required to build DeepSpeed on ROCm without the hipify errors. ROCm@a41829d ROCm@663c718 GitHub CC: jeffdaily Pull Request resolved: #76141 Approved by: https://github.com/jeffdaily, https://github.com/pruthvistony, https://github.com/albanD Test Plan: contbuild & OSS CI, see https://hud.pytorch.org/commit/pytorch/pytorch/7422ccea8b564132b50227b35a9bfbf06730d71a Reviewed By: osalpekar Differential Revision: D36042337 fbshipit-source-id: 629a6913ec7e6006bff1913b5eb6fd2feeb0f295
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
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: 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 (cherry picked from commit 2ca6487)
These commits are required to build DeepSpeed on ROCm without the hipify errors.
ROCm@a41829d
ROCm@663c718
cc: @jeffdaily