Closed Bug 2058118 Opened 4 months ago Closed 3 months ago

[llama.cpp] LlamaCppPipeline::run does not return the generated text properly

Categories

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

Firefox 155
defect

Tracking

()

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

People

(Reporter: vpollet, Assigned: vpollet)

References

(Blocks 1 open bug)

Details

(Whiteboard: [aiplatform])

Attachments

(1 external file)

run() accumulates chunk objects into finalOutput, yielding "[object Object]..." text as a result. The only shipping consumer streams, so nothing exercises run()'s return value which is incorrect.

Whiteboard: [aiplatform]

run() accumulated chunk objects into finalOutput, yielding "[object Object]..." text.

Assignee: nobody → vpollet
Status: NEW → ASSIGNED
Pushed by vpollet@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/502a4b4c175b https://hg.mozilla.org/integration/autoland/rev/4b18bc8f8eae Fix LlamaCppPipeline.run() finalOutput accumulating chunk objects as text r=ai-platform-reviewers,nordzilla
Status: ASSIGNED → RESOLVED
Closed: 3 months ago
Resolution: --- → FIXED
Target Milestone: --- → 155 Branch
QA Whiteboard: [qa-triage-done-c156/b155]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: