Skip to content

fix(webgpu): stabilize runtime tuning and multimodal flow#81

Merged
leehack merged 10 commits intomainfrom
fix/webgpu-runtime-tuning-and-logs
Mar 6, 2026
Merged

fix(webgpu): stabilize runtime tuning and multimodal flow#81
leehack merged 10 commits intomainfrom
fix/webgpu-runtime-tuning-and-logs

Conversation

@leehack
Copy link
Copy Markdown
Owner

@leehack leehack commented Mar 6, 2026

Summary

  • Harden WebGPU multimodal behavior across backend transitions with warmup lifecycle fixes, adaptive CPU multimodal limits, and regression coverage for WebGPU -> CPU -> WebGPU scenarios.
  • Improve streaming/runtime performance and resilience with token transport tuning, typewriter pacing refinements, wall/stall timeout handling, richer runtime diagnostics metadata, and chat app runtime status visibility.
  • Add local validation tooling (Playwright harness/smoke scripts + multimodal regression gate), expose web runtime tuning knobs, and bump default bridge asset pin/docs to v0.1.8.

Testing

  • dart analyze
  • dart test test/unit/backends/webgpu/webgpu_backend_test.dart
  • flutter test test/runtime_profile_service_test.dart test/chat_generation_service_test.dart (run in example/chat_app)

@codecov-commenter
Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 76.81%. Comparing base (8bb8baa) to head (23be96f).

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #81   +/-   ##
=======================================
  Coverage   76.81%   76.81%           
=======================================
  Files          66       66           
  Lines        8579     8579           
=======================================
  Hits         6590     6590           
  Misses       1989     1989           
Flag Coverage Δ
unittests 76.81% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@leehack leehack merged commit 33338c6 into main Mar 6, 2026
6 checks passed
@leehack leehack deleted the fix/webgpu-runtime-tuning-and-logs branch March 6, 2026 02:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants