Closed Bug 2080323 Opened 1 month ago Closed 19 days ago

about:inference clean-up for HWInference

Categories

(Core :: Machine Learning: On Device, task, P2)

task

Tracking

()

RESOLVED FIXED
161 Branch
Tracking Status
firefox161 --- fixed

People

(Reporter: vpollet, Assigned: vpollet)

References

(Blocks 1 open bug, Regressed 1 open bug)

Details

(Whiteboard: [aiplatform])

Attachments

(3 external files)

about:inference works under assumptions that no longer hold with HWInference. This bug is about adding a Text Generation specific panel to about:inference allowing us to test text generation in the new process cleanly.

  • Terminate HWInference engines from the page, their only owner.
  • Only query an inference process that is already running.
  • Read metrics in the shape every backend returns.
  • Pass flashAttn with a quantized KV cache.
  • Clear the polls on unload.
Assignee: nobody → vpollet
Status: NEW → ASSIGNED

Quantized KV cache types require flash attention.

Pushed by vpollet@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/812ae8c34e53 https://hg.mozilla.org/integration/autoland/rev/e4a8b1ae298f Part 1: about:inference fixes for HWInference engines. r=ai-platform-reviewers,nordzilla https://github.com/mozilla-firefox/firefox/commit/878dbd795c39 https://hg.mozilla.org/integration/autoland/rev/1f1740060e9d Part 2: Sub-tabs and a devices panel in about:inference. r=ai-platform-reviewers,fluent-reviewers,bolsson,nordzilla https://github.com/mozilla-firefox/firefox/commit/67fef1ce2aca https://hg.mozilla.org/integration/autoland/rev/b83c59a201b7 Part 3: Text generation panel in about:inference. r=ai-platform-reviewers,fluent-reviewers,bolsson,nordzilla
Regressions: 2088295
Pushed by asilaghi@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/2eaf6bc2f2fc https://hg.mozilla.org/integration/autoland/rev/e8d86511a941 Revert "Bug 2080323 - Part 3: Text generation panel in about:inference. r=ai-platform-reviewers,fluent-reviewers,bolsson,nordzilla" for causing bc tests failures at browser_aboutinference.js

Backed out for causing bc tests failures at browser_aboutinference.js
Backout Link
Push with failures
Failure Log
Failure line TEST-UNEXPECTED-FAIL | toolkit/components/aboutinference/tests/browser/browser_aboutinference.js | test_about_inference_text_generation - Uncaught exception in test - The summary appears after every run - timed out after 120 tries.

Flags: needinfo?(vpollet)

Thanks for backing this out, my try queries were missing a11y

Flags: needinfo?(vpollet)
Pushed by vpollet@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/5eb858ed683a https://hg.mozilla.org/integration/autoland/rev/a16d1e2536e3 Part 1: about:inference fixes for HWInference engines. r=ai-platform-reviewers,nordzilla https://github.com/mozilla-firefox/firefox/commit/e8bd48e6e55e https://hg.mozilla.org/integration/autoland/rev/eccd58de7056 Part 2: Sub-tabs and a devices panel in about:inference. r=ai-platform-reviewers,fluent-reviewers,bolsson,nordzilla https://github.com/mozilla-firefox/firefox/commit/47a4a66bd66a https://hg.mozilla.org/integration/autoland/rev/83b42279434f Part 3: Text generation panel in about:inference. r=ai-platform-reviewers,fluent-reviewers,bolsson,nordzilla
Status: ASSIGNED → RESOLVED
Closed: 19 days ago
Resolution: --- → FIXED
Target Milestone: --- → 161 Branch
QA Whiteboard: [qa-triage-done-c162/b161]
Regressions: 2091324
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: