Closed
Bug 2058119
Opened 4 months ago
Closed 3 months ago
[llama.cpp] LlamaCppPipeline options are not always forwarded to llama.cpp
Categories
(Core :: Machine Learning: On Device, defect, P2)
Core
Machine Learning: On Device
Tracking
()
RESOLVED
FIXED
155 Branch
People
(Reporter: vpollet, Assigned: vpollet)
References
(Blocks 1 open bug)
Details
(Whiteboard: [aiplatform])
Attachments
(1 external file)
LlamaCppPipeline computes cache dtypes, flash attention and batch sizes from PipelineOptions and forwards none of them to LlamaRunner.initialize, so every native consumer runs the runner defaults (no flash attention, f16 KV caches, batch 2048/512).
We should fix the call sites such that consumers (Link Preview) get what they requested.
| Assignee | ||
Updated•4 months ago
|
Whiteboard: [aiplatform]
Updated•4 months ago
|
| Assignee | ||
Comment 1•4 months ago
|
||
kvCacheDtype, flashAttn and numBatch/numUbatch requests were never honored.
This deletes fiction in consumer use of the llama.cpp backend.
Updated•4 months ago
|
Assignee: nobody → vpollet
Status: NEW → ASSIGNED
Pushed by vpollet@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/1867b3fcf310
https://hg.mozilla.org/integration/autoland/rev/bc68a25817c8
llama.cpp callsites stop requesting options the engine never served r=ai-platform-reviewers,ngrato,nordzilla
Status: ASSIGNED → RESOLVED
Closed: 3 months ago
Resolution: --- → FIXED
Target Milestone: --- → 155 Branch
Updated•3 months ago
|
QA Whiteboard: [qa-triage-done-c156/b155]
You need to log in
before you can comment on or make changes to this bug.
Description
•