Skip to content

Commit 671588f

Browse files
[main] turn on INSTALL_TEST (#86)
Fixes https://ontrack-internal.amd.com/browse/SWDEV-541260 Turns on https://github.com/ROCm/builder/blob/main/manywheel/build_rocm.sh#L16 to install binarys needed for certain test suites that are generated during the build but not usually included in the runtime wheels. Adds about 1MB to the wheel size ``` ethanwee@ubb4-rack-22:~$ unzip -l torch-2.7.1+rocm7.0.0.git4d586cdc-cp310-cp310-linux_x86_64.whl | grep libtorchbind_test.so 995704 2025-07-07 21:41 torch/lib/libtorchbind_test.so ``` --------- Co-authored-by: Jithun Nair <[email protected]>
1 parent 43be894 commit 671588f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

manywheel/build_rocm.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export USE_STATIC_CUDNN=1
1313
export USE_STATIC_NCCL=1
1414
export ATEN_STATIC_CUDA=1
1515
export USE_CUDA_STATIC_LINK=1
16-
export INSTALL_TEST=0 # dont install test binaries into site-packages
16+
export INSTALL_TEST=1 # install test binaries into site-packages
1717
# Set RPATH instead of RUNPATH when using patchelf to avoid LD_LIBRARY_PATH override
1818
export FORCE_RPATH="--force-rpath"
1919

0 commit comments

Comments
 (0)