Skip to content

Commit 73d9690

Browse files
authored
Merge pull request #1042 from NVIDIA/python_release_system_update
chore: update the release system for python
2 parents 17c0e67 + 85c1ab1 commit 73d9690

File tree

2 files changed

+10
-11
lines changed

2 files changed

+10
-11
lines changed

py/Dockerfile

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,9 @@ FROM pytorch/manylinux-cuda113
22

33
RUN 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

109
RUN mkdir /workspace
1110

py/build_whl.sh

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,6 @@ cd /workspace/Torch-TensorRT/py
77
export CXX=g++
88
export 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-
1610
build_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+
3534
build_py37
3635
build_py38
3736
build_py39
37+
build_py310

0 commit comments

Comments
 (0)