Skip to content

Commit 2da8129

Browse files
Remove all strip — AMD wheels break when stripped
1 parent b6b99c3 commit 2da8129

1 file changed

Lines changed: 2 additions & 7 deletions

File tree

.github/workflows/build-vllm-rocm.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -162,13 +162,8 @@ jobs:
162162
rm -rf lib/python3.12/turtledemo lib/python3.12/ensurepip 2>/dev/null || true
163163
rm -rf include/ 2>/dev/null || true
164164
165-
# Strip debug symbols (skip ROCm SDK libs — strip breaks their page alignment)
166-
echo "Stripping debug symbols..."
167-
find . -name '*.so' -o -name '*.so.*' | \
168-
grep -v '_rocm_sdk' | \
169-
while read -r f; do
170-
[ -f "$f" ] && [ ! -L "$f" ] && strip --strip-debug "$f" 2>/dev/null || true
171-
done
165+
# NOTE: Do NOT strip .so files — AMD ROCm wheels use special ELF
166+
# alignment that strip corrupts, and numpy/scipy also break.
172167
173168
echo "=== Size after cleanup ==="
174169
du -sh .

0 commit comments

Comments
 (0)