From 31e292cd0cfb21a00daf3599dc1e34c1a27f68ac Mon Sep 17 00:00:00 2001 From: Joongi Kim Date: Fri, 20 Sep 2024 17:36:13 +0900 Subject: [PATCH 1/4] feat: Update krunner dependencies --- src/ai/backend/krunner/static_gnu/requirements.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/ai/backend/krunner/static_gnu/requirements.txt b/src/ai/backend/krunner/static_gnu/requirements.txt index 0f8246f..b96ba0b 100644 --- a/src/ai/backend/krunner/static_gnu/requirements.txt +++ b/src/ai/backend/krunner/static_gnu/requirements.txt @@ -1,7 +1,7 @@ -pyzmq~=25.1 -uvloop~=0.19 -attrs~=23.2 +pyzmq~=26.2 +uvloop~=0.20 +attrs~=24.2 janus~=1.0 -msgpack~=1.0 +msgpack~=1.1 jupyter-client~=8.6.1 setproctitle~=1.3.3 From a86af43c265731323228b9478bcc603a4cb0cde6 Mon Sep 17 00:00:00 2001 From: Joongi Kim Date: Fri, 20 Sep 2024 21:05:24 +0900 Subject: [PATCH 2/4] feat: Update the indygreg asset URL for Pythohn 3.12.6 --- .../krunner/static_gnu/krunner-python.static-gnu.dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ai/backend/krunner/static_gnu/krunner-python.static-gnu.dockerfile b/src/ai/backend/krunner/static_gnu/krunner-python.static-gnu.dockerfile index 9a0b51f..5f0c3ce 100644 --- a/src/ai/backend/krunner/static_gnu/krunner-python.static-gnu.dockerfile +++ b/src/ai/backend/krunner/static_gnu/krunner-python.static-gnu.dockerfile @@ -6,7 +6,7 @@ ARG PREFIX=/opt/backend.ai ARG ARCH=x86_64 ENV PATH=${PREFIX}/bin:$PATH \ - PYTHON_VERSION=3.12.2 \ + PYTHON_VERSION=3.12.6 \ LANG=C.UTF-8 RUN <<-EOF @@ -27,9 +27,9 @@ RUN <<-EOF mkdir -p ${PREFIX} cd /root if [ "${ARCH}" = "x86_64" ]; then - wget -q -O python.tar.zst "https://github.com/indygreg/python-build-standalone/releases/download/20240224/cpython-3.12.2+20240224-x86_64_v2-unknown-linux-gnu-pgo-full.tar.zst" + wget -q -O python.tar.zst "https://github.com/indygreg/python-build-standalone/releases/download/20240909/cpython-3.12.6+20240909-x86_64_v2-unknown-linux-gnu-pgo-full.tar.zst" else - wget -q -O python.tar.zst "https://github.com/indygreg/python-build-standalone/releases/download/20240224/cpython-3.12.2+20240224-aarch64-unknown-linux-gnu-noopt-full.tar.zst" + wget -q -O python.tar.zst "https://github.com/indygreg/python-build-standalone/releases/download/20240909/cpython-3.12.6+20240909-aarch64-unknown-linux-gnu-noopt-full.tar.zst" fi tar -I zstd -xC . --strip-components=1 -f python.tar.zst mv /root/install/* ${PREFIX}/ From 2867ceea8507e5d2f41f3d678e04b0ea1b05777d Mon Sep 17 00:00:00 2001 From: Joongi Kim Date: Fri, 20 Sep 2024 21:07:19 +0900 Subject: [PATCH 3/4] feat: Increment the krunner volume version (12 -> 13) --- .../krunner/static_gnu/krunner-env.static-gnu.dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ai/backend/krunner/static_gnu/krunner-env.static-gnu.dockerfile b/src/ai/backend/krunner/static_gnu/krunner-env.static-gnu.dockerfile index 93e82c1..0fbcdf5 100644 --- a/src/ai/backend/krunner/static_gnu/krunner-env.static-gnu.dockerfile +++ b/src/ai/backend/krunner/static_gnu/krunner-env.static-gnu.dockerfile @@ -29,7 +29,7 @@ RUN chmod +x ${PREFIX}/bin/ttyd RUN cd ${PREFIX}; \ tar cf /root/image.tar ./* -LABEL ai.backend.krunner.version=12 +LABEL ai.backend.krunner.version=13 CMD ["${PREFIX}/bin/python"] # vim: ft=dockerfile From 052dd4a0d0cb6c325469d7de35c4df08c5019a2b Mon Sep 17 00:00:00 2001 From: Joongi Kim Date: Fri, 20 Sep 2024 21:11:12 +0900 Subject: [PATCH 4/4] chore: Confirm local build --- .../backend/krunner/static_gnu/krunner-version.static-gnu.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ai/backend/krunner/static_gnu/krunner-version.static-gnu.txt b/src/ai/backend/krunner/static_gnu/krunner-version.static-gnu.txt index 3cacc0b..ca7bf83 100644 --- a/src/ai/backend/krunner/static_gnu/krunner-version.static-gnu.txt +++ b/src/ai/backend/krunner/static_gnu/krunner-version.static-gnu.txt @@ -1 +1 @@ -12 \ No newline at end of file +13 \ No newline at end of file