From 1d1ca55dcb34fb2dda1bc6ca043ad9931bbf7eb0 Mon Sep 17 00:00:00 2001 From: deepanker13 Date: Mon, 8 Jan 2024 03:37:49 +0530 Subject: [PATCH] debugging github workflow failure --- sdk/python/Dockerfile.conformance | 4 ++-- sdk/python/setup.py | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/sdk/python/Dockerfile.conformance b/sdk/python/Dockerfile.conformance index ad7a8d018e..35d4fc1838 100644 --- a/sdk/python/Dockerfile.conformance +++ b/sdk/python/Dockerfile.conformance @@ -13,7 +13,7 @@ # limitations under the License. # Dockerfile for building the source code of conformance tests -FROM python:3.10 +FROM continuumio/miniconda3 WORKDIR /kubeflow/training-operator/sdk/python @@ -25,6 +25,6 @@ COPY sdk/python/conformance/run.sh . RUN chmod +x run.sh RUN pip install pytest -RUN python -m pip install -e . +RUN conda install . ENTRYPOINT [ "./run.sh" ] \ No newline at end of file diff --git a/sdk/python/setup.py b/sdk/python/setup.py index 0255d42137..9a7c650f8d 100644 --- a/sdk/python/setup.py +++ b/sdk/python/setup.py @@ -36,6 +36,9 @@ "peft>=0.3.0", "datasets>=2.13.2", "huggingface_hub>=0.16.4", + "pytorch>=1.13.1", + "torchvision>=0.9.1", + "torchaudio>=0.8.1", ] setuptools.setup(