Spaces:
Building
on
A10G
Building
on
A10G
File size: 796 Bytes
58508da |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 |
FROM nvcr.io/nvidia/pytorch:24.01-py3
# 安装系统依赖
RUN apt-get update && \
apt-get install -y \
wget \
git \
gnutls-bin \
openssh-client \
libghc-x11-dev \
gcc-multilib \
g++-multilib \
libglew-dev \
libosmesa6-dev \
libgl1-mesa-glx \
libglfw3 \
xvfb \
mesa-utils \
libegl1-mesa \
libgl1-mesa-dev \
libglu1-mesa-dev \
libglib2.0-0 \
libsm6 \
libxrender1 \
libxext6 \
unzip
WORKDIR /app
RUN git clone https://github.com/CraftJarvis/ROCKET-1.git && \
cd ROCKET-1 && \
git pull && \
python -m pip install -i https://pypi.tuna.tsinghua.edu.cn/simple --upgrade pip && \
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple -e .
RUN cd rocket/realtime_sam && \
pip install -e . |