Skip to content

Commit

Permalink
Lock pplcv to v0.6.1 (#143)
Browse files Browse the repository at this point in the history
* Lock pplcv to v0.6.1

To avoid breaking changes which arose from recent updates in pplcv , fix pplcv to v0.6.1

* Mentioned Version as ARG

* Mentioned Version changes of pplcv in build.md

* Update docs/en/build.md

Co-authored-by: AllentDan <41138331+AllentDan@users.noreply.github.com>

* Change version stuff in cn_build.md

Co-authored-by: AllentDan <41138331+AllentDan@users.noreply.github.com>
  • Loading branch information
TheSeriousProgrammer and AllentDan authored Feb 16, 2022
1 parent be93956 commit 59470fe
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 deletions.
5 changes: 4 additions & 1 deletion docker/GPU/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ ARG TORCHVISION_VERSION=0.9.0
ARG ONNXRUNTIME_VERSION=1.8.1
ARG MMCV_VERSION=1.4.0
ARG CMAKE_VERSION=3.20.0
ARG PPLCV_VERSION=0.6.1
ENV FORCE_CUDA="1"

ENV DEBIAN_FRONTEND=noninteractive
Expand Down Expand Up @@ -66,9 +67,11 @@ RUN git clone https://github.com/open-mmlab/mmdeploy &&\
pip install -e .

### build sdk
RUN git clone https://github.com/openppl-public/ppl.cv.git &&\
RUN wget https://github.com/openppl-public/ppl.cv/archive/refs/tags/v${PPLCV_VERSION}.zip &&\
unzip v${PPLCV_VERSION}.zip && mv ppl.cv-${PPLCV_VERSION} ppl.cv &&\
cd ppl.cv &&\
./build.sh cuda

RUN cd /root/workspace/mmdeploy &&\
rm -rf build/CM* &&\
mkdir -p build && cd build &&\
Expand Down
7 changes: 5 additions & 2 deletions docs/en/build.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,11 @@ Each package's installation command is given based on Ubuntu 18.04.
A high-performance image processing library of openPPL supporting x86 and cuda platforms.</br>
It is **OPTIONAL** which only be needed if `cuda` platform is required.
```bash
git clone git@github.com:openppl-public/ppl.cv.git
Using v0.6.1, since latest updates have broughtup breaking changes
```Bash
wget https://github.com/openppl-public/ppl.cv/archive/refs/tags/v0.6.1.zip
unzip v0.6.1.zip && mv ppl.cv-0.6.1 ppl.cv
cd ppl.cv
./build.sh cuda
```
Expand Down
3 changes: 2 additions & 1 deletion docs/zh_cn/build.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,8 @@ pip install -e .
此依赖项为可选项,只有在cuda平台下,才需安装。安装命令如下所示:

```bash
git clone git@github.com:openppl-public/ppl.cv.git
wget https://github.com/openppl-public/ppl.cv/archive/refs/tags/v0.6.1.zip
unzip v0.6.1.zip && mv ppl.cv-0.6.1 ppl.cv
cd ppl.cv
./build.sh cuda
```
Expand Down

0 comments on commit 59470fe

Please sign in to comment.