Closed Bug 2046979 Opened 5 months ago Closed 2 months ago

Implement the text generation protocol with llama.cpp

Categories

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

task

Tracking

()

RESOLVED FIXED
159 Branch
Tracking Status
firefox159 --- fixed

People

(Reporter: gregtatum, Assigned: vpollet)

References

(Blocks 1 open bug)

Details

(Whiteboard: [aiplatform])

Attachments

(1 external file)

Get the llama.cpp CPU build working inside the sandbox and verify a full round-trip: prompt in from the parent process as a file descriptor, tokens out to the calling content process. This is the first end-to-end smoke test that the process boundary, model loading, and IPC streaming all work together.

Whiteboard: [aiplat]
Whiteboard: [aiplat] → aiplatform
Whiteboard: aiplatform → [aiplatform]

TextGenerationChild implements PTextGeneration by driving LlamaBackend.
Added gtests to validate the protocol contracts.

Summary: Get the llama.cpp build working on CPU in the sandbox. → Implement the text generation protocol with llama.cpp
Attachment #9621322 - Attachment description: WIP: Bug 2046979 - Implement PTextGeneration with LlamaBackend → WIP: Bug 2046979 - Implement PTextGeneration with LlamaBackend r?gregtatum
Assignee: nobody → vpollet
Attachment #9621322 - Attachment description: WIP: Bug 2046979 - Implement PTextGeneration with LlamaBackend r?gregtatum → Bug 2046979 - Implement PTextGeneration with LlamaBackend r?gregtatum
Status: NEW → ASSIGNED
Status: ASSIGNED → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 159 Branch
QA Whiteboard: [qa-triage-done-c160/b159]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: