From 44e4c70487e09365c7bacd9604fa76f70914fe3a Mon Sep 17 00:00:00 2001 From: Gregory Pereira Date: Thu, 6 Jun 2024 07:52:18 -0700 Subject: [PATCH] Revert "bump python 3.11 to 3.12" Signed-off-by: greg pereira --- model_servers/llamacpp_python/base/Containerfile | 2 +- model_servers/llamacpp_python/vulkan/Containerfile | 2 +- model_servers/object_detection_python/base/Containerfile | 2 +- recipes/audio/audio_to_text/app/Containerfile | 2 +- recipes/computer_vision/object_detection/app/Containerfile | 2 +- recipes/multimodal/image_understanding/app/Containerfile | 2 +- recipes/natural_language_processing/chatbot/app/Containerfile | 2 +- recipes/natural_language_processing/codegen/app/Containerfile | 2 +- recipes/natural_language_processing/rag/app/Containerfile | 2 +- .../natural_language_processing/summarizer/app/Containerfile | 2 +- 10 files changed, 10 insertions(+), 10 deletions(-) diff --git a/model_servers/llamacpp_python/base/Containerfile b/model_servers/llamacpp_python/base/Containerfile index 8af3ef02..2b58c966 100644 --- a/model_servers/llamacpp_python/base/Containerfile +++ b/model_servers/llamacpp_python/base/Containerfile @@ -1,4 +1,4 @@ -FROM registry.access.redhat.com/ubi9/python-312:1-10.1716478623 +FROM registry.access.redhat.com/ubi9/python-311:1-62.1716478620 ENV CHAT_FORMAT=llama-2 WORKDIR /locallm COPY src . diff --git a/model_servers/llamacpp_python/vulkan/Containerfile b/model_servers/llamacpp_python/vulkan/Containerfile index 2bfcf083..c85c9a59 100644 --- a/model_servers/llamacpp_python/vulkan/Containerfile +++ b/model_servers/llamacpp_python/vulkan/Containerfile @@ -1,4 +1,4 @@ -FROM registry.access.redhat.com/ubi9/python-312:1-10.1716478623 +FROM registry.access.redhat.com/ubi9/python-311:1-62.1716478620 USER 0 RUN dnf install -y python3-dnf-plugin-versionlock && \ dnf copr enable -y slp/mesa-krunkit epel-9-aarch64 && \ diff --git a/model_servers/object_detection_python/base/Containerfile b/model_servers/object_detection_python/base/Containerfile index 8fa53d74..c1897ddc 100644 --- a/model_servers/object_detection_python/base/Containerfile +++ b/model_servers/object_detection_python/base/Containerfile @@ -1,4 +1,4 @@ -FROM registry.access.redhat.com/ubi9/python-312:1-10.1716478623 +FROM registry.access.redhat.com/ubi9/python-311:1-62.1716478620 ARG PORT=8000 WORKDIR /app COPY src . diff --git a/recipes/audio/audio_to_text/app/Containerfile b/recipes/audio/audio_to_text/app/Containerfile index 327ae4ab..aada0938 100644 --- a/recipes/audio/audio_to_text/app/Containerfile +++ b/recipes/audio/audio_to_text/app/Containerfile @@ -1,4 +1,4 @@ -FROM registry.access.redhat.com/ubi9/python-312:1-10.1716478623 +FROM registry.access.redhat.com/ubi9/python-311:1-62.1716478620 WORKDIR /locallm COPY requirements.txt /locallm/requirements.txt RUN pip install --upgrade pip && \ diff --git a/recipes/computer_vision/object_detection/app/Containerfile b/recipes/computer_vision/object_detection/app/Containerfile index 8d050be2..9a6e97de 100644 --- a/recipes/computer_vision/object_detection/app/Containerfile +++ b/recipes/computer_vision/object_detection/app/Containerfile @@ -1,4 +1,4 @@ -FROM registry.access.redhat.com/ubi9/python-312:1-10.1716478623 +FROM registry.access.redhat.com/ubi9/python-311:1-62.1716478620 WORKDIR /locallm COPY requirements.txt /locallm/requirements.txt RUN pip install --upgrade pip && \ diff --git a/recipes/multimodal/image_understanding/app/Containerfile b/recipes/multimodal/image_understanding/app/Containerfile index 4d638e71..f0a4412c 100644 --- a/recipes/multimodal/image_understanding/app/Containerfile +++ b/recipes/multimodal/image_understanding/app/Containerfile @@ -1,4 +1,4 @@ -FROM registry.access.redhat.com/ubi9/python-312:1-10.1716478623 +FROM registry.access.redhat.com/ubi9/python-311:1-62.1716478620 WORKDIR /image_understanding COPY requirements.txt . RUN pip install --upgrade pip && \ diff --git a/recipes/natural_language_processing/chatbot/app/Containerfile b/recipes/natural_language_processing/chatbot/app/Containerfile index f23f89cf..e919757a 100644 --- a/recipes/natural_language_processing/chatbot/app/Containerfile +++ b/recipes/natural_language_processing/chatbot/app/Containerfile @@ -1,4 +1,4 @@ -FROM registry.access.redhat.com/ubi9/python-312:1-10.1716478623 +FROM registry.access.redhat.com/ubi9/python-311:1-62.1716478620 WORKDIR /chat COPY requirements.txt . RUN pip install --upgrade pip diff --git a/recipes/natural_language_processing/codegen/app/Containerfile b/recipes/natural_language_processing/codegen/app/Containerfile index f91da83e..ae076b73 100644 --- a/recipes/natural_language_processing/codegen/app/Containerfile +++ b/recipes/natural_language_processing/codegen/app/Containerfile @@ -1,4 +1,4 @@ -FROM registry.access.redhat.com/ubi9/python-312:1-10.1716478623 +FROM registry.access.redhat.com/ubi9/python-311:1-62.1716478620 WORKDIR /codegen COPY requirements.txt . RUN pip install --upgrade pip diff --git a/recipes/natural_language_processing/rag/app/Containerfile b/recipes/natural_language_processing/rag/app/Containerfile index 14e714c3..fd130a7a 100644 --- a/recipes/natural_language_processing/rag/app/Containerfile +++ b/recipes/natural_language_processing/rag/app/Containerfile @@ -1,4 +1,4 @@ -FROM registry.access.redhat.com/ubi9/python-312:1-10.1716478623 +FROM registry.access.redhat.com/ubi9/python-311:1-62.1716478620 ### Update sqlite for chroma USER root RUN dnf remove sqlite3 -y diff --git a/recipes/natural_language_processing/summarizer/app/Containerfile b/recipes/natural_language_processing/summarizer/app/Containerfile index e29559d9..09ff583d 100644 --- a/recipes/natural_language_processing/summarizer/app/Containerfile +++ b/recipes/natural_language_processing/summarizer/app/Containerfile @@ -1,4 +1,4 @@ -FROM registry.access.redhat.com/ubi9/python-312:1-10.1716478623 +FROM registry.access.redhat.com/ubi9/python-311:1-62.1716478620 WORKDIR /summarizer COPY requirements.txt . RUN pip install --upgrade pip