-
Notifications
You must be signed in to change notification settings - Fork 62
[CI] Port ut test_decomp.py from pytorch #2262
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
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR ports the test_decomp.py unit test from PyTorch to support XPU devices, focusing on operation decomposition testing while disabling distributed and end-to-end tests.
Key Changes:
- Complete port of decomposition tests from PyTorch with XPU device support
- Addition of XPU-specific tolerance configurations for various operations
- Test runner configuration updates to execute the new test file with appropriate skip lists
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 7 comments.
| File | Description |
|---|---|
| test/xpu/test_decomp.py | New 1379-line test file implementing comprehensive decomposition tests for XPU, including tolerance tables and device-specific configurations |
| test/xpu/run_test_with_only.py | Updated test runner to execute test_decomp.py with extensive skip list for known failing test cases |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
46d1859 to
9e3eef7
Compare
c509ec4 to
fb001fd
Compare
1. windows skip the whole file - test_decomp.py 2. linux skip specific cases in test_decomp.py
…to fix lint error."
disable_build
disable_distributed
disable_e2e