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
2
2
3
3
RUN yum install -y ninja-build
4
4
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
9
8
10
9
RUN mkdir /workspace
11
10
Original file line number Diff line number Diff line change @@ -7,12 +7,6 @@ cd /workspace/Torch-TensorRT/py
7
7
export CXX=g++
8
8
export CUDA_HOME=/usr/local/cuda-11.3
9
9
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
-
16
10
build_py37 () {
17
11
/opt/python/cp37-cp37m/bin/python -m pip install -r requirements.txt
18
12
/opt/python/cp37-cp37m/bin/python setup.py bdist_wheel --release
@@ -31,7 +25,13 @@ build_py39() {
31
25
# auditwheel repair --plat manylinux2014_x86_64
32
26
}
33
27
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
+
35
34
build_py37
36
35
build_py38
37
36
build_py39
37
+ build_py310
You can’t perform that action at this time.
0 commit comments