Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
yinfan98 authored Dec 14, 2023
1 parent 1d3403c commit 4e47dfc
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions docker/Jetson/Jetpack4.6/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -91,21 +91,16 @@ RUN git clone https://github.com/openppl-public/ppl.cv.git &&\
cd ppl.cv &&\
./build.sh cuda

# download mmdeploy
RUN git clone --recursive -b $MMDEPLOY_VERSION --depth 1 https://github.com/open-mmlab/mmdeploy

# build TRT custom op
RUN cd mmdeploy &&\
# build mmdeploy
RUN git clone --recursive -b $MMDEPLOY_VERSION --depth 1 https://github.com/open-mmlab/mmdeploy &&\
cd mmdeploy &&\
mkdir -p build && cd build &&\
cmake .. \
-DMMDEPLOY_TARGET_BACKENDS="trt" \
-DTENSORRT_DIR=TENSORRT_DIR &&\
make -j$(nproc) && make install && cd .. &&\
python3 -m pip install --upgrade setuptools &&\
python3 -m pip install -e .

# build mmdeploy
RUN cd mmdeploy &&\
python3 -m pip install -e . &&\
mkdir -p build && cd build &&\
cmake .. \
-DMMDEPLOY_BUILD_SDK=ON \
Expand Down

0 comments on commit 4e47dfc

Please sign in to comment.