[ExecuTorch][WebGPU] Op-tests for clamp + hardtanh#21157
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/21157
Note: Links to docs will display an error until the docs builds have been completed. ❗ 1 Active SEVsThere are 1 currently active SEVs. If your PR is affected, please view them below: ✅ You can merge normally! (1 Unrelated Failure)As of commit a0f7b88 with merge base 266e0dc ( BROKEN TRUNK - The following job failed but were present on the merge base:👉 Rebase onto the `viable/strict` branch to avoid these failures
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
This PR needs a
|
psiddh
left a comment
There was a problem hiding this comment.
Approving full WebGPU stack
Stack from ghstack (oldest at bottom):
Adds the op-test suites for the clamp-family ops ported in the diff below.
clampcovers both-bounds and amin=Nonecase (exercising theNone -> -infsubstitution);hardtanhcovers the default(-1, 1)bounds and a wider(-2, 2).Key changes:
test/ops/test_unary_activations.py—ClampModule,HardtanhModule,CLAMP_CONFIGS,HARDTANH_CONFIGS.test/op_tests/cases.py—_clamp_suite+_hardtanh_suite.Differential Revision: D112257631