[ExecuTorch][WebGPU] Add et_vk.fused_ce (fused cross-entropy) to the WebGPU backend#20933
[ExecuTorch][WebGPU] Add et_vk.fused_ce (fused cross-entropy) to the WebGPU backend#20933JCNTH wants to merge 8 commits into
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/20933
Note: Links to docs will display an error until the docs builds have been completed. ❌ 5 New Failures, 22 Pending, 8 Unrelated Failures, 4 Unclassified FailuresAs of commit 0146e3a with merge base 21554e5 ( NEW FAILURES - The following jobs have failed:
UNCLASSIFIED FAILURES - DrCI could not classify the following jobs because the workflow did not run on the merge base. The failures may be pre-existing on trunk or introduced by this PR:
FLAKY - The following jobs failed but were likely due to flakiness present on trunk:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
This PR needs a
|
SS-JIA
left a comment
There was a problem hiding this comment.
Review automatically exported from Phabricator review in Meta.
Stack from ghstack (oldest at bottom):
Add
et_vk.fused_ce— a fused cross-entropy (loss + dlogits in one op) for the on-device training tail.Key changes:
runtime/ops/fused_ce/— fused-CE WGSL kernel (+ thereduceshader it depends on) + handlercustom_ops_lib.py—fused_cecustom-op def +register_autogradop_registry.py—OpFeaturesCMakeLists.txtWEBGPU_SRCS— wire the sourceTraining-only, WebGPU-only custom op registered under the shared Vulkan partitioner; no Vulkan kernel yet.
Co-authored-with: Claude Code.
@exported-using-ghexport
Differential Revision: D111755132
Differential Revision: D111755132