mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-26 22:35:43 +00:00
fix(cuda): install missing python3-packaging in Dockerfile
Signed-off-by: Jian Zeng <anonymousknight96@gmail.com>
This commit is contained in:
parent
d7d932c1c2
commit
928c44f71b
2 changed files with 2 additions and 2 deletions
|
|
@ -11,7 +11,7 @@ MAINTAINER Changming Sun "chasun@microsoft.com"
|
|||
ADD . /code
|
||||
|
||||
ENV PATH /usr/local/nvidia/bin:/usr/local/cuda/bin:${PATH}
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends python3-dev ca-certificates g++ python3-numpy gcc make git python3-setuptools python3-wheel python3-pip aria2 && aria2c -q -d /tmp -o cmake-3.24.3-linux-x86_64.tar.gz https://github.com/Kitware/CMake/releases/download/v3.24.3/cmake-3.24.3-linux-x86_64.tar.gz && tar -zxf /tmp/cmake-3.24.3-linux-x86_64.tar.gz --strip=1 -C /usr
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends python3-dev ca-certificates g++ python3-numpy gcc make git python3-setuptools python3-wheel python3-packaging python3-pip aria2 && aria2c -q -d /tmp -o cmake-3.24.3-linux-x86_64.tar.gz https://github.com/Kitware/CMake/releases/download/v3.24.3/cmake-3.24.3-linux-x86_64.tar.gz && tar -zxf /tmp/cmake-3.24.3-linux-x86_64.tar.gz --strip=1 -C /usr
|
||||
|
||||
RUN cd /code && /bin/bash ./build.sh --skip_submodule_sync --cuda_home /usr/local/cuda --cudnn_home /usr/lib/x86_64-linux-gnu/ --use_cuda --config Release --build_wheel --update --build --parallel --cmake_extra_defines ONNXRUNTIME_VERSION=$(cat ./VERSION_NUMBER) 'CMAKE_CUDA_ARCHITECTURES=52;60;61;70;75;86'
|
||||
|
||||
|
|
|
|||
|
|
@ -41,7 +41,7 @@ git submodule update --init
|
|||
```
|
||||
|
||||
## CUDA
|
||||
**Ubuntu 18.04, CUDA 10.2, CuDNN 8**
|
||||
**Ubuntu 20.04, CUDA 11.4, CuDNN 8**
|
||||
|
||||
1. Update submodules
|
||||
```
|
||||
|
|
|
|||
Loading…
Reference in a new issue