diff --git a/pyproject.toml b/pyproject.toml index 9da98f71d..8aa62c6cf 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -14,10 +14,10 @@ classifiers = [ "Intended Audience :: Developers", "Intended Audience :: Education", "Operating System :: Linux", - "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.12", "Topic :: Scientific/Engineering :: Artificial Intelligence for Inference Accelerator", ] -requires-python = ">=3.8,<3.11" +requires-python = ">=3.8,<3.13" dependencies = [ "transformers==4.55.0", "diffusers== 0.35.1", @@ -26,7 +26,6 @@ dependencies = [ "peft==0.17.0", "datasets==2.20.0", "fsspec==2023.6.0", - "multidict==6.0.4", "urllib3<2", "sentencepiece==0.2.0", "onnx==1.18.0", @@ -48,8 +47,10 @@ dependencies = [ "torch@https://download.pytorch.org/whl/cpu/torch-2.4.1%2Bcpu-cp38-cp38-linux_x86_64.whl ; python_version=='3.8' and platform_machine=='x86_64'", "torch@https://download.pytorch.org/whl/cpu/torch-2.7.0%2Bcpu-cp39-cp39-manylinux_2_28_x86_64.whl ; python_version=='3.9' and platform_machine=='x86_64'", "torch@https://download.pytorch.org/whl/cpu/torch-2.7.0%2Bcpu-cp310-cp310-manylinux_2_28_x86_64.whl ; python_version=='3.10' and platform_machine=='x86_64'", + "torch@https://download.pytorch.org/whl/cpu/torch-2.7.0%2Bcpu-cp312-cp312-manylinux_2_28_x86_64.whl ; python_version=='3.12' and platform_machine=='x86_64'", "torchvision@https://download.pytorch.org/whl/cpu/torchvision-0.22.0%2Bcpu-cp39-cp39-manylinux_2_28_x86_64.whl ; python_version=='3.9' and platform_machine=='x86_64'", "torchvision@https://download.pytorch.org/whl/cpu/torchvision-0.22.0%2Bcpu-cp310-cp310-manylinux_2_28_x86_64.whl ; python_version=='3.10' and platform_machine=='x86_64'", + "torchvision@https://download.pytorch.org/whl/cpu/torchvision-0.22.0%2Bcpu-cp312-cp312-manylinux_2_28_x86_64.whl ; python_version=='3.12' and platform_machine=='x86_64'", ] [project.optional-dependencies] diff --git a/scripts/Jenkinsfile b/scripts/Jenkinsfile index 3420c025b..c0225aadd 100644 --- a/scripts/Jenkinsfile +++ b/scripts/Jenkinsfile @@ -17,11 +17,12 @@ pipeline { sudo docker exec ${BUILD_TAG} bash -c " cd /efficient-transformers && apt update && - apt install -y python3.10-venv && - python3.10 -m venv preflight_qeff && + DEBIAN_FRONTEND=noninteractive apt install -y tzdata python3.12-venv python3.12-dev build-essential && + python3.12 -m venv preflight_qeff && . preflight_qeff/bin/activate && pip install --upgrade pip setuptools && pip install .[test] && + pip install .[diffusers] && pip install junitparser pytest-xdist && pip install librosa==0.10.2 soundfile==0.13.1 && #packages needed to load example for whisper testing pip install --extra-index-url https://download.pytorch.org/whl/cpu timm==1.0.14 torchvision==0.22.0+cpu einops==0.8.1 && #packages to load VLMs