Skip to content

Commit 49e148c

Browse files
abukhoyquic-rishinr
authored andcommitted
Updating python3.12
Signed-off-by: Abukhoyer Shaik <abukhoye@qti.qualcomm.com>
1 parent 2e53fa5 commit 49e148c

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

pyproject.toml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ classifiers = [
1414
"Intended Audience :: Developers",
1515
"Intended Audience :: Education",
1616
"Operating System :: Linux",
17-
"Programming Language :: Python :: 3.10",
17+
"Programming Language :: Python :: 3.12",
1818
"Topic :: Scientific/Engineering :: Artificial Intelligence for Inference Accelerator",
1919
]
20-
requires-python = ">=3.8,<3.11"
20+
requires-python = ">=3.8,<3.13"
2121
dependencies = [
2222
"transformers==4.55.0",
2323
"diffusers== 0.35.1",
@@ -26,7 +26,6 @@ dependencies = [
2626
"peft==0.17.0",
2727
"datasets==2.20.0",
2828
"fsspec==2023.6.0",
29-
"multidict==6.0.4",
3029
"urllib3<2",
3130
"sentencepiece==0.2.0",
3231
"onnx==1.18.0",
@@ -48,8 +47,10 @@ dependencies = [
4847
"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'",
4948
"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'",
5049
"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'",
50+
"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'",
5151
"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'",
5252
"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'",
53+
"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'",
5354
]
5455

5556
[project.optional-dependencies]

scripts/Jenkinsfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,12 @@ pipeline {
1717
sudo docker exec ${BUILD_TAG} bash -c "
1818
cd /efficient-transformers &&
1919
apt update &&
20-
apt install -y python3.10-venv &&
21-
python3.10 -m venv preflight_qeff &&
20+
DEBIAN_FRONTEND=noninteractive apt install -y tzdata python3.12-venv python3.12-dev build-essential &&
21+
python3.12 -m venv preflight_qeff &&
2222
. preflight_qeff/bin/activate &&
2323
pip install --upgrade pip setuptools &&
2424
pip install .[test] &&
25+
pip install .[diffusers] &&
2526
pip install junitparser pytest-xdist &&
2627
pip install librosa==0.10.2 soundfile==0.13.1 && #packages needed to load example for whisper testing
2728
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

0 commit comments

Comments
 (0)