pytorch
20e4d6c4 - [PyTorch][AMD] fix hipify_python (#76720)

Commit
2 years ago
[PyTorch][AMD] fix hipify_python (#76720) Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/76720 This PR fixes an issue in hipify_python introduced by https://github.com/pytorch/pytorch/pull/76141. https://github.com/pytorch/pytorch/pull/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 2ca648728f01c03320015f90d33404e75f978206)
Committer
Parents
Loading