• Jesse Gross's avatar
    ggml: Check return status for computation. · 87b7af6c
    Jesse Gross authored
    We don't check the return status after computing the graph, which
    can silently lead to bad outputs if we try to keep going and future
    computation succeeds. This appears to happens in certain cases on
    Apple M2 devices.
    
    Fixes #11070
    87b7af6c
ggml.go 32.7 KB