Skip to content

Commit 61c359d

Browse files
ROCm: reduce size of builds (#1819)
1 parent 4dc08e6 commit 61c359d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/scripts/build-rocm.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ if [ "${build_os:0:6}" == ubuntu ]; then
1919
-w /src -v "$PWD:/src" "$image" sh -c \
2020
"apt-get update \
2121
&& pip install cmake==3.31.6 \
22-
&& cmake -DCOMPUTE_BACKEND=hip -DBNB_ROCM_ARCH=\"${bnb_rocm_arch}\" . \
22+
&& cmake -DCOMPUTE_BACKEND=hip -DCMAKE_BUILD_TYPE=MinSizeRel -DCMAKE_HIP_FLAGS=\"--offload-compress\" -DBNB_ROCM_ARCH=\"${bnb_rocm_arch}\" . \
2323
&& cmake --build ."
2424
fi
2525

0 commit comments

Comments
 (0)