gregorkrzmanc commited on
Commit
61b5223
·
1 Parent(s): b085dea
Files changed (1) hide show
  1. Dockerfile +9 -9
Dockerfile CHANGED
@@ -1,20 +1,15 @@
1
- # gkrz/lgatr:v3
2
  # docker build -t gkrz/lgatr:v4 .
3
  FROM nvidia/cuda:11.8.0-runtime-ubuntu22.04
4
 
5
  WORKDIR /app
6
- RUN ls .
7
  COPY . /app
8
 
9
  SHELL ["/bin/bash", "-c"]
10
 
11
  USER root
12
 
13
- RUN ls /app
14
- RUN ls /app/src
15
- RUN ls /app/src/1models/
16
- RUN ls /app/src/1models/LGATr
17
-
18
  RUN apt update && \
19
  DEBIAN_FRONTEND=noninteractive apt install --yes --no-install-recommends \
20
  build-essential \
@@ -36,9 +31,14 @@ RUN python3 -m pip install --no-cache-dir --upgrade pip
36
  RUN python3 -m pip install numba==0.58.1
37
  # packages without conda
38
  # RUN python3 -m pip install --no-cache-dir torch==1.13.1+cu117 torchvision==0.14.1+cu117 torchaudio==0.13.1 --extra-index-url https://download.pytorch.org/whl/cu117
39
- RUN python3 -m pip install torch torchvision torchaudio
40
  RUN python3 -m pip install torch_geometric
41
- RUN python3 -m pip install torch_scatter torch_sparse torch_cluster torch_spline_conv
 
 
 
 
 
42
  RUN python3 -m pip install pytorch-lightning yacs torchmetrics
43
  RUN python3 -m pip install performer-pytorch
44
  RUN python3 -m pip install tensorboardX
 
1
+ ## gkrz/lgatr:v3
2
  # docker build -t gkrz/lgatr:v4 .
3
  FROM nvidia/cuda:11.8.0-runtime-ubuntu22.04
4
 
5
  WORKDIR /app
6
+
7
  COPY . /app
8
 
9
  SHELL ["/bin/bash", "-c"]
10
 
11
  USER root
12
 
 
 
 
 
 
13
  RUN apt update && \
14
  DEBIAN_FRONTEND=noninteractive apt install --yes --no-install-recommends \
15
  build-essential \
 
31
  RUN python3 -m pip install numba==0.58.1
32
  # packages without conda
33
  # RUN python3 -m pip install --no-cache-dir torch==1.13.1+cu117 torchvision==0.14.1+cu117 torchaudio==0.13.1 --extra-index-url https://download.pytorch.org/whl/cu117
34
+ RUN python3 -m pip install torch==2.5.1 torchvision torchaudio
35
  RUN python3 -m pip install torch_geometric
36
+ #RUN python3 -m pip install torch_scatter torch_sparse
37
+ RUN python3 -m pip install torch-scatter -f https://data.pyg.org/whl/torch-2.5.1.html
38
+ RUN python3 -m pip install torch-sparse -f https://data.pyg.org/whl/torch-2.5.1.html
39
+ RUN python3 -m pip install torch-cluster -f https://data.pyg.org/whl/torch-2.5.1.html
40
+
41
+
42
  RUN python3 -m pip install pytorch-lightning yacs torchmetrics
43
  RUN python3 -m pip install performer-pytorch
44
  RUN python3 -m pip install tensorboardX