Repository navigation
Add native WebGPU backend integration - #1160
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This exposes the WebGPU backend from merged #1159 through AudioCPP's native execution paths. Build with
ENGINE_ENABLE_WEBGPU=ONand select it with--backend webgpu; browser/WASM support is left for a separate PR.exec_planbackend parser. No model-specific execution plans are added.bestretains GGML's existing automatic selection and can select WebGPU when it is built in.tests/nemotron_asr/, gated on WebGPU and Nemotron being enabled, and outside automatic CTest execution.No GGML kernel changes, browser example, Emscripten build settings, browser file I/O, eSpeak changes, WASM32 resource-size fixes, or unrelated model timing additions are included.
Validation on RTX 5090 used Debug builds and sequential execution:
--versionconfirms Debug and CPU/CUDA/Vulkan/WebGPU backends.3.5e-15.--backend webgpu, withoutexec_plan, produced the expected transcript: “Concord returned to its place amidst the tents.”Logs are retained locally under
logs/webgpu/native-pr/. These are focused integration checks, not a complete model regression, waveform-parity or performance sweep. Native setup and scope are documented indocs/build/WEBGPU.md.