Skip to content

Commit d92e409

Browse files
authored
Merge pull request #1593 from pytorch/fx_test_core
chore: Add FX core test
2 parents 86a998e + b5f3622 commit d92e409

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

.circleci/config.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -508,6 +508,22 @@ commands:
508508
- store_artifacts:
509509
path: /tmp/testlogs
510510

511+
test-fx_core:
512+
description: "Test the fx core"
513+
steps:
514+
- run:
515+
name: Run FX core tests
516+
command: |
517+
cd py/torch_tensorrt/fx/test
518+
pushd core/
519+
pytest --junitxml=/tmp/artifacts/test_results/fx/core/test_results.xml
520+
popd
521+
522+
- store_test_results:
523+
path: /tmp/artifacts
524+
- store_artifacts:
525+
path: /tmp/testlogs
526+
511527
test-fx_converters:
512528
description: "Test the fx converters"
513529
steps:
@@ -586,6 +602,22 @@ commands:
586602
- store_artifacts:
587603
path: /tmp/testlogs
588604

605+
test-fx_quant:
606+
description: "Test the fx quant"
607+
steps:
608+
- run:
609+
name: Run FX quant tests
610+
command: |
611+
cd py/torch_tensorrt/fx/test
612+
pushd quant/
613+
pytest --junitxml=/tmp/artifacts/test_results/fx/quant/test_results.xml
614+
popd
615+
616+
- store_test_results:
617+
path: /tmp/artifacts
618+
- store_artifacts:
619+
path: /tmp/testlogs
620+
589621
test-fx:
590622
description: "Test the fx backend"
591623
steps:
@@ -598,6 +630,8 @@ commands:
598630
- test-fx_tools
599631
- test-fx_trt_lower
600632
- test-fx_tracer
633+
- test-fx_core
634+
- test-fx_quant
601635
- store_test_results:
602636
path: /tmp/artifacts
603637
- store_artifacts:

0 commit comments

Comments
 (0)