Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Add FX core test #1593

Merged
merged 1 commit into from
Jan 23, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -508,6 +508,22 @@ commands:
- store_artifacts:
path: /tmp/testlogs

test-fx_core:
description: "Test the fx core"
steps:
- run:
name: Run FX core tests
command: |
cd py/torch_tensorrt/fx/test
pushd core/
pytest --junitxml=/tmp/artifacts/test_results/fx/core/test_results.xml
popd

- store_test_results:
path: /tmp/artifacts
- store_artifacts:
path: /tmp/testlogs

test-fx_converters:
description: "Test the fx converters"
steps:
Expand Down Expand Up @@ -586,6 +602,22 @@ commands:
- store_artifacts:
path: /tmp/testlogs

test-fx_quant:
description: "Test the fx quant"
steps:
- run:
name: Run FX quant tests
command: |
cd py/torch_tensorrt/fx/test
pushd quant/
pytest --junitxml=/tmp/artifacts/test_results/fx/quant/test_results.xml
popd

- store_test_results:
path: /tmp/artifacts
- store_artifacts:
path: /tmp/testlogs

test-fx:
description: "Test the fx backend"
steps:
Expand All @@ -598,6 +630,8 @@ commands:
- test-fx_tools
- test-fx_trt_lower
- test-fx_tracer
- test-fx_core
- test-fx_quant
- store_test_results:
path: /tmp/artifacts
- store_artifacts:
Expand Down