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

Add IREE support in TorchScript e2e tests. #242

Merged
merged 1 commit into from
Jun 30, 2021
Merged

Add IREE support in TorchScript e2e tests. #242

merged 1 commit into from
Jun 30, 2021

Conversation

silvasean
Copy link
Contributor

  • Add support for "expected failures" in test reporting. The new error
    reports look like
    this.
    • We will now be able to put these tests into CI, since the harness
      understand which tests are expected to pass and fail.
  • Refactor RefBackendTestConfig to NpcompBackendTestConfig which
    supports both RefBackend and IREE.
  • Add instructions for installing IREE dependencies (both from packages
    and for local builds of IREE)
  • Add tools/torchscript_e2e_test.sh for invoking the e2e test
    harness (this makes invoking a bit easier, as it doesn't rely on a
    loose Python invocation).

@silvasean
Copy link
Contributor Author

@cathyzhyi PTAL

python/npcomp/compiler/pytorch/backend/abc.py Outdated Show resolved Hide resolved
- Add support for "expected failures" in test reporting. The new error
  reports look like
  [this](https://gist.github.com/silvasean/6ffd95e1d55302b699673da201da210d).
  - We will now be able to put these tests into CI, since the harness
    understand which tests are expected to pass and fail.
- Refactor RefBackendTestConfig to NpcompBackendTestConfig which
  supports both RefBackend and IREE.
- Add instructions for installing IREE dependencies (both from packages
  and for local builds of IREE)
- Add `tools/torchscript_e2e_test.sh` for invoking the e2e test
  harness (this makes invoking a bit easier, as it doesn't rely on a
  loose Python invocation).
@silvasean silvasean merged commit d5108b9 into llvm:main Jun 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants