Closed Bug 1873743 Opened 1 year ago Closed 11 months ago

Centralize the architecture of the machine learning engine

Categories

(Firefox :: Translations, task, P2)

task

Tracking

()

RESOLVED FIXED
125 Branch
Tracking Status
firefox125 --- fixed

People

(Reporter: gregtatum, Assigned: gregtatum)

References

Details

Attachments

(6 files)

As others begin to experiment with ML models, we should centralize on a shared engine creator. Similar to what Translations did with a single process model in Bug 1815339, we can extend this for others to use.

Attachment #9371847 - Attachment description: Bug 1873743 - Create the MLEngine Child mechanism; r?#translations-reviewers! → Bug 1873743 - Implement the MLEngine actor; r?#translations-reviewers!
Blocks: 1875526
Pushed by gtatum@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/af470fddc2d4 Stub out the toolkit/components/ml files; r=translations-reviewers,nordzilla https://hg.mozilla.org/integration/autoland/rev/70ffe08ff7cb Stub out enough of remote settings to download; r=translations-reviewers,nordzilla https://hg.mozilla.org/integration/autoland/rev/59d5a7bff4fa Implement the MLEngine actor; r=translations-reviewers,nordzilla https://hg.mozilla.org/integration/autoland/rev/114ea06972d3 Move the engine into a worker; r=translations-reviewers,nordzilla https://hg.mozilla.org/integration/autoland/rev/a695e04c3d54 Centralize the engine process logic; r=translations-reviewers,nordzilla https://hg.mozilla.org/integration/autoland/rev/bb96b326fd83 Add usage documentation; r=translations-reviewers,nordzilla

Backed out for causing bc failures on browser_translations_panel_auto_translate_error_view.js, browser_about_translations_translations.js and assertion failure on ServoUtils.h

Backout link

Push with failures

Failure log 1 // Failure log 2 // Failure log 3

Flags: needinfo?(gtatum)

I still need to investigate this.

Flags: needinfo?(gtatum)

I rebased and found the bug. It was yet another thing that would have been caught by having a type system in JS. I'll land after a clean try run.

Pushed by gtatum@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/b8d384c0321a Stub out the toolkit/components/ml files; r=translations-reviewers,nordzilla https://hg.mozilla.org/integration/autoland/rev/2e9f3759da5a Stub out enough of remote settings to download; r=translations-reviewers,nordzilla https://hg.mozilla.org/integration/autoland/rev/4f9b7686df52 Implement the MLEngine actor; r=translations-reviewers,nordzilla https://hg.mozilla.org/integration/autoland/rev/6baf7a096eba Move the engine into a worker; r=translations-reviewers,nordzilla https://hg.mozilla.org/integration/autoland/rev/1f54d4417ebd Centralize the engine process logic; r=translations-reviewers,nordzilla https://hg.mozilla.org/integration/autoland/rev/748e969e9203 Add usage documentation; r=translations-reviewers,nordzilla
Pushed by gtatum@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/33facf395f0c Stub out the toolkit/components/ml files; r=translations-reviewers,nordzilla https://hg.mozilla.org/integration/autoland/rev/aeca457f63cb Stub out enough of remote settings to download; r=translations-reviewers,nordzilla https://hg.mozilla.org/integration/autoland/rev/ec1ae112bf2e Implement the MLEngine actor; r=translations-reviewers,nordzilla https://hg.mozilla.org/integration/autoland/rev/bd4763ff6a76 Move the engine into a worker; r=translations-reviewers,nordzilla https://hg.mozilla.org/integration/autoland/rev/539800835dd1 Centralize the engine process logic; r=translations-reviewers,nordzilla https://hg.mozilla.org/integration/autoland/rev/cb212fa2b422 Add usage documentation; r=translations-reviewers,nordzilla
Regressions: 1881186
Flags: needinfo?(gtatum)
Regressions: 1881324
Regressions: 1881865
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: