Skip to content

Commit

Permalink
Removing prototype related things from release/0.14 branch (#6687)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
YosuaMichael committed Oct 4, 2022
1 parent 07ae61b commit 673838f
Show file tree
Hide file tree
Showing 124 changed files with 1 addition and 27,441 deletions.
10 changes: 0 additions & 10 deletions .circleci/config.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 0 additions & 10 deletions .circleci/config.yml.in
Expand Up @@ -152,15 +152,6 @@ commands:
args: --no-build-isolation <<# parameters.editable >> --editable <</ parameters.editable >> .
descr: Install torchvision <<# parameters.editable >> in editable mode <</ parameters.editable >>

install_prototype_dependencies:
steps:
- pip_install:
args: iopath
descr: Install third-party dependencies
- pip_install:
args: --pre torchdata --extra-index-url https://download.pytorch.org/whl/nightly/cpu
descr: Install torchdata from nightly releases

# Most of the test suite is handled by the `unittest` jobs, with completely different workflow and setup.
# This command can be used if only a selection of tests need to be run, for ad-hoc files.
run_tests_selective:
Expand Down Expand Up @@ -326,7 +317,6 @@ jobs:
- checkout
- install_torchvision:
editable: true
- install_prototype_dependencies
- pip_install:
args: mypy
descr: Install Python type check utilities
Expand Down
83 changes: 0 additions & 83 deletions .github/workflows/prototype-tests.yml

This file was deleted.

50 changes: 0 additions & 50 deletions mypy.ini
Expand Up @@ -7,52 +7,6 @@ allow_redefinition = True
no_implicit_optional = True
warn_redundant_casts = True

[mypy-torchvision.prototype.features.*]

; untyped definitions and calls
disallow_untyped_defs = True

; None and Optional handling
no_implicit_optional = True

; warnings
warn_unused_ignores = True
warn_return_any = True

; miscellaneous strictness flags
allow_redefinition = True

[mypy-torchvision.prototype.transforms.*]

; untyped definitions and calls
disallow_untyped_defs = True

; None and Optional handling
no_implicit_optional = True

; warnings
warn_unused_ignores = True
warn_return_any = True

; miscellaneous strictness flags
allow_redefinition = True

[mypy-torchvision.prototype.datasets.*]

; untyped definitions and calls
disallow_untyped_defs = True

; None and Optional handling
no_implicit_optional = True

; warnings
warn_unused_ignores = True
warn_return_any = True
warn_unreachable = True

; miscellaneous strictness flags
allow_redefinition = True

[mypy-torchvision.io.image.*]

ignore_errors = True
Expand Down Expand Up @@ -149,10 +103,6 @@ ignore_missing_imports = True

ignore_missing_imports = True

[mypy-torchdata.*]

ignore_missing_imports = True

[mypy-h5py.*]

ignore_missing_imports = True
1 change: 0 additions & 1 deletion pytest.ini
Expand Up @@ -7,7 +7,6 @@ addopts =
# enable all warnings
-Wd
--ignore=test/test_datasets_download.py
--ignore-glob=test/test_prototype_*.py
testpaths =
test
xfail_strict = True
180 changes: 0 additions & 180 deletions references/depth/stereo/README.md

This file was deleted.

Empty file.
Binary file removed references/depth/stereo/assets/Loss.jpg
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 comments on commit 673838f

Please sign in to comment.