Bootstrap the browser side of the HWInference process
Categories
(Core :: Machine Learning: On Device, task, P2)
Tracking
()
People
(Reporter: vpollet, Unassigned)
References
(Blocks 1 open bug)
Details
(Whiteboard: [aiplatform])
Attachments
(2 obsolete files)
D268403 introduces the HWInference utility process. We are migrating llama.cpp operations from the JS inference process to this new utility process. To avoid sharing a process with web-originated inference (like the Speech Recognition Web API), browser-initiated inference will happen in a physically separate process. The goal here is to bootstrap the browser-side of things, following the pattern established by D268403 for content-side.
Updated•4 months ago
|
| Reporter | ||
Comment 1•3 months ago
|
||
PHWInferenceBrowserManager and its two actors manage task protocols for browser-initiated requests.
Updated•3 months ago
|
| Reporter | ||
Comment 2•3 months ago
|
||
GetOrCreate() shares one browser-keyed process through Reservations, with the manager holding the process keep-alive. When the last consumer drops, the process is retired at once or after browser.ml.hwInference.processTimeout ms, so the next consumer skips the launch.
| Reporter | ||
Updated•2 months ago
|
Comment 4•2 months ago
|
||
Comment on attachment 9621320 [details]
WIP: Bug 2058344 - Part 1: Added browser-side HWInference manager over PHWInference
Revision D316054 was moved to bug 2070199. Setting attachment 9621320 [details] to obsolete.
Comment 5•2 months ago
|
||
Comment on attachment 9622681 [details]
WIP: Bug 2058344 - Part 2: Add HWInference-browser keep-alive policy
Revision D316834 was moved to bug 2070199. Setting attachment 9622681 [details] to obsolete.
Description
•