From 7bcaa73a3a261a367895a10d789eb4f9c1a7b26c Mon Sep 17 00:00:00 2001 From: arai713 <67439843+arai713@users.noreply.github.com> Date: Tue, 21 Apr 2026 20:50:57 +0000 Subject: [PATCH] [rocm-libraries] ROCm/rocm-libraries#6537 (commit 16be4f7) [CK] Fix for hipblaslt error in PyTorch Dockerfile ## Motivation This PR fixes the hipblaslt client build failures that occur when building the PyTorch Docker image, which are currently causing failures in CI. ## Technical Details - Correctly reset the working directory to tmp/ - Added --use-system-packages to the install.sh to use system installed laplack packages, as hard-coded paths were not being built. ## Test Plan Locally built the Docker image using the Dockerfile. ## Test Result Image was successfully built. ## Submission Checklist - [x] Look over the contributing guidelines at https://github.com/ROCm/ROCm/blob/develop/CONTRIBUTING.md#pull-requests. Co-authored-by: Illia Silin <98187287+illsilin@users.noreply.github.com> --- Dockerfile.pytorch | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile.pytorch b/Dockerfile.pytorch index 2d3856fa2d..112197d207 100644 --- a/Dockerfile.pytorch +++ b/Dockerfile.pytorch @@ -22,6 +22,7 @@ RUN groupadd -g 109 render && \ chmod -R a+rwx /tmp/pytorch && \ sudo usermod -aG irc jenkins && \ #install hipblaslt + cd /tmp && \ git clone --no-checkout --filter=blob:none https://github.com/ROCm/rocm-libraries.git && \ cd rocm-libraries && \ git checkout develop && \ @@ -29,4 +30,4 @@ RUN groupadd -g 109 render && \ git sparse-checkout set projects/hipblaslt shared/origami && \ cd projects/hipblaslt && \ git show --oneline -s && \ - CPLUS_INCLUDE_PATH="/opt/amdgpu/include/" ./install.sh -idc --architecture="gfx942;gfx950" -j 128 --skip_rocroller + CPLUS_INCLUDE_PATH="/opt/amdgpu/include/" ./install.sh -idc --use-system-packages --architecture="gfx942;gfx950" -j 128 --skip_rocroller