Skip to content

Commit 75fce0f

Browse files
committed
I think we can just use pytorch's builder image, which seems trustworthy and less error prone than installing cuda in manylinux ourselves.
1 parent f1e9755 commit 75fce0f

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed

pyproject.toml

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -62,11 +62,16 @@ provider = "scikit_build_core.metadata.regex"
6262
input = "src/flash_attn_jax/__init__.py"
6363

6464
[tool.cibuildwheel]
65-
# manylinux-x86_64-image = "quay.io/pypa/manylinux_2_28_x86_64:latest"
66-
before-all = "bash scripts/install-cuda-linux.sh"
67-
build = "cp312-manylinux_x86_64"
65+
archs = ["x86_64"]
66+
manylinux-x86_64-image = "pytorch/manylinux2_28-builder:cuda12.8"
67+
# before-all = "bash scripts/install-cuda-linux.sh"
68+
build = "cp{311,312,313}-manylinux_x86_64"
6869
repair-wheel-command = "auditwheel repair --exclude=libcudart.so* -w {dest_dir} {wheel}"
6970

70-
[tool.cibuildwheel.environment]
71-
PATH="/opt/rh/gcc-toolset-13/root/usr/bin:/usr/local/cuda/bin:$PATH"
72-
CUDA_HOME="/usr/local/cuda"
71+
# [tool.cibuildwheel.environment]
72+
# PATH="/opt/rh/gcc-toolset-13/root/usr/bin:/usr/local/cuda/bin:$PATH"
73+
# CUDA_HOME="/usr/local/cuda"
74+
75+
# [[tool.cibuildwheel.overrides]]
76+
# select = "cp313-*"
77+
# manylinux-x86_64-image = "sameli/manylinux_2_34_x86_64_cuda_12.8:latest"

0 commit comments

Comments
 (0)