Skip to content

Commit

Permalink
Merge branch 'master' of github.com:mila-iqia/milabench
Browse files Browse the repository at this point in the history
  • Loading branch information
pierre.delaunay committed Nov 22, 2024
2 parents 6653901 + 14d628a commit 63dd954
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 17 deletions.
5 changes: 1 addition & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,4 @@ We are working on validating it on more configurations and will update the above
------
Failure rate: 0.38% (PASS)
Score: 4175.57

Errors
------
1 errors, details in HTML report.

19 changes: 6 additions & 13 deletions docker/Dockerfile-rocm
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

FROM ubuntu:22.04

# Arguments
Expand All @@ -10,16 +11,17 @@ ARG CONFIG=standard.yaml
ENV MILABENCH_CONFIG_NAME=$CONFIG
ENV MILABENCH_DOCKER=1

ARG PYTHON="3.10"


# Paths
# -----

ENV MILABENCH_CONFIG=/milabench/milabench/config/$MILABENCH_CONFIG_NAME
ENV MILABENCH_BASE=/milabench/envs
ENV MILABENCH_OUTPUT=/milabench/results/
ENV MILABENCH_ARGS=""
ENV CONDA_PATH=/opt/anaconda

ENV MILABENCH_OUTPUT="$MILABENCH_BASE/runs"
ENV BENCHMARK_VENV="$MILABENCH_BASE/venv"

# Copy milabench
# --------------
Expand All @@ -37,22 +39,13 @@ COPY . /milabench/milabench/
# build-essential: for rust

RUN apt-get update &&\
apt-get install -y git build-essential curl &&\
apt-get install -y git build-essential curl python3.10 python-is-python3 python3-pip &&\
apt-get clean &&\
rm -rf /var/lib/apt/lists/*

RUN curl https://sh.rustup.rs -sSf | sh -s -- -y
ENV PATH="/root/.cargo/bin:${PATH}"

# Install Python
# --------------

# Install anaconda because milabench will need it later anyway
RUN curl https://repo.anaconda.com/miniconda/Miniconda3-py39_23.1.0-1-Linux-x86_64.sh -o ~/miniconda.sh && \
/bin/bash ~/miniconda.sh -b -p $CONDA_PATH && rm ~/miniconda.sh
ENV PATH=$CONDA_PATH/bin:$PATH


# Install Milabench
# -----------------

Expand Down

0 comments on commit 63dd954

Please sign in to comment.