[Project] PyGo – embedding CPython inside a Go process to build a deep learning framework

I've been working on something a bit unusual: a deep learning framework where Go is the top-level API, Python handles autograd and the model zoo, and C++/CUDA does the raw compute.

The architecture looks like this:

Go API → CGo bridge → CPython (embedded) → pybind11 → CUDA/AVX-512 kernels

Enter fullscreen mode