Closed Bug 2058122 Opened 4 months ago Closed 4 months ago

[llama.cpp] browser_ml_native.js llama.cpp crash tests don't validate a crash happened

Categories

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

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)

llama_crash's only assertion is Assert.ok(true) inside its catch, so a crash model that stops crashing passes silently when it should fail (stopping is not crashing)

Whiteboard: [aiplatform]

Added a check that a crash indeed happened, improving upon previous version which was asserting ok.

Assignee: nobody → vpollet
Status: NEW → ASSIGNED
Status: ASSIGNED → RESOLVED
Closed: 4 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: