3 ms·
Have you seen the gorgonia repos? https://github.com/gorgonia/agogo https://github.com/gorgonia/agogo They basically went a similar route and had to implement
by thrwwycbr 3y ago
Have you seen the gorgonia repos?
https://github.com/gorgonia/agogo https://github.com/gorgonia/agogo
They basically went a similar route and had to implement all kinds of data types and GPU code to be able to train their alphago model.
In go, the biggest pitfall I'd imagine is memory management because you cannot influence the GC. So I'd build up everything with as many references from the start, and integrate it with the pperf tools to be able to benchmark it
- edrenova 3y agoI hadn't seen this before but I did come across this recently (although it seems to be an older project) -> https://github.com/wangkuiyi/gotorch https://github.com/wangkuiyi/gotorch Agreed on the GC issue, going to be doing some perf testing on it and see how it performs. Expecting it won't be as fast as if it was written in C but curious to see the delta.