[CI/Build] Pin Cython below 3.3 for arm64 tilelang sdist (#53358)
Signed-off-by: Kevin Luu <51931015+khluu@users.noreply.github.com> Co-authored-by: OpenAI Codex <codex@openai.com>
This commit is contained in:
co-authored by
OpenAI Codex
parent
ebcd606467
commit
e25c586b90
@@ -209,6 +209,13 @@ RUN --mount=type=cache,target=/opt/uv/cache \
|
||||
sed -i 's/^nvidia-cutlass-dsl\[cu13\]/nvidia-cutlass-dsl/' requirements/cuda.txt; \
|
||||
sed -i 's/^humming-kernels\[cu13\]/humming-kernels[cu12]/' requirements/cuda.txt; \
|
||||
fi \
|
||||
&& if [ "$(uname -m)" = "aarch64" ]; then \
|
||||
# The manylinux 2_28 (glibc 2.28) aarch64 builder cannot use
|
||||
# tilelang's manylinux_2_34 wheel, so tilelang builds from sdist.
|
||||
# Cython 3.3 rejects tilelang's hardcoded Py_LIMITED_API=3.8.
|
||||
printf 'cython<3.3\n' > /tmp/build-constraints.txt \
|
||||
&& export UV_BUILD_CONSTRAINT=/tmp/build-constraints.txt; \
|
||||
fi \
|
||||
&& if [ "${PYTORCH_NIGHTLY}" = "1" ]; then \
|
||||
echo "Installing torch nightly..." \
|
||||
&& uv pip install --python /opt/venv/bin/python3 torch torchaudio torchvision --pre \
|
||||
|
||||
Reference in New Issue
Block a user