ggml
ca21b435 - Fix SAM example mask output with latest ggml

Commit
2 years ago
Fix SAM example mask output with latest ggml - I am not sure why this inplace removal causes the output to turn correct again. I spend some time debugging and trying different things, but my assumption is that some dependency is not properly propagated and the allocator doesn't know about some tensor and therefore decided to free it and overwrite its memory - I also added commented out build_forward_expand, which also fixes the output, but I am still not sure why - Additionally I am still trying to figure out why the ggml_allocr_alloc(..) calls after the ggml_conv_transpose_2d_p0 are needed - I guess I have to spend some time debugging the ggml allocator and figure out what wrong is happening in this operations. Probably something wrong in the operation implementation that I am unable to notice. Fixes #510.
Author
YavorGIvanov
Committer
YavorGIvanov
Parents
Loading