File tree Expand file tree Collapse file tree 2 files changed +10
-11
lines changed Expand file tree Collapse file tree 2 files changed +10
-11
lines changed Original file line number Diff line number Diff line change @@ -2,10 +2,9 @@ FROM pytorch/manylinux-cuda113
22
33RUN yum install -y ninja-build
44
5- RUN wget --no-check-certificate https://copr.fedorainfracloud.org/coprs/vbatts/bazel/repo/epel-7/vbatts-bazel-epel-7.repo \
6- && mv vbatts-bazel-epel-7.repo /etc/yum.repos.d/
7-
8- RUN yum install -y bazel4 --nogpgcheck
5+ RUN wget https://github.com/bazelbuild/bazelisk/releases/download/v1.11.0/bazelisk-linux-amd64 \
6+ && mv bazelisk-linux-amd64 /usr/bin/bazel \
7+ && chmod +x /usr/bin/bazel
98
109RUN mkdir /workspace
1110
Original file line number Diff line number Diff line change @@ -7,12 +7,6 @@ cd /workspace/Torch-TensorRT/py
77export CXX=g++
88export CUDA_HOME=/usr/local/cuda-11.3
99
10- build_py36 () {
11- /opt/python/cp36-cp36m/bin/python -m pip install -r requirements.txt
12- /opt/python/cp36-cp36m/bin/python setup.py bdist_wheel --release
13- # auditwheel repair --plat manylinux2014_x86_64
14- }
15-
1610build_py37 () {
1711 /opt/python/cp37-cp37m/bin/python -m pip install -r requirements.txt
1812 /opt/python/cp37-cp37m/bin/python setup.py bdist_wheel --release
@@ -31,7 +25,13 @@ build_py39() {
3125 # auditwheel repair --plat manylinux2014_x86_64
3226}
3327
34- build_py36
28+ build_py10 () {
29+ /opt/python/cp310-cp310/bin/python -m pip install -r requirements.txt
30+ /opt/python/cp310-cp310/bin/python setup.py bdist_wheel --release
31+ # auditwheel repair --plat manylinux2014_x86_64
32+ }
33+
3534build_py37
3635build_py38
3736build_py39
37+ build_py310
You can’t perform that action at this time.
0 commit comments