We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3475aed commit 677af6fCopy full SHA for 677af6f
.github/workflows/build_wheels_linux.yml
@@ -29,6 +29,7 @@ jobs:
29
with-cpu: enable
30
with-cuda: enable
31
with-rocm: enable
32
+ with-xpu: enable
33
34
build:
35
needs: generate-matrix
packaging/post_build_script.sh
@@ -11,7 +11,11 @@ WHEEL_NAME=$(ls dist/)
11
12
pushd dist
13
# Prepare manywheel
14
-auditwheel repair --plat manylinux2014_x86_64 -w . \
+manylinux_plat=manylinux2014_x86_64
15
+if [[ "$CU_VERSION" == "xpu" ]]; then
16
+ manylinux_plat=manylinux_2_28_x86_64
17
+fi
18
+auditwheel repair --plat "$manylinux_plat" -w . \
19
--exclude libtorch.so \
20
--exclude libtorch_python.so \
21
--exclude libtorch_cuda.so \
0 commit comments