ejschwartz commited on
Commit
b375f14
·
1 Parent(s): 665a461
Files changed (1) hide show
  1. Dockerfile +3 -1
Dockerfile CHANGED
@@ -2,6 +2,8 @@
2
  #FROM nvidia/cuda:11.8.0-devel-ubuntu22.04
3
  FROM ubuntu:latest
4
 
 
 
5
  # Install dependencies
6
  RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \
7
  --mount=type=cache,target=/var/lib/apt,sharing=locked \
@@ -26,7 +28,7 @@ RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \
26
  #RUN pip install --break-system-packages --pre torch-mlir torch \
27
  # --extra-index-url https://download.pytorch.org/whl/nightly/cpu \
28
  # -f https://github.com/llvm/torch-mlir-release/releases/expanded_assets/dev-wheels
29
- RUN pip install --break-system-packages --upgrade pip
30
  RUN GIT_SSL_NO_VERIFY=true pip install --break-system-packages git+https://github.com/llvm/torch-mlir.git
31
 
32
  # Add PyTorch-MLIR tools to PATH
 
2
  #FROM nvidia/cuda:11.8.0-devel-ubuntu22.04
3
  FROM ubuntu:latest
4
 
5
+ ENV PIP_BREAK_SYSTEM_PACKAGES=1
6
+
7
  # Install dependencies
8
  RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \
9
  --mount=type=cache,target=/var/lib/apt,sharing=locked \
 
28
  #RUN pip install --break-system-packages --pre torch-mlir torch \
29
  # --extra-index-url https://download.pytorch.org/whl/nightly/cpu \
30
  # -f https://github.com/llvm/torch-mlir-release/releases/expanded_assets/dev-wheels
31
+ RUN pip install --upgrade pip
32
  RUN GIT_SSL_NO_VERIFY=true pip install --break-system-packages git+https://github.com/llvm/torch-mlir.git
33
 
34
  # Add PyTorch-MLIR tools to PATH