pytorch
75545798 - test_inductor test.sh fix (#92833)

Commit
2 years ago
test_inductor test.sh fix (#92833) inductor/test_torchinductor suite is not running as part of the CI. I have triaged this down to a bug in the arguments supplied in test/run_test.py Currently test_inductor runs the test suites as: `PYTORCH_TEST_WITH_INDUCTOR=0 python test/run_test.py --include inductor/test_torchinductor --include inductor/test_torchinductor_opinfo --verbose` Which will only set off the test_torchinductor_opinfo suite Example from CI logs: https://github.com/pytorch/pytorch/actions/runs/3926246136/jobs/6711985831#step:10:45089 ``` + PYTORCH_TEST_WITH_INDUCTOR=0 + python test/run_test.py --include inductor/test_torchinductor --include inductor/test_torchinductor_opinfo --verbose Ignoring disabled issues: [] /var/lib/jenkins/workspace/test/run_test.py:1193: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead. if torch.version.cuda is not None and LooseVersion(torch.version.cuda) >= "11.6": Selected tests: inductor/test_torchinductor_opinfo Prioritized test from test file changes. reordering tests for PR: prioritized: [] the rest: ['inductor/test_torchinductor_opinfo'] ``` Pull Request resolved: https://github.com/pytorch/pytorch/pull/92833 Approved by: https://github.com/seemethere
Author
Committer
Parents
Loading