Closed Bug 2052861 Opened 1 month ago Closed

[wllama] wllama fails to initialize without blob:system support

Categories

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

Firefox 154
defect

Tracking

()

RESOLVED FIXED
155 Branch
Tracking Status
firefox154 --- fixed
firefox155 --- fixed

People

(Reporter: vpollet, Assigned: vpollet)

References

Details

(Whiteboard: [aiplatform])

Attachments

(2 files, 1 obsolete file)

Recent work landed that changed blob:system URIs to an arbitrary null principal broke wllama, on initialization we now get:

Error: Worker constructor: Failed to load worker script at "...".

I investigated a bit and wllama is indeed broken on Nightly, we can see the error in Link Preview generate showing up in telemetry. In this query we can see that the error I reported is not seen before June 28th, and 9 of them after that date.

We have 0 testing exercising a real wllama wasm blob and and actual inference, the regression is not catchable in CI

Assignee: nobody → vpollet
Status: NEW → ASSIGNED
Whiteboard: [aiplatform]
Blocks: 2053830

Link Preview key-points are now skipped for users running non-AVX2 hardware.
Key-points users now only run native llama.cpp.

Attachment #9605087 - Attachment is obsolete: true
Pushed by smolnar@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/dde0b0151820 https://hg.mozilla.org/integration/autoland/rev/4a0d04fa83ac Revert "Bug 2052861 - Gate Link Preview key points on llama.cpp support r=gregtatum,flozia" for causing bc failures @ browser_link_preview.js
Flags: needinfo?(vpollet)
Status: ASSIGNED → RESOLVED
Closed: 1 month ago
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 155 Branch

The patch landed in nightly and beta is affected.
:vpollet, is this bug important enough to require an uplift?

For more information, please visit BugBot documentation.

Flags: needinfo?(vpollet)

Link Preview key-points are now skipped for users running non-AVX2 hardware.
Key-points users now only run native llama.cpp.

Original Revision: https://phabricator.services.mozilla.com/D311367

Attachment #9616719 - Flags: approval-mozilla-beta?
Flags: needinfo?(vpollet)
Attachment #9616719 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
Blocks: 2057625
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: