Skip to content

Commit

Permalink
fix: absl package version change
Browse files Browse the repository at this point in the history
  • Loading branch information
init-22 committed Nov 14, 2024
1 parent ce99901 commit 21fb3f9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
12 changes: 7 additions & 5 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 21fb3f9

Please sign in to comment.