browser_ml_native.js has intermittent failures on Windows
Categories
(Core :: Machine Learning: On Device, defect, P3)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox158 | --- | fixed |
People
(Reporter: vpollet, Assigned: vpollet)
References
Details
Attachments
(1 file, 1 external file)
|
161.30 KB,
image/png
|
Details |
Uncaught exception in test - at chrome://global/content/ml/backends/Pipeline.mjs:88 - Error: Error: LlamaRunner.createGenerationStream: already_AddRefed<ReadableStream> mozilla::dom::LlamaRunner::CreateGenerationStream(const LlamaChatOptions &, ErrorResult &) Unable to create a new generation stream: A generation is already in progress on this LlamaRunner.
The exception is thrown in test_ml_smoke_test_llama_sequential_runs which runs two back-to-back generations. LlamaRunner guards against concurrent use by checking that its LlamaStreamSource (member LlamaRunner::mStreamSource) is completed or cancelled. On the consumer side, task completion is observed by its end of the stream closing, which happens before the state of the stream source is updated: https://searchfox.org/firefox-main/source/toolkit/components/ml/backends/llama/LlamaRunner.cpp#229-240
| Assignee | ||
Updated•2 months ago
|
| Assignee | ||
Comment 1•2 months ago
|
||
Updated•2 months ago
|
Updated•2 months ago
|
Description
•