File tree Expand file tree Collapse file tree 3 files changed +17
-1
lines changed Expand file tree Collapse file tree 3 files changed +17
-1
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ docker pull hub.baidubce.com/paddle-edl/paddle_edl:latest-cuda9.0-cudnn7
2121nvidia-docker run -name paddle_edl hub.baidubce.com/paddle-edl/paddle_edl:latest-cuda9.0-cudnn7 /bin/bash 
2222```  
2323
24- <h2  align =" center " >Latest Release(0.3.0 )</h2 >
24+ <h2  align =" center " >Latest Release(0.3.1 )</h2 >
2525
2626-  Support elastic training with inference type services during training, such as knowledge distillation 
2727-  Inference type services are automatically registered through service discovery in EDL
Original file line number Diff line number Diff line change 11FROM  hub.baidubce.com/paddlepaddle/paddle:<baseimg>
22
3+ #  gcc 5
4+ RUN  ln -sf /usr/bin/gcc-5 /usr/bin/gcc
5+ #  python3 default use python3.6
6+ RUN  ln -sf /usr/local/bin/python3.6 /usr/local/bin/python3
7+ 
38#  Install Go
49RUN  rm -rf /usr/local/go && wget -qO- https://dl.google.com/go/go1.13.10.linux-amd64.tar.gz | \
510 tar -xz -C /usr/local && \
@@ -38,6 +43,7 @@ RUN mkdir -p /tmp/protoc && cd /tmp/protoc && \
3843 wget -q -O protoc-3.11.4-linux-x86_64.zip --no-check-certificate https://paddle-edl.bj.bcebos.com/protoc-3.11.4-linux-x86_64.zip && \
3944 unzip protoc-3.11.4-linux-x86_64.zip && mv bin/protoc /usr/local/bin
4045
46+ RUN  echo "export PATH=$PATH:${GOROOT}/bin:${GOPATH}/bin"  >> /root/.bashrc
4147RUN  echo "go env -w GO111MODULE=on && go env -w GOPROXY=https://goproxy.io,direct"  >> /root/.bashrc
4248ENV  GO111MODULE=on
4349ENV  GOPROXY=https://goproxy.io,direct
Original file line number Diff line number Diff line change 11FROM hub.baidubce.com/paddlepaddle/paddle:<baseimg>
22
3+ # gcc 5
4+ RUN ln -sf /usr/bin/gcc-5 /usr/bin/gcc
5+ # python3 default use python3.6
6+ RUN ln -sf /usr/local/bin/python3.6 /usr/local/bin/python3
7+ 
38# Install Go
49RUN rm -rf /usr/local/go && wget -qO- https://dl.google.com/go/go1.13.10.linux-amd64.tar.gz | \
510 tar -xz -C /usr/local && \
@@ -31,6 +36,11 @@ RUN cd /tmp/ && wget -q https://paddle-edl.bj.bcebos.com/redis-6.0.1.tar.gz &&
3136 mv src/redis-cli /usr/local/bin && \
3237 cd .. && rm -rf redis-6.0.1.tar.gz redis-6.0.1
3338
39+ RUN echo "export PATH=$PATH:${GOROOT}/bin:${GOPATH}/bin" >> /root/.bashrc
40+ RUN echo "go env -w GO111MODULE=on && go env -w GOPROXY=https://goproxy.io,direct" >> /root/.bashrc
41+ ENV GO111MODULE=on
42+ ENV GOPROXY=https://goproxy.io,direct
43+ 
3444# install edl
3545ADD ./build/python/dist/paddle_edl-0.0.0-py2.py3-none-any.whl /tmp/paddle_edl-0.0.0-py2.py3-none-any.whl
3646RUN python -m pip install /tmp/paddle_edl-0.0.0-py2.py3-none-any.whl
                         You can’t perform that action at this time. 
           
                  
0 commit comments