Skip to content

Commit 8eda27d

Browse files
committed
chore!: Update dependencies to PyTorch 1.6.0
BREAKING CHANGE: Support for Python 3.5 is being dropped with this update Signed-off-by: Naren Dasan <[email protected]> Signed-off-by: Naren Dasan <[email protected]>
1 parent 771b615 commit 8eda27d

File tree

6 files changed

+10
-17
lines changed

6 files changed

+10
-17
lines changed

Diff for: .bazelversion

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.3.1
1+
3.4.1

Diff for: WORKSPACE

+4-4
Original file line numberDiff line numberDiff line change
@@ -53,16 +53,16 @@ http_archive(
5353
name = "libtorch",
5454
build_file = "@//third_party/libtorch:BUILD",
5555
strip_prefix = "libtorch",
56-
urls = ["https://download.pytorch.org/libtorch/cu102/libtorch-cxx11-abi-shared-with-deps-1.5.1.zip"],
57-
sha256 = "cf0691493d05062fe3239cf76773bae4c5124f4b039050dbdd291c652af3ab2a"
56+
urls = ["https://download.pytorch.org/libtorch/cu102/libtorch-cxx11-abi-shared-with-deps-1.6.0.zip"],
57+
sha256 = "fded948bd2dbee625cee33ebbd4843a69496729389e0200a90fbb667cdaeeb69"
5858
)
5959

6060
http_archive(
6161
name = "libtorch_pre_cxx11_abi",
6262
build_file = "@//third_party/libtorch:BUILD",
6363
strip_prefix = "libtorch",
64-
sha256 = "818977576572eadaf62c80434a25afe44dbaa32ebda3a0919e389dcbe74f8656",
65-
urls = ["https://download.pytorch.org/libtorch/cu102/libtorch-shared-with-deps-1.5.1.zip"],
64+
sha256 = "141bb229f4bbf905541096cf8705785e7b0c79e37ca1e5db9d372730b1b9abd7",
65+
urls = ["https://download.pytorch.org/libtorch/cu102/libtorch-shared-with-deps-1.6.0.zip"],
6666
)
6767

6868
# Download these tarballs manually from the NVIDIA website

Diff for: py/build_whl.sh

-7
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,6 @@ cd /workspace/TRTorch/py
66

77
export CXX=g++
88

9-
build_py35() {
10-
/opt/python/cp35-cp35m/bin/python -m pip install -r requirements.txt
11-
/opt/python/cp35-cp35m/bin/python setup.py bdist_wheel
12-
#auditwheel repair --plat manylinux2014_x86_64
13-
}
14-
159
build_py36() {
1610
/opt/python/cp36-cp36m/bin/python -m pip install -r requirements.txt
1711
/opt/python/cp36-cp36m/bin/python setup.py bdist_wheel
@@ -30,7 +24,6 @@ build_py38() {
3024
#auditwheel repair --plat manylinux2014_x86_64
3125
}
3226

33-
build_py35
3427
build_py36
3528
build_py37
3629
build_py38

Diff for: py/requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
torch==1.5.1
1+
torch==1.6.0

Diff for: py/setup.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ def run(self):
196196
long_description=long_description,
197197
ext_modules=ext_modules,
198198
install_requires=[
199-
'torch==1.5.1',
199+
'torch==1.6.0',
200200
],
201201
setup_requires=[],
202202
cmdclass={
@@ -210,7 +210,7 @@ def run(self):
210210
license="BSD",
211211
packages=find_packages(),
212212
classifiers=[
213-
"Development Status :: 3 - Alpha",
213+
"Development Status :: 4 - Beta",
214214
"Environment :: GPU :: NVIDIA CUDA",
215215
"License :: OSI Approved :: BSD License",
216216
"Intended Audience :: Developers",
@@ -224,7 +224,7 @@ def run(self):
224224
"Topic :: Software Development",
225225
"Topic :: Software Development :: Libraries"
226226
],
227-
python_requires='>=3.5',
227+
python_requires='>=3.6',
228228
include_package_data=True,
229229
package_data={
230230
'trtorch': ['lib/*.so'],

Diff for: tests/py/requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
torchvision==0.6.0
1+
torchvision==0.7.0

0 commit comments

Comments
 (0)