File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
tools/ci_build/github/linux/docker/scripts Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 1414 run : |
1515 echo `python3 --version`
1616 cd torch_ort
17- python3 -m pip install --upgrade protobuf==3.20.1
17+ python3 -m pip install --upgrade protobuf==3.20.2
1818 python3 -m pip install --pre onnxruntime-training --no-cache-dir -f https://download.onnxruntime.ai/onnxruntime_nightly_cpu.html
1919 python3 -m pip install torch==1.13.1+cpu -f https://download.pytorch.org/whl/torch_stable.html
2020 python3 setup.py install --prefix=/tmp
Original file line number Diff line number Diff line change @@ -34,9 +34,9 @@ function GetFile {
3434 return $?
3535}
3636
37- GetFile https://github.com/protocolbuffers/protobuf/archive/v3.18.1 .tar.gz /tmp/src/v3.18.1 .tar.gz
38- tar -xf /tmp/src/v3.18.1 .tar.gz -C /tmp/src
39- cd /tmp/src/protobuf-3.18.1
37+ GetFile https://github.com/protocolbuffers/protobuf/archive/v3.20.2 .tar.gz /tmp/src/v3.20.2 .tar.gz
38+ tar -xf /tmp/src/v3.20.2 .tar.gz -C /tmp/src
39+ cd /tmp/src/protobuf-3.20.2
4040cmake ./cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_POSITION_INDEPENDENT_CODE=ON -Dprotobuf_BUILD_TESTS=OFF -DCMAKE_BUILD_TYPE=Relwithdebinfo
4141make -j$( getconf _NPROCESSORS_ONLN)
4242make install
Original file line number Diff line number Diff line change 44setuptools >= 41.4.0
55wheel
66git+http://github.com/onnx/onnx.git@237926eab41de21fb9addc4b03b751fd6a3343ec#egg=onnx
7- protobuf == 3.20.1
7+ protobuf == 3.20.2
88sympy == 1.1.1
99flake8
1010flatbuffers
You can’t perform that action at this time.
0 commit comments