From 21fb3f902d5744c8331be89f896c2376977f7f12 Mon Sep 17 00:00:00 2001 From: init-22 Date: Thu, 14 Nov 2024 23:46:17 +0530 Subject: [PATCH] fix: absl package version change --- docker/Dockerfile | 12 +++++++----- setup.cfg | 2 +- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index 24d05b495..497ffb2c1 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -28,9 +28,9 @@ RUN apt-get update && apt-get install -y \ # Download and install Python 3.11 RUN cd /tmp \ - && wget https://www.python.org/ftp/python/3.11.0/Python-3.11.0.tgz \ - && tar -xvzf Python-3.11.0.tgz \ - && cd Python-3.11.0 \ + && wget https://www.python.org/ftp/python/3.11.10/Python-3.11.10.tgz \ + && tar -xvzf Python-3.11.10.tgz \ + && cd Python-3.11.10 \ && ./configure --enable-optimizations \ && make -j$(nproc) \ && make altinstall @@ -55,11 +55,13 @@ RUN echo "Setting up directories for data and experiment_runs" RUN mkdir -p data/ RUN mkdir -p experiment_runs/ +RUN pip install --upgrade pip + # Install Algorithmic efficiency repo RUN echo "Setting up algorithmic_efficiency repo" -ARG branch="main" +ARG branch="python311" ARG framework="both" -ARG git_url=https://github.com/mlcommons/algorithmic-efficiency.git +ARG git_url=https://github.com/init-22/algorithmic-efficiency.git RUN git clone $git_url && cd /algorithmic-efficiency RUN cd /algorithmic-efficiency && git checkout $branch diff --git a/setup.cfg b/setup.cfg index deeb1c6c4..e952513df 100644 --- a/setup.cfg +++ b/setup.cfg @@ -35,7 +35,7 @@ setup_requires = setuptools_scm # Dependencies of the project: install_requires = - absl-py==2.1.1 + absl-py==2.1.0 # Pin to avoid unpinned install in dependencies that requires Python>=3.9. networkx==3.2.1 docker==7.1.0