Skip to content

Commit

Permalink
[Bazel] Make pytorch-requirements.txt available within the docker con…
Browse files Browse the repository at this point in the history
…tainer (#1439)

Updates the bazel Dockerfile to match changes from #1419. This should get the bazel build back to green.

Also triggered bazel build on GHA here: https://github.com/sjain-stanford/torch-mlir/actions/runs/3154741943. Let's wait for it to complete before landing this.
  • Loading branch information
sjain-stanford authored Sep 29, 2022
1 parent cf41a25 commit 0765449
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion utils/bazel/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,9 @@ RUN wget -q https://github.com/bazelbuild/bazel/releases/download/${BAZEL_VERSIO
&& chmod a+x /usr/bin/bazel

COPY requirements.txt /opt/app/requirements.txt
COPY pytorch-requirements.txt /opt/app/pytorch-requirements.txt
WORKDIR /opt/app
RUN python -m pip install --upgrade pip
RUN python -m pip install --ignore-installed -r requirements.txt
RUN python -m pip install --upgrade --ignore-installed -r requirements.txt

WORKDIR /opt/src/torch-mlir

0 comments on commit 0765449

Please sign in to comment.