feat(webgpu): harden large-model web loading readiness#73
Merged
Conversation
Improve web bridge loading resilience and diagnostics for large GGUF models, including cache prefetch wiring, wasm64/fetch fallback controls, and clearer user-facing warnings. Align chat app and docs to bridge assets v0.1.5 and add COI headers to HF static deployment so browser runtime requirements are met by default.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #73 +/- ##
=======================================
Coverage 76.51% 76.51%
=======================================
Files 66 66
Lines 8196 8196
=======================================
Hits 6271 6271
Misses 1925 1925
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
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.
Summary
WebGpuLlamaBackendwith smarter fallback/retry behavior, wasm64/fetch-backend controls, and clearer runtime diagnostics for memory/COI/thread constraints.leehack/llama-web-bridge-assets@v0.1.5, update bridge integration docs, and inject COIcustom_headersin HF static deploy workflow output.Validation
dart analyzedart test -p chrome test/unit/backends/webgpu/webgpu_backend_test.dartflutter build web --release(fromexample/chat_app)