From b1f71d96781711b6821cfdf27c2cb0f465cb53d4 Mon Sep 17 00:00:00 2001 From: Abukhoyer Shaik Date: Wed, 5 Nov 2025 06:12:49 +0000 Subject: [PATCH 1/6] python3.12 Experimenting Signed-off-by: Abukhoyer Shaik --- pyproject.toml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index ea3c3405d..b6b1a83cb 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", "huggingface-hub==0.34.0", @@ -44,6 +44,7 @@ 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'", ] [project.optional-dependencies] From 73c4cb815e7dbfbdb26d022dc1e2f747ef0d5a56 Mon Sep 17 00:00:00 2001 From: Abukhoyer Shaik Date: Wed, 5 Nov 2025 06:14:00 +0000 Subject: [PATCH 2/6] python3.12 Experimenting Signed-off-by: Abukhoyer Shaik --- scripts/Jenkinsfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/Jenkinsfile b/scripts/Jenkinsfile index d9d391d47..ed7c39569 100644 --- a/scripts/Jenkinsfile +++ b/scripts/Jenkinsfile @@ -17,8 +17,8 @@ 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 && + apt install -y python3.12-venv && + python3.12 -m venv preflight_qeff && . preflight_qeff/bin/activate && pip install --upgrade pip setuptools && pip install .[test] && From 71deb9ca12c35ab7fe28220a14aaa8afe325b024 Mon Sep 17 00:00:00 2001 From: Abukhoyer Shaik Date: Fri, 7 Nov 2025 08:39:23 +0000 Subject: [PATCH 3/6] python3.12 installation Signed-off-by: Abukhoyer Shaik --- scripts/Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/Jenkinsfile b/scripts/Jenkinsfile index ed7c39569..6e2ec7578 100644 --- a/scripts/Jenkinsfile +++ b/scripts/Jenkinsfile @@ -17,7 +17,7 @@ pipeline { sudo docker exec ${BUILD_TAG} bash -c " cd /efficient-transformers && apt update && - apt install -y python3.12-venv && + DEBIAN_FRONTEND=noninteractive apt install -y tzdata python3.12-venv && python3.12 -m venv preflight_qeff && . preflight_qeff/bin/activate && pip install --upgrade pip setuptools && From eb6a8560f09eca9dd22522661a0c0220f49d2474 Mon Sep 17 00:00:00 2001 From: Onkar Chougule <168134249+ochougul@users.noreply.github.com> Date: Thu, 20 Nov 2025 12:21:43 +0530 Subject: [PATCH 4/6] Update Jenkinsfile added build-essential and dev apt packages Signed-off-by: Onkar Chougule <168134249+ochougul@users.noreply.github.com> --- scripts/Jenkinsfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/Jenkinsfile b/scripts/Jenkinsfile index 6e2ec7578..619349656 100644 --- a/scripts/Jenkinsfile +++ b/scripts/Jenkinsfile @@ -17,7 +17,7 @@ pipeline { sudo docker exec ${BUILD_TAG} bash -c " cd /efficient-transformers && apt update && - DEBIAN_FRONTEND=noninteractive apt install -y tzdata python3.12-venv && + 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 && @@ -216,4 +216,4 @@ pipeline { deleteDir() } } -} \ No newline at end of file +} From 853348be1efbc0382f81ac48f052ecabb59706c9 Mon Sep 17 00:00:00 2001 From: Onkar Chougule <168134249+ochougul@users.noreply.github.com> Date: Thu, 20 Nov 2025 14:08:05 +0530 Subject: [PATCH 5/6] Update Jenkinsfile, disabled finetuning tests Signed-off-by: Onkar Chougule <168134249+ochougul@users.noreply.github.com> --- scripts/Jenkinsfile | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/scripts/Jenkinsfile b/scripts/Jenkinsfile index 619349656..c1ba80601 100644 --- a/scripts/Jenkinsfile +++ b/scripts/Jenkinsfile @@ -25,7 +25,7 @@ pipeline { 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 - pip install /opt/qti-aic/integrations/torch_qaic/py310/torch_qaic-0.1.0-cp310-cp310-linux_x86_64.whl && # For finetuning tests + // pip install /opt/qti-aic/integrations/torch_qaic/py310/torch_qaic-0.1.0-cp310-cp310-linux_x86_64.whl && # For finetuning tests rm -rf QEfficient" ''' } @@ -161,23 +161,23 @@ pipeline { // } // } // } - stage('Finetune CLI Tests') { - steps { - timeout(time: 5, unit: 'MINUTES') { - sh ''' - sudo docker exec ${BUILD_TAG} bash -c " - cd /efficient-transformers && - . preflight_qeff/bin/activate && - mkdir -p $PWD/cli_qaic_finetuning && - export TOKENIZERS_PARALLELISM=false && - export QEFF_HOME=$PWD/cli_qaic_finetuning && - pytest tests -m '(cli) and (on_qaic) and (not qnn) and (not multimodal) and (finetune)' --ignore tests/vllm --junitxml=tests/tests_log_finetune.xml && - junitparser merge tests/tests_log_finetune.xml tests/tests_log.xml && - deactivate" - ''' - } - } - } + // stage('Finetune CLI Tests') { + // steps { + // timeout(time: 5, unit: 'MINUTES') { + // sh ''' + // sudo docker exec ${BUILD_TAG} bash -c " + // cd /efficient-transformers && + // . preflight_qeff/bin/activate && + // mkdir -p $PWD/cli_qaic_finetuning && + // export TOKENIZERS_PARALLELISM=false && + // export QEFF_HOME=$PWD/cli_qaic_finetuning && + // pytest tests -m '(cli) and (on_qaic) and (not qnn) and (not multimodal) and (finetune)' --ignore tests/vllm --junitxml=tests/tests_log_finetune.xml && + // junitparser merge tests/tests_log_finetune.xml tests/tests_log.xml && + // deactivate" + // ''' + // } + // } + // } } post { From 91b0bf625a8b57b661e0f36784cce5cd603de5ba Mon Sep 17 00:00:00 2001 From: Abukhoyer Shaik Date: Mon, 24 Nov 2025 06:50:15 +0000 Subject: [PATCH 6/6] small fix bash comment Signed-off-by: Abukhoyer Shaik --- scripts/Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/Jenkinsfile b/scripts/Jenkinsfile index c1ba80601..5e2af28c7 100644 --- a/scripts/Jenkinsfile +++ b/scripts/Jenkinsfile @@ -25,7 +25,7 @@ pipeline { 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 - // pip install /opt/qti-aic/integrations/torch_qaic/py310/torch_qaic-0.1.0-cp310-cp310-linux_x86_64.whl && # For finetuning tests + #pip install /opt/qti-aic/integrations/torch_qaic/py310/torch_qaic-0.1.0-cp310-cp310-linux_x86_64.whl && # For finetuning tests rm -rf QEfficient" ''' }