You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When building PyTorch from source on an AMD system with AMD's clang (and I imagine clang in general) as the compiler, ROCm triton (as a third party of a third party library) fails to build due to -Werror always being enabled (see https://github.com/ROCm/triton/blob/main_perf/CMakeLists.txt#L110). This prohibits building the project with clang.
Thanks in advance.
Operating System
Any
CPU
Any
GPU
Any AMD Instinct GPU
ROCm Version
ROCm 6.2.1
ROCm Component
llvm-project
Steps to Reproduce
No response
(Optional for Linux users) Output of /opt/rocm/bin/rocminfo --support
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered:
Hi @tbennun, could you provide your build logs and clang version to ensure I'm on the same page and hit the same stage of the build that you do? Also, any environment variables and build steps for Pytorch would be greatly appreciated.
Problem Description
When building PyTorch from source on an AMD system with AMD's clang (and I imagine clang in general) as the compiler, ROCm triton (as a third party of a third party library) fails to build due to
-Werror
always being enabled (see https://github.com/ROCm/triton/blob/main_perf/CMakeLists.txt#L110). This prohibits building the project with clang.Thanks in advance.
Operating System
Any
CPU
Any
GPU
Any AMD Instinct GPU
ROCm Version
ROCm 6.2.1
ROCm Component
llvm-project
Steps to Reproduce
No response
(Optional for Linux users) Output of /opt/rocm/bin/rocminfo --support
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered: