Skip to content

[CI] XPU binary build enable #1105

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Oct 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/build_wheels_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ jobs:
with-cpu: enable
with-cuda: enable
with-rocm: enable
with-xpu: enable

build:
needs: generate-matrix
Expand Down
6 changes: 5 additions & 1 deletion packaging/post_build_script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,11 @@ WHEEL_NAME=$(ls dist/)

pushd dist
# Prepare manywheel
auditwheel repair --plat manylinux2014_x86_64 -w . \
manylinux_plat=manylinux2014_x86_64
if [[ "$CU_VERSION" == "xpu" ]]; then
manylinux_plat=manylinux_2_28_x86_64
fi
auditwheel repair --plat "$manylinux_plat" -w . \
--exclude libtorch.so \
--exclude libtorch_python.so \
--exclude libtorch_cuda.so \
Expand Down
Loading