Xtensa ISS op-test stage (hifi seed) (#20315)#20315
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/20315
Note: Links to docs will display an error until the docs builds have been completed. ❌ 1 New Failure, 270 PendingAs of commit ca4624e with merge base 574bfca ( NEW FAILURE - The following job has failed:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
|
@aliafzal has exported this pull request. If you are a Meta employee, you can view the originating Diff in D108805403. |
This PR needs a
|
Summary: Add the first op-level test stage for the Cadence backend, run on the Xtensa Instruction Set Simulator (xt-run), mirroring the host cpu-build -> cpu-test flow with a new hifi-op-test job that runs after hifi-build. The existing operator gtests (ExecuTorch OperatorTest + EXPECT_TENSOR_EQ, calling the kernels directly) are cross-compiled for Xtensa via cadence.cmake and run on xt-run --exit_with_target_code, so the gtest exit code drives pass/fail. googletest is built for the target (not the host find_package), with libc++ and GTEST_HAS_PTHREAD=0; gated by EXECUTORCH_BUILD_CADENCE_OP_TESTS. This diff seeds the suite with one quantized op (test_op_quantized_relu_out) to prove the harness end to end; later diffs in the stack add vision, more hifi ops, and a models category. Differential Revision: D108805403
bf0a729 to
e03a5a2
Compare
Summary: Add the first op-level test stage for the Cadence backend, run on the Xtensa Instruction Set Simulator (xt-run), mirroring the host cpu-build -> cpu-test flow with a new hifi-op-test job that runs after hifi-build. The existing operator gtests (ExecuTorch OperatorTest + EXPECT_TENSOR_EQ, calling the kernels directly) are cross-compiled for Xtensa via cadence.cmake and run on xt-run --exit_with_target_code, so the gtest exit code drives pass/fail. googletest is built for the target (not the host find_package), with libc++ and GTEST_HAS_PTHREAD=0; gated by EXECUTORCH_BUILD_CADENCE_OP_TESTS. This diff seeds the suite with one quantized op (test_op_quantized_relu_out) to prove the harness end to end; later diffs in the stack add vision, more hifi ops, and a models category. Differential Revision: D108805403
e03a5a2 to
36df0b5
Compare
36df0b5 to
1d33c2d
Compare
Summary: Add the first op-level test stage for the Cadence backend, run on the Xtensa Instruction Set Simulator (xt-run), mirroring the host cpu-build -> cpu-test flow with a new hifi-op-test job that runs after hifi-build. The existing operator gtests (ExecuTorch OperatorTest + EXPECT_TENSOR_EQ, calling the kernels directly) are cross-compiled for Xtensa via cadence.cmake and run on xt-run --exit_with_target_code, so the gtest exit code drives pass/fail. googletest is built for the target (not the host find_package), with libc++ and GTEST_HAS_PTHREAD=0; gated by EXECUTORCH_BUILD_CADENCE_OP_TESTS. This diff seeds the suite with one quantized op (test_op_quantized_relu_out) to prove the harness end to end; later diffs in the stack add vision, more hifi ops, and a models category. Differential Revision: D108805403
1d33c2d to
ca4624e
Compare
|
Discarding this op-test export; superseded. |
Summary:
Add the first op-level test stage for the Cadence backend, run on the Xtensa
Instruction Set Simulator (xt-run), mirroring the host cpu-build -> cpu-test
flow with a new hifi-op-test job that runs after hifi-build.
The existing operator gtests (ExecuTorch OperatorTest + EXPECT_TENSOR_EQ,
calling the kernels directly) are cross-compiled for Xtensa via cadence.cmake
and run on xt-run --exit_with_target_code, so the gtest exit code drives
pass/fail. googletest is built for the target (not the host find_package), with
libc++ and GTEST_HAS_PTHREAD=0; gated by EXECUTORCH_BUILD_CADENCE_OP_TESTS.
This diff seeds the suite with one quantized op (test_op_quantized_relu_out) to
prove the harness end to end; later diffs in the stack add vision, more hifi
ops, and a models category.
Differential Revision: D108805403