[Build] Docker build failure with ROCm 6.0 using official Dockerfile for v1.19.2: Segmentation fault in clang++ during composable_kernel compilation #23807
Labels
build
build issues; typically submitted using template
contributions welcome
external contributions welcome
Describe the issue
Building the ONNX Runtime Docker image using the official Dockerfile.rocm for version v1.19.2 with ROCm 6.0 fails with a segmentation fault during the CMake build process. The error occurs when compiling a file related to composable_kernel and FMHA (fmha_fwd_d64_fp8_batch_b128x64x32x64x32x64_r2x1x1_w32x32x32_qr_vc_squant.cpp.o).
This issue prevents the successful building of the ROCm Docker image for ONNX Runtime v1.19.2 using the official Dockerfile.
Environment:
Base Docker Image: rocm/pytorch:rocm6.0_ubuntu20.04_py3.9_pytorch_2.1.1
ONNX Runtime Version: v1.19.2
ROCm Version: 6.0.0
Dockerfile: Dockerfile.rocm (content provided below)
Build Log: build.log.txt (attached below)
Steps to reproduce:
docker build -t onnxruntime_rocm -f Dockerfile.rocm .
Error Log Snippet:
Urgency
No response
Target platform
x86-64
Build script
Error / output
build.log.txt
Visual Studio Version
No response
GCC / Compiler Version
No response
The text was updated successfully, but these errors were encountered: