Skip to content

Commit d6b0e1c

Browse files
authored
Remove prototype release (#5394)
* Clean prototype code and configs
1 parent 55d68f0 commit d6b0e1c

File tree

109 files changed

+0
-15912
lines changed

Some content is hidden

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

109 files changed

+0
-15912
lines changed

.circleci/config.yml

Lines changed: 0 additions & 33 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 & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -152,12 +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 git+https://github.com/pytorch/data
159-
descr: Install prototype dependencies
160-
161155
# Most of the test suite is handled by the `unittest` jobs, with completely different workflow and setup.
162156
# This command can be used if only a selection of tests need to be run, for ad-hoc files.
163157
run_tests_selective:
@@ -305,7 +299,6 @@ jobs:
305299
- checkout
306300
- install_torchvision:
307301
editable: true
308-
- install_prototype_dependencies
309302
- pip_install:
310303
args: mypy
311304
descr: Install Python type check utilities
@@ -334,31 +327,6 @@ jobs:
334327
- run_tests_selective:
335328
file_or_dir: test/test_onnx.py
336329

337-
unittest_prototype:
338-
docker:
339-
- image: circleci/python:3.7
340-
resource_class: xlarge
341-
steps:
342-
- checkout
343-
- run:
344-
name: Download model weights
345-
background: true
346-
command: |
347-
sudo apt update -qy && sudo apt install -qy parallel wget
348-
mkdir -p ~/.cache/torch/hub/checkpoints
349-
python scripts/collect_model_urls.py torchvision/prototype/models \
350-
| parallel -j0 'wget --no-verbose -O ~/.cache/torch/hub/checkpoints/`basename {}` {}\?source=ci'
351-
- install_torchvision
352-
- install_prototype_dependencies
353-
- pip_install:
354-
args: scipy pycocotools h5py
355-
descr: Install optional dependencies
356-
- run:
357-
name: Enable prototype tests
358-
command: echo 'export PYTORCH_TEST_WITH_PROTOTYPE=1' >> $BASH_ENV
359-
- run_tests_selective:
360-
file_or_dir: test/test_prototype_*.py
361-
362330
binary_linux_wheel:
363331
<<: *binary_common
364332
docker:
@@ -1092,7 +1060,6 @@ workflows:
10921060
jobs:
10931061
- unittest_torchhub
10941062
- unittest_onnx
1095-
- unittest_prototype
10961063
{{ unittest_workflows() }}
10971064

10981065
cmake:

mypy.ini

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -118,10 +118,6 @@ ignore_missing_imports = True
118118

119119
ignore_missing_imports = True
120120

121-
[mypy-torchdata.*]
122-
123-
ignore_missing_imports = True
124-
125121
[mypy-h5py.*]
126122

127123
ignore_missing_imports = True

test/test_prototype_builtin_datasets.py

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

0 commit comments

Comments
 (0)