by mountainriver · 2y ago · 0 comments
Written but someone who has built ML libraries from scratch in Go
What is the realm of the interop problem there? That one wants to assemble data in Go and then feed it to another API? Or even at a lower level, getting data to a GPU/TPU requires C interop so it's more about the memory sharing?
Those libraries come from Google, so hopefully they can help battle these issues in the nether realms.
Recently I have been getting the itch to go lower level and see if it would be feasible to write an LLM backend in pure Go, or a Stable Diffusion backend. Just for curiosity and learning.
But if this is a dead-end I would like to know from someone more experienced than I. Thanks for any advice you can offer in advance.