Skip to content

Commit

Permalink
Remove prototype release (#5394)
Browse files Browse the repository at this point in the history
* Clean prototype code and configs
  • Loading branch information
jdsgomes authored Feb 9, 2022
1 parent 55d68f0 commit d6b0e1c
Show file tree
Hide file tree
Showing 109 changed files with 0 additions and 15,912 deletions.
33 changes: 0 additions & 33 deletions .circleci/config.yml

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

33 changes: 0 additions & 33 deletions .circleci/config.yml.in
Original file line number Diff line number Diff line change
Expand Up @@ -152,12 +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 git+https://github.com/pytorch/data
descr: Install prototype dependencies

# 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 @@ -305,7 +299,6 @@ jobs:
- checkout
- install_torchvision:
editable: true
- install_prototype_dependencies
- pip_install:
args: mypy
descr: Install Python type check utilities
Expand Down Expand Up @@ -334,31 +327,6 @@ jobs:
- run_tests_selective:
file_or_dir: test/test_onnx.py

unittest_prototype:
docker:
- image: circleci/python:3.7
resource_class: xlarge
steps:
- checkout
- run:
name: Download model weights
background: true
command: |
sudo apt update -qy && sudo apt install -qy parallel wget
mkdir -p ~/.cache/torch/hub/checkpoints
python scripts/collect_model_urls.py torchvision/prototype/models \
| parallel -j0 'wget --no-verbose -O ~/.cache/torch/hub/checkpoints/`basename {}` {}\?source=ci'
- install_torchvision
- install_prototype_dependencies
- pip_install:
args: scipy pycocotools h5py
descr: Install optional dependencies
- run:
name: Enable prototype tests
command: echo 'export PYTORCH_TEST_WITH_PROTOTYPE=1' >> $BASH_ENV
- run_tests_selective:
file_or_dir: test/test_prototype_*.py

binary_linux_wheel:
<<: *binary_common
docker:
Expand Down Expand Up @@ -1092,7 +1060,6 @@ workflows:
jobs:
- unittest_torchhub
- unittest_onnx
- unittest_prototype
{{ unittest_workflows() }}

cmake:
Expand Down
4 changes: 0 additions & 4 deletions mypy.ini
Original file line number Diff line number Diff line change
Expand Up @@ -118,10 +118,6 @@ ignore_missing_imports = True

ignore_missing_imports = True

[mypy-torchdata.*]

ignore_missing_imports = True

[mypy-h5py.*]

ignore_missing_imports = True
175 changes: 0 additions & 175 deletions test/test_prototype_builtin_datasets.py

This file was deleted.

Loading

0 comments on commit d6b0e1c

Please sign in to comment.