Skip to content

Commit 673838f

Browse files
authored
Removing prototype related things from release/0.14 branch (#6687)
* Remove test related to prototype * Remove torchvision/prototype dir * Remove references/depth/stereo because it depend on prototype * Remove prototype related entries on mypy.ini * Remove things related to prototype in pytest.ini * clean setup.py from prototype * Clean CI from prototype * Remove unused expect file
1 parent 07ae61b commit 673838f

File tree

124 files changed

+1
-27441
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

124 files changed

+1
-27441
lines changed

.circleci/config.yml

Lines changed: 0 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.circleci/config.yml.in

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -152,15 +152,6 @@ commands:
152152
args: --no-build-isolation <<# parameters.editable >> --editable <</ parameters.editable >> .
153153
descr: Install torchvision <<# parameters.editable >> in editable mode <</ parameters.editable >>
154154

155-
install_prototype_dependencies:
156-
steps:
157-
- pip_install:
158-
args: iopath
159-
descr: Install third-party dependencies
160-
- pip_install:
161-
args: --pre torchdata --extra-index-url https://download.pytorch.org/whl/nightly/cpu
162-
descr: Install torchdata from nightly releases
163-
164155
# Most of the test suite is handled by the `unittest` jobs, with completely different workflow and setup.
165156
# This command can be used if only a selection of tests need to be run, for ad-hoc files.
166157
run_tests_selective:
@@ -326,7 +317,6 @@ jobs:
326317
- checkout
327318
- install_torchvision:
328319
editable: true
329-
- install_prototype_dependencies
330320
- pip_install:
331321
args: mypy
332322
descr: Install Python type check utilities

.github/workflows/prototype-tests.yml

Lines changed: 0 additions & 83 deletions
This file was deleted.

mypy.ini

Lines changed: 0 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -7,52 +7,6 @@ allow_redefinition = True
77
no_implicit_optional = True
88
warn_redundant_casts = True
99

10-
[mypy-torchvision.prototype.features.*]
11-
12-
; untyped definitions and calls
13-
disallow_untyped_defs = True
14-
15-
; None and Optional handling
16-
no_implicit_optional = True
17-
18-
; warnings
19-
warn_unused_ignores = True
20-
warn_return_any = True
21-
22-
; miscellaneous strictness flags
23-
allow_redefinition = True
24-
25-
[mypy-torchvision.prototype.transforms.*]
26-
27-
; untyped definitions and calls
28-
disallow_untyped_defs = True
29-
30-
; None and Optional handling
31-
no_implicit_optional = True
32-
33-
; warnings
34-
warn_unused_ignores = True
35-
warn_return_any = True
36-
37-
; miscellaneous strictness flags
38-
allow_redefinition = True
39-
40-
[mypy-torchvision.prototype.datasets.*]
41-
42-
; untyped definitions and calls
43-
disallow_untyped_defs = True
44-
45-
; None and Optional handling
46-
no_implicit_optional = True
47-
48-
; warnings
49-
warn_unused_ignores = True
50-
warn_return_any = True
51-
warn_unreachable = True
52-
53-
; miscellaneous strictness flags
54-
allow_redefinition = True
55-
5610
[mypy-torchvision.io.image.*]
5711

5812
ignore_errors = True
@@ -149,10 +103,6 @@ ignore_missing_imports = True
149103

150104
ignore_missing_imports = True
151105

152-
[mypy-torchdata.*]
153-
154-
ignore_missing_imports = True
155-
156106
[mypy-h5py.*]
157107

158108
ignore_missing_imports = True

pytest.ini

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ addopts =
77
# enable all warnings
88
-Wd
99
--ignore=test/test_datasets_download.py
10-
--ignore-glob=test/test_prototype_*.py
1110
testpaths =
1211
test
1312
xfail_strict = True

references/depth/stereo/README.md

Lines changed: 0 additions & 180 deletions
This file was deleted.

references/depth/stereo/__init__.py

Whitespace-only changes.
-267 KB
Binary file not shown.
-1.28 MB
Binary file not shown.
-1.7 MB
Binary file not shown.

0 commit comments

Comments
 (0)