Unverified Commit c257ee7d authored by moto's avatar moto Committed by GitHub
Browse files

Disable torchscript BC test (#1192)

TorchScript BC test checks that if dumped object from the previous version is compatible with the latest master. However, PyTorch does not guarantee backward compatibility of serialized TorchScript object across versions. Domain libraries do not guarantee this either.
parent d53e4042
......@@ -607,41 +607,6 @@ jobs:
name: Run style check
command: .circleci/unittest/linux/scripts/run_style_checks.sh
torchscript_bc_test:
docker:
- image: "pytorch/torchaudio_unittest_base:manylinux"
resource_class: large
steps:
- checkout
- generate_cache_key
- restore_cache:
keys:
- torchscript-bc-test-release-envs-v1-{{ arch }}-{{ checksum ".cachekey" }}
- run:
name: Generate Objects
command: |
.circleci/torchscript_bc_test/setup_release_envs.sh
.circleci/torchscript_bc_test/generate_objects.sh
- save_cache:
key: torchscript-bc-test-release-envs-v1-{{ arch }}-{{ checksum ".cachekey" }}
paths:
- conda
- envs
- store_artifacts:
path: test/torchscript_bc_test/assets
- persist_to_workspace:
root: .
paths:
- test/torchscript_bc_test/assets
- run:
name: Run BC check test
command: |
.circleci/torchscript_bc_test/setup_master_envs.sh
.circleci/torchscript_bc_test/validate_objects.sh
build_docs:
<<: *binary_common
docker:
......@@ -793,9 +758,6 @@ workflows:
- build_docs
unittest:
jobs:
- torchscript_bc_test:
requires:
- download_third_parties_nix
- download_third_parties_nix:
name: download_third_parties_nix
- unittest_linux_cpu:
......
......@@ -607,41 +607,6 @@ jobs:
name: Run style check
command: .circleci/unittest/linux/scripts/run_style_checks.sh
torchscript_bc_test:
docker:
- image: "pytorch/torchaudio_unittest_base:manylinux"
resource_class: large
steps:
- checkout
- generate_cache_key
- restore_cache:
{% raw %}
keys:
- torchscript-bc-test-release-envs-v1-{{ arch }}-{{ checksum ".cachekey" }}
{% endraw %}
- run:
name: Generate Objects
command: |
.circleci/torchscript_bc_test/setup_release_envs.sh
.circleci/torchscript_bc_test/generate_objects.sh
- save_cache:
{% raw %}
key: torchscript-bc-test-release-envs-v1-{{ arch }}-{{ checksum ".cachekey" }}
{% endraw %}
paths:
- conda
- envs
- store_artifacts:
path: test/torchscript_bc_test/assets
- persist_to_workspace:
root: .
paths:
- test/torchscript_bc_test/assets
- run:
name: Run BC check test
command: |
.circleci/torchscript_bc_test/setup_master_envs.sh
.circleci/torchscript_bc_test/validate_objects.sh
build_docs:
<<: *binary_common
docker:
......@@ -697,9 +662,6 @@ workflows:
{{ build_workflows() }}
unittest:
jobs:
- torchscript_bc_test:
requires:
- download_third_parties_nix
{{ unittest_workflows() }}
nightly:
jobs:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment