forked from dusty-nv/jetson-containers
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
25 lines (22 loc) · 1.04 KB
/
Dockerfile
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
#---
# name: shape-llm
# alias: shape_llm
# group: vlm
# depends: [transformers, bitsandbytes, flash-attention, opencv:4.10.0]
# requires: '>=35'
# test: [test.sh, test.py]
#---
ARG BASE_IMAGE
FROM ${BASE_IMAGE}
ADD https://api.github.com/repos/qizekun/ShapeLLM/git/refs/heads/main /tmp/shape_llm_version.json
RUN git clone --branch=main --depth=1 --recursive https://github.com/qizekun/ShapeLLM /opt/ShapeLLM && \
cd /opt/ShapeLLM && \
sed -i 's|torch==.*"|torch"|' pyproject.toml && \
sed -i 's|torchvision==.*"|torchvision"|' pyproject.toml && \
sed -i 's|bitsandbytes==.*"|bitsandbytes"|' pyproject.toml && \
sed -i 's|opencv-python==.*"|opencv-python"|' pyproject.toml && \
pip3 install --no-cache-dir --verbose -e '.[all]'
#RUN pip3 install --no-cache-dir --verbose "git+https://github.com/erikwijmans/Pointnet2_PyTorch.git#egg=pointnet2_ops&subdirectory=pointnet2_ops_lib"
RUN git clone https://github.com/erikwijmans/Pointnet2_PyTorch /opt/pointnet2 && \
cd /opt/pointnet2 && \
pip3 install --verbose -e pointnet2_ops_lib