perler commited on
Commit
fb29038
1 Parent(s): 4b7c5a5

packages and repo for ppsurf

Browse files
Files changed (2) hide show
  1. Dockerfile +5 -9
  2. requirements.txt +23 -16
Dockerfile CHANGED
@@ -1,4 +1,4 @@
1
- FROM nvidia/cuda:12.1.0-cudnn8-devel-ubuntu22.04
2
  ENV DEBIAN_FRONTEND=noninteractive
3
  RUN apt-get update && \
4
  apt-get upgrade -y && \
@@ -7,7 +7,6 @@ RUN apt-get update && \
7
  wget \
8
  curl \
9
  zip \
10
- # ffmpeg \
11
  ffmpeg \
12
  x264 \
13
  # python build dependencies \
@@ -35,22 +34,19 @@ WORKDIR ${HOME}/app
35
 
36
  RUN curl https://pyenv.run | bash
37
  ENV PATH=${HOME}/.pyenv/shims:${HOME}/.pyenv/bin:${PATH}
38
- ARG PYTHON_VERSION=3.10.11
39
  RUN pyenv install ${PYTHON_VERSION} && \
40
  pyenv global ${PYTHON_VERSION} && \
41
  pyenv rehash && \
42
  pip install --no-cache-dir -U pip setuptools wheel
43
 
44
- RUN pip install --no-cache-dir -U torch==2.1.1+cu121 torchvision>=0.16+cu121 --extra-index-url https://download.pytorch.org/whl/cu121
45
  COPY --chown=1000 requirements.txt /tmp
46
  RUN pip install --no-cache-dir -r /tmp/requirements.txt
47
- RUN pip install --no-cache-dir -U kaolin==0.15.0 -f https://nvidia-kaolin.s3.us-east-2.amazonaws.com/torch-2.1.1_cu121.html
48
- # RUN pip install --no-cache-dir -U gradio==4.19.1
49
 
50
  COPY --chown=1000 . ${HOME}/app
51
- RUN git clone https://github.com/TEXTurePaper/TEXTurePaper.git
52
- RUN cd TEXTurePaper && patch -p1 < ../patch
53
- # RUN cd ppsurf && patch -p1 < ../patch
54
  ENV PYTHONPATH=${HOME}/app \
55
  PYTHONUNBUFFERED=1 \
56
  GRADIO_ALLOW_FLAGGING=never \
 
1
+ FROM nvidia/cuda:12.3.2-cudnn9-devel-ubuntu22.04
2
  ENV DEBIAN_FRONTEND=noninteractive
3
  RUN apt-get update && \
4
  apt-get upgrade -y && \
 
7
  wget \
8
  curl \
9
  zip \
 
10
  ffmpeg \
11
  x264 \
12
  # python build dependencies \
 
34
 
35
  RUN curl https://pyenv.run | bash
36
  ENV PATH=${HOME}/.pyenv/shims:${HOME}/.pyenv/bin:${PATH}
37
+ ARG PYTHON_VERSION=3.11.8
38
  RUN pyenv install ${PYTHON_VERSION} && \
39
  pyenv global ${PYTHON_VERSION} && \
40
  pyenv rehash && \
41
  pip install --no-cache-dir -U pip setuptools wheel
42
 
43
+ RUN pip install --no-cache-dir -U torch==2.2.1+cu121 torchvision>=0.16+cu121 --extra-index-url https://download.pytorch.org/whl/cu121
44
  COPY --chown=1000 requirements.txt /tmp
45
  RUN pip install --no-cache-dir -r /tmp/requirements.txt
 
 
46
 
47
  COPY --chown=1000 . ${HOME}/app
48
+ RUN git clone git@github.com:cg-tuwien/ppsurf.git
49
+ RUN cd ppsurf
 
50
  ENV PYTHONPATH=${HOME}/app \
51
  PYTHONUNBUFFERED=1 \
52
  GRADIO_ALLOW_FLAGGING=never \
requirements.txt CHANGED
@@ -1,18 +1,25 @@
1
- accelerate==0.19.0
2
- diffusers==0.16.1
3
- einops==0.6.1
4
- huggingface-hub==0.19.3
5
- imageio[ffmpeg,pyav]==2.28.1
6
- loguru==0.7.0
7
- matplotlib==3.7.1
8
- ninja==1.11.1
9
- opencv-python-headless==4.7.0.72
10
- pyrallis==0.3.1
11
- torch==2.1.1
12
- torchvision>=0.16
13
- tqdm==4.65.0
14
- transformers==4.29.1
15
- trimesh==3.21.6
16
- xatlas==0.0.7
 
 
 
 
 
 
 
17
  spaces==0.23.2
18
  gradio==4.19.1
 
1
+ torch==2.2.1
2
+ pytorch-lightning==2.2.0
3
+ torch-geometric==2.5.0
4
+ pytorch-cluster==1.6.3
5
+ scikit-learn-intelex==2024.1.0
6
+ numpy==1.26.4
7
+ scikit-image==0.22.0
8
+ scipy==1.12.0
9
+ pandas==1.5.3
10
+ openpyxl==3.1.2
11
+ overrides==7.7.0
12
+ pykdtree==1.3.11
13
+ laspy[laszip,lazrs]==2.5.3
14
+ pillow==10.2.0
15
+ intel-openmp==2024.0.2
16
+ tqdm==4.66.2
17
+ pyglet==1.5.28
18
+ rtree==1.2.0
19
+ tensorboard==2.16.2
20
+ trimesh==3.23.5
21
+ pysdf==0.1.9
22
+ jsonargparse[signatures]==4.27.5
23
+
24
  spaces==0.23.2
25
  gradio==4.19.1