Skip to content

Conversation

@Silv3S
Copy link
Contributor

@Silv3S Silv3S commented Jan 26, 2026

Fixes #2271

Reference files are copied directly from newest pytorch/test/expect

Copy link
Contributor

Copilot AI left a 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 adds missing expecttest reference files for the HasDecompTests test suite to address issue #2271. These reference files establish expected outputs for tests that verify PyTorch operator decomposition behavior on XPU devices.

Changes:

  • Added reference file for test_has_decomposition containing 1,387 ATen operators
  • Added reference file for test_aten_core_operators containing 540 ATen core operators

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
test/xpu/expect/HasDecompTest.test_has_decomposition.expect Lists all ATen operators with decomposition implementations for XPU validation
test/xpu/expect/HasDecompTest.test_aten_core_operators.expect Lists core ATen operators subset for XPU compatibility testing

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@Silv3S Silv3S requested a review from kdrozd-dev January 27, 2026 06:49
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.

third_party.torch-xpu-ops.test.xpu.test_decomp_xpu.HasDecompTest got runtime error

1 participant