From dc0fba38a85eef8bb845dfac0ca72461e6920a0b Mon Sep 17 00:00:00 2001 From: Platform Engineering Bot Date: Wed, 29 May 2024 08:55:15 +0000 Subject: [PATCH 1/2] chore(deps): update auto merged updates Signed-off-by: Platform Engineering Bot --- convert_models/Containerfile | 2 +- eval/promptfoo/base/Containerfile | 2 +- model_servers/llamacpp_python/base/Containerfile | 2 +- model_servers/llamacpp_python/src/requirements.txt | 2 +- model_servers/llamacpp_python/vulkan/Containerfile | 2 +- model_servers/object_detection_python/base/Containerfile | 2 +- model_servers/object_detection_python/src/requirements.txt | 6 +++--- models/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 +- .../natural_language_processing/chatbot/app/Containerfile | 2 +- .../natural_language_processing/codegen/app/Containerfile | 2 +- recipes/natural_language_processing/rag/app/Containerfile | 2 +- .../summarizer/app/Containerfile | 2 +- requirements-test.txt | 2 +- 16 files changed, 18 insertions(+), 18 deletions(-) diff --git a/convert_models/Containerfile b/convert_models/Containerfile index 10eb1ce7..3e9a58c8 100644 --- a/convert_models/Containerfile +++ b/convert_models/Containerfile @@ -1,4 +1,4 @@ -FROM registry.access.redhat.com/ubi9/python-311:1-62.1714671026 +FROM registry.access.redhat.com/ubi9/python-311:1-62.1716478620 WORKDIR /opt/app-root/src/converter USER root RUN chown -R default:root /opt/app-root/src/converter diff --git a/eval/promptfoo/base/Containerfile b/eval/promptfoo/base/Containerfile index 3c05fe95..b4cbb270 100644 --- a/eval/promptfoo/base/Containerfile +++ b/eval/promptfoo/base/Containerfile @@ -1,4 +1,4 @@ -FROM registry.access.redhat.com/ubi9/nodejs-20-minimal:1-47.1715773198 +FROM registry.access.redhat.com/ubi9/nodejs-20-minimal:1-47.1716472878 WORKDIR /promptfoo RUN npm install promptfoo ENV PROMPTFOO_DISABLE_TELEMETRY=1 diff --git a/model_servers/llamacpp_python/base/Containerfile b/model_servers/llamacpp_python/base/Containerfile index c3122c76..e1a1516a 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-311:1-62.1714671026 +FROM registry.access.redhat.com/ubi9/python-311:1-62.1716478620 WORKDIR /locallm COPY src . USER root diff --git a/model_servers/llamacpp_python/src/requirements.txt b/model_servers/llamacpp_python/src/requirements.txt index 492177a7..28ca6806 100644 --- a/model_servers/llamacpp_python/src/requirements.txt +++ b/model_servers/llamacpp_python/src/requirements.txt @@ -1,2 +1,2 @@ -llama-cpp-python[server]==0.2.75 +llama-cpp-python[server]==0.2.76 pip==24.0 diff --git a/model_servers/llamacpp_python/vulkan/Containerfile b/model_servers/llamacpp_python/vulkan/Containerfile index ab259b39..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-311:1-62.1714671026 +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 3849cea3..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-311:1-62.1714671026 +FROM registry.access.redhat.com/ubi9/python-311:1-62.1716478620 ARG PORT=8000 WORKDIR /app COPY src . diff --git a/model_servers/object_detection_python/src/requirements.txt b/model_servers/object_detection_python/src/requirements.txt index 41c64aed..7edf84ef 100644 --- a/model_servers/object_detection_python/src/requirements.txt +++ b/model_servers/object_detection_python/src/requirements.txt @@ -7,7 +7,7 @@ fastapi==0.111.0 filelock==3.14.0 fsspec==2024.3.1 h11==0.14.0 -huggingface-hub==0.23.0 +huggingface-hub==0.23.2 idna==3.7 Jinja2==3.1.4 MarkupSafe==2.1.5 @@ -16,8 +16,8 @@ networkx==3.3 numpy==1.26.4 packaging==24.0 pillow==10.3.0 -pydantic==2.7.1 -pydantic_core==2.18.2 +pydantic==2.7.2 +pydantic_core==2.18.3 PyYAML==6.0.1 regex==2024.4.28 requests==2.31.0 diff --git a/models/Containerfile b/models/Containerfile index 10dd889e..1a372211 100644 --- a/models/Containerfile +++ b/models/Containerfile @@ -7,7 +7,7 @@ # https://huggingface.co/ggerganov/whisper.cpp/resolve/main/ggml-small.bin # podman build --build-arg="MODEL_URL=https://..." -t quay.io/yourimage . # -FROM registry.access.redhat.com/ubi9/ubi-micro:9.4-6 +FROM registry.access.redhat.com/ubi9/ubi-micro:9.4-6.1716471860 # Can be substituted using the --build-arg defined above ARG MODEL_URL=https://huggingface.co/instructlab/granite-7b-lab-GGUF/resolve/main/granite-7b-lab-Q4_K_M.gguf diff --git a/recipes/audio/audio_to_text/app/Containerfile b/recipes/audio/audio_to_text/app/Containerfile index f1f58528..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-311:1-62.1714671026 +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 1681b95f..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-311:1-62.1714671026 +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 ff04e0eb..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-311:1-62.1714671026 +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 8ad27324..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-311:1-62.1714671026 +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 d6bd522f..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-311:1-62.1714671026 +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 fff7caba..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-311:1-62.1714671026 +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 f5791364..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-311:1-62.1714671026 +FROM registry.access.redhat.com/ubi9/python-311:1-62.1716478620 WORKDIR /summarizer COPY requirements.txt . RUN pip install --upgrade pip diff --git a/requirements-test.txt b/requirements-test.txt index 0de523b8..0b86a7d5 100644 --- a/requirements-test.txt +++ b/requirements-test.txt @@ -1,7 +1,7 @@ pip==24.0 pytest-container==0.4.2 pytest-selenium==4.1.0 -pytest-testinfra==10.1.0 +pytest-testinfra==10.1.1 pytest==8.2.1 requests==2.31.0 selenium==4.20.0 From 7d94e223611a76670763f1fd46c8c67e92394486 Mon Sep 17 00:00:00 2001 From: greg pereira Date: Wed, 29 May 2024 07:58:10 -0700 Subject: [PATCH 2/2] bump python to 3.12 version in containerfile Signed-off-by: greg pereira --- recipes/natural_language_processing/rag/app/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes/natural_language_processing/rag/app/requirements.txt b/recipes/natural_language_processing/rag/app/requirements.txt index 42afe82f..70907349 100644 --- a/recipes/natural_language_processing/rag/app/requirements.txt +++ b/recipes/natural_language_processing/rag/app/requirements.txt @@ -4,5 +4,5 @@ chromadb==0.5.0 sentence-transformers==2.7.0 streamlit==1.34.0 pypdf==4.2.0 -pymilvus==2.4.3 +pymilvus==2.4.1