Skip to content

Conversation

jataylo
Copy link

@jataylo jataylo commented Aug 4, 2023

Running into fatal error: hip/hip_runtime.h: No such file or directory with latest wheel due to incorrect directory for ROCm libs

Previously default path was:
/opt/_internal/cpython-3.8.17/lib/python3.8/site-packages/triton/common/third_party/rocm

Now
/opt/_internal/cpython-3.8.17/lib/python3.8/site-packages/triton/common/../third_party/rocm

Running into `fatal error: hip/hip_runtime.h: No such file or directory` with latest wheel due to incorrect directory for ROCm libs
@jataylo
Copy link
Author

jataylo commented Aug 4, 2023

Merging CI green at least

@jataylo jataylo merged commit 34887ff into triton-mlir-pyt-latest Aug 4, 2023
pytorchmergebot pushed a commit to pytorch/pytorch that referenced this pull request Aug 6, 2023
This is required for a fix in latest nightly wheels in which the hip_runtime header file cannot be found during triton lowering

```
/tmp/tmpqoq6gtl8/main.c:3:14: fatal error: hip/hip_runtime.h: No such file or directory
3 | #include <hip/hip_runtime.h>
| ^~~~~~~~~~~~~~~~~~~
```

This is a single commit update to bring in this change
ROCm/triton#283

Pull Request resolved: #106616
Approved by: https://github.com/malfet
Cyril-Anto pushed a commit to Cyril-Anto/pytorch that referenced this pull request Aug 17, 2023
This is required for a fix in latest nightly wheels in which the hip_runtime header file cannot be found during triton lowering

```
/tmp/tmpqoq6gtl8/main.c:3:14: fatal error: hip/hip_runtime.h: No such file or directory
3 | #include <hip/hip_runtime.h>
| ^~~~~~~~~~~~~~~~~~~
```

This is a single commit update to bring in this change
ROCm/triton#283

Pull Request resolved: pytorch#106616
Approved by: https://github.com/malfet
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant