[CI] python: Move the remaining CUDA build paths off Python 3.10 (#44393)
Co-authored-by: Mohammad Angkad <mohammad.angkad@radixark.ai>
This commit is contained in:
co-authored by
Mohammad Angkad
parent
b20cb3665d
commit
7656ea0e74
@@ -30,8 +30,6 @@ dependencies = [
|
||||
"build",
|
||||
"compressed-tensors==0.18.0",
|
||||
"cuda-python>=13.0",
|
||||
# Transitive dep of flashinfer-python, pinned because 1.6.0rc6 shipped no cp310 linux x86_64 wheel.
|
||||
"cuda-tile==1.6.0rc5",
|
||||
"datasets",
|
||||
"decord2 ; sys_platform == 'linux' and (platform_machine == 'aarch64' or platform_machine == 'arm64' or platform_machine == 'armv7l')",
|
||||
"distro",
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
# /// script
|
||||
# requires-python = ">=3.10"
|
||||
# requires-python = ">=3.11"
|
||||
# dependencies = ["msgspec", "requests", "plotly", "kaleido", "numpy"]
|
||||
# ///
|
||||
from __future__ import annotations
|
||||
|
||||
@@ -7,9 +7,9 @@ FROM ${BASE_IMG}:cuda${CUDA_VERSION} AS deps
|
||||
# Overridable build arguments
|
||||
ARG ARCH=x86_64
|
||||
ARG CUDA_VERSION=13.0
|
||||
ARG PYTHON_VERSION=3.10
|
||||
# Manylinux python path tag, e.g. cp310-cp310 / cp312-cp312
|
||||
ARG PYTHON_TAG=cp310-cp310
|
||||
ARG PYTHON_VERSION=3.11
|
||||
# Manylinux python path tag, e.g. cp311-cp311 / cp312-cp312
|
||||
ARG PYTHON_TAG=cp311-cp311
|
||||
ARG CMAKE_VERSION_MAJOR=3.31
|
||||
ARG CMAKE_VERSION_MINOR=1
|
||||
# Install ccache 4.12.1 from source for CUDA support (yum provides old 3.7.7)
|
||||
|
||||
@@ -22,7 +22,7 @@ pip3 install sglang-kernel --upgrade
|
||||
## Building from Source
|
||||
Requires
|
||||
- CMake ≥3.31,
|
||||
- Python ≥3.10
|
||||
- Python ≥3.11
|
||||
- scikit-build-core
|
||||
- ninja(optional)
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ if [ $# -lt 2 ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
PYTHON_VERSION="$1" # e.g. 3.10
|
||||
PYTHON_VERSION="$1" # e.g. 3.11
|
||||
CUDA_VERSION="$2" # e.g. 12.9
|
||||
ARCH="${3:-$(uname -i)}" # optional override
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ authors = [
|
||||
]
|
||||
description = "Kernel Library for SGLang"
|
||||
readme = "README.md"
|
||||
requires-python = ">=3.10"
|
||||
requires-python = ">=3.11"
|
||||
license = { file = "LICENSE" }
|
||||
classifiers = [
|
||||
"Programming Language :: Python :: 3",
|
||||
@@ -37,6 +37,6 @@ exclude = [
|
||||
cmake.build-type = "Release"
|
||||
minimum-version = "build-system.requires"
|
||||
|
||||
wheel.py-api = "cp310"
|
||||
wheel.py-api = "cp311"
|
||||
wheel.license-files = []
|
||||
wheel.packages = ["python/sgl_kernel"]
|
||||
|
||||
Reference in New Issue
Block a user