Unverified Commit 21792520 authored by Neil Schemenauer's avatar Neil Schemenauer Committed by GitHub
Browse files

[Build] Add Python 3.14 to supported version list. (#34770)


Signed-off-by: default avatarNeil Schemenauer <nas@arctrix.com>
Co-authored-by: default avatarSimon Mo <simon.mo@hey.com>
parent 5e11b403
...@@ -34,7 +34,7 @@ install(CODE "set(CMAKE_INSTALL_LOCAL_ONLY TRUE)" ALL_COMPONENTS) ...@@ -34,7 +34,7 @@ install(CODE "set(CMAKE_INSTALL_LOCAL_ONLY TRUE)" ALL_COMPONENTS)
# Supported python versions. These versions will be searched in order, the # Supported python versions. These versions will be searched in order, the
# first match will be selected. These should be kept in sync with setup.py. # first match will be selected. These should be kept in sync with setup.py.
# #
set(PYTHON_SUPPORTED_VERSIONS "3.10" "3.11" "3.12" "3.13") set(PYTHON_SUPPORTED_VERSIONS "3.10" "3.11" "3.12" "3.13" "3.14")
# Supported AMD GPU architectures. # Supported AMD GPU architectures.
set(HIP_SUPPORTED_ARCHS "gfx906;gfx908;gfx90a;gfx942;gfx950;gfx1030;gfx1100;gfx1101;gfx1102;gfx1103;gfx1150;gfx1151;gfx1152;gfx1153;gfx1200;gfx1201") set(HIP_SUPPORTED_ARCHS "gfx906;gfx908;gfx90a;gfx942;gfx950;gfx1030;gfx1100;gfx1101;gfx1102;gfx1103;gfx1150;gfx1151;gfx1152;gfx1153;gfx1200;gfx1201")
......
...@@ -77,7 +77,7 @@ RUN --mount=type=cache,target=/root/.cache/uv \ ...@@ -77,7 +77,7 @@ RUN --mount=type=cache,target=/root/.cache/uv \
uv pip install --system $pkgs --index-url https://download.pytorch.org/whl/nightly/cu128 uv pip install --system $pkgs --index-url https://download.pytorch.org/whl/nightly/cu128
RUN --mount=type=cache,target=/root/.cache/uv \ RUN --mount=type=cache,target=/root/.cache/uv \
uv pip install --system numba==0.61.2 uv pip install --system numba==0.65.0
RUN --mount=type=cache,target=/root/.cache/uv \ RUN --mount=type=cache,target=/root/.cache/uv \
uv pip install --system -r requirements/common.txt uv pip install --system -r requirements/common.txt
......
...@@ -24,13 +24,14 @@ classifiers = [ ...@@ -24,13 +24,14 @@ classifiers = [
"Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13", "Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Intended Audience :: Developers", "Intended Audience :: Developers",
"Intended Audience :: Information Technology", "Intended Audience :: Information Technology",
"Intended Audience :: Science/Research", "Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering :: Artificial Intelligence", "Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Scientific/Engineering :: Information Analysis", "Topic :: Scientific/Engineering :: Information Analysis",
] ]
requires-python = ">=3.10,<3.14" requires-python = ">=3.10,<3.15"
dynamic = [ "version", "dependencies", "optional-dependencies"] dynamic = [ "version", "dependencies", "optional-dependencies"]
[project.urls] [project.urls]
......
...@@ -20,7 +20,7 @@ prometheus-fastapi-instrumentator >= 7.0.0 ...@@ -20,7 +20,7 @@ prometheus-fastapi-instrumentator >= 7.0.0
tiktoken >= 0.6.0 # Required for DBRX tokenizer tiktoken >= 0.6.0 # Required for DBRX tokenizer
lm-format-enforcer == 0.11.3 lm-format-enforcer == 0.11.3
llguidance >= 1.3.0, < 1.4.0; platform_machine == "x86_64" or platform_machine == "arm64" or platform_machine == "aarch64" or platform_machine == "ppc64le" llguidance >= 1.3.0, < 1.4.0; platform_machine == "x86_64" or platform_machine == "arm64" or platform_machine == "aarch64" or platform_machine == "ppc64le"
outlines_core == 0.2.11 outlines_core == 0.2.14
# required for outlines backend disk cache # required for outlines backend disk cache
diskcache == 5.6.3 diskcache == 5.6.3
lark == 1.2.2 lark == 1.2.2
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
setuptools==77.0.3 # this version can reuse CMake build dir setuptools==77.0.3 # this version can reuse CMake build dir
numba == 0.61.2; platform_machine != "s390x" # Required for N-gram speculative decoding numba == 0.65.0; platform_machine != "s390x" # Required for N-gram speculative decoding
# Dependencies for CPUs # Dependencies for CPUs
torch==2.11.0+cpu; platform_machine == "x86_64" or platform_machine == "s390x" or platform_machine == "aarch64" torch==2.11.0+cpu; platform_machine == "x86_64" or platform_machine == "s390x" or platform_machine == "aarch64"
......
# Common dependencies # Common dependencies
-r common.txt -r common.txt
numba == 0.61.2 # Required for N-gram speculative decoding numba == 0.65.0 # Required for N-gram speculative decoding
# Dependencies for NVIDIA GPUs # Dependencies for NVIDIA GPUs
torch==2.11.0 torch==2.11.0
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
grpcio==1.78.0 grpcio==1.78.0
grpcio-reflection==1.78.0 grpcio-reflection==1.78.0
numba == 0.61.2 # Required for N-gram speculative decoding numba == 0.65.0 # Required for N-gram speculative decoding
# Dependencies for AMD GPUs # Dependencies for AMD GPUs
datasets datasets
......
...@@ -54,7 +54,7 @@ grpcio==1.78.0 ...@@ -54,7 +54,7 @@ grpcio==1.78.0
grpcio-reflection==1.78.0 grpcio-reflection==1.78.0
arctic-inference == 0.1.1 # Required for suffix decoding test arctic-inference == 0.1.1 # Required for suffix decoding test
numba == 0.61.2 # Required for N-gram speculative decoding numba == 0.65.0 # Required for N-gram speculative decoding
numpy numpy
runai-model-streamer[s3,gcs,azure]==0.15.7 runai-model-streamer[s3,gcs,azure]==0.15.7
fastsafetensors>=0.2.2 # 0.2.2 contains important fixes for multi-GPU mem usage fastsafetensors>=0.2.2 # 0.2.2 contains important fixes for multi-GPU mem usage
......
...@@ -479,7 +479,7 @@ lightning-utilities==0.14.3 ...@@ -479,7 +479,7 @@ lightning-utilities==0.14.3
# lightning # lightning
# pytorch-lightning # pytorch-lightning
# torchmetrics # torchmetrics
llvmlite==0.44.0 llvmlite==0.47.0
# via numba # via numba
lm-eval==0.4.11 lm-eval==0.4.11
# via -r requirements/test/cuda.in # via -r requirements/test/cuda.in
...@@ -550,7 +550,7 @@ nltk==3.9.1 ...@@ -550,7 +550,7 @@ nltk==3.9.1
# via rouge-score # via rouge-score
num2words==0.5.14 num2words==0.5.14
# via -r requirements/test/cuda.in # via -r requirements/test/cuda.in
numba==0.61.2 numba==0.65.0
# via # via
# -c requirements/cuda.txt # -c requirements/cuda.txt
# -r requirements/test/cuda.in # -r requirements/test/cuda.in
......
...@@ -40,7 +40,7 @@ buildkite-test-collector==0.1.9 ...@@ -40,7 +40,7 @@ buildkite-test-collector==0.1.9
genai_perf>=0.0.8 genai_perf>=0.0.8
tritonclient>=2.51.0 tritonclient>=2.51.0
numba == 0.61.2 # Required for N-gram speculative decoding numba == 0.65.0 # Required for N-gram speculative decoding
numpy numpy
runai-model-streamer[s3,gcs,azure]==0.15.7 runai-model-streamer[s3,gcs,azure]==0.15.7
fastsafetensors>=0.2.2 fastsafetensors>=0.2.2
......
...@@ -52,7 +52,7 @@ grpcio==1.78.0 ...@@ -52,7 +52,7 @@ grpcio==1.78.0
grpcio-reflection==1.78.0 grpcio-reflection==1.78.0
arctic-inference==0.1.1 # Required for suffix decoding test arctic-inference==0.1.1 # Required for suffix decoding test
numba==0.61.2 # Required for N-gram speculative decoding numba==0.65.0 # Required for N-gram speculative decoding
numpy numpy
runai-model-streamer[s3,gcs,azure]==0.15.7 runai-model-streamer[s3,gcs,azure]==0.15.7
fastsafetensors @ git+https://github.com/foundation-model-stack/fastsafetensors.git@0.2.2 # PyPI only ships CUDA wheels fastsafetensors @ git+https://github.com/foundation-model-stack/fastsafetensors.git@0.2.2 # PyPI only ships CUDA wheels
......
...@@ -559,7 +559,7 @@ llguidance==1.3.0 ...@@ -559,7 +559,7 @@ llguidance==1.3.0
# via # via
# -c requirements/common.txt # -c requirements/common.txt
# -r requirements/test/../common.txt # -r requirements/test/../common.txt
llvmlite==0.44.0 llvmlite==0.47.0
# via numba # via numba
lm-eval==0.4.11 lm-eval==0.4.11
# via -r requirements/test/rocm.in # via -r requirements/test/rocm.in
...@@ -655,7 +655,7 @@ nltk==3.9.3 ...@@ -655,7 +655,7 @@ nltk==3.9.3
# via rouge-score # via rouge-score
num2words==0.5.14 num2words==0.5.14
# via -r requirements/test/rocm.in # via -r requirements/test/rocm.in
numba==0.61.2 numba==0.65.0
# via # via
# -c requirements/rocm.txt # -c requirements/rocm.txt
# -r requirements/test/rocm.in # -r requirements/test/rocm.in
...@@ -811,7 +811,7 @@ orjson==3.11.7 ...@@ -811,7 +811,7 @@ orjson==3.11.7
# via # via
# genai-perf # genai-perf
# kaleido # kaleido
outlines-core==0.2.11 outlines-core==0.2.14
# via # via
# -c requirements/common.txt # -c requirements/common.txt
# -r requirements/test/../common.txt # -r requirements/test/../common.txt
......
...@@ -244,7 +244,7 @@ lazy-loader==0.5 ...@@ -244,7 +244,7 @@ lazy-loader==0.5
# scikit-image # scikit-image
librosa==0.10.2.post1 librosa==0.10.2.post1
# via -r requirements/test/xpu.in # via -r requirements/test/xpu.in
llvmlite==0.44.0 llvmlite==0.47.0
# via numba # via numba
lm-eval==0.4.11 lm-eval==0.4.11
# via -r requirements/test/xpu.in # via -r requirements/test/xpu.in
...@@ -304,7 +304,7 @@ nltk==3.9.4 ...@@ -304,7 +304,7 @@ nltk==3.9.4
# via rouge-score # via rouge-score
num2words==0.5.14 num2words==0.5.14
# via -r requirements/test/xpu.in # via -r requirements/test/xpu.in
numba==0.61.2 numba==0.65.0
# via # via
# -c requirements/xpu.txt # -c requirements/xpu.txt
# librosa # librosa
......
...@@ -9,7 +9,7 @@ setuptools>=77.0.3,<81.0.0 ...@@ -9,7 +9,7 @@ setuptools>=77.0.3,<81.0.0
wheel wheel
jinja2>=3.1.6 jinja2>=3.1.6
datasets # for benchmark scripts datasets # for benchmark scripts
numba == 0.61.2 # Required for N-gram speculative decoding numba == 0.65.0 # Required for N-gram speculative decoding
--extra-index-url=https://download.pytorch.org/whl/xpu --extra-index-url=https://download.pytorch.org/whl/xpu
torch==2.11.0+xpu torch==2.11.0+xpu
torchaudio torchaudio
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment