Why can't Go be popular for machine learning?

This page summarizes the projects mentioned and recommended in the original post on /r/golang

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • Gorgonia

    Gorgonia is a library that helps facilitate machine learning in Go.

  • CGO? Too much overhead in calling C functions (in which you can wrap libtorch or TF C++ code). And too much struggling woth CUDA (actually all GPU stuff). But, there are interesting attempts: https://github.com/gorgonia/gorgonia (I love it most), https://github.com/sugarme/gotch (bindings to libtorch), https://github.com/nlpodyssey/spago.

  • gotch

    Go binding for Pytorch C++ API (libtorch)

  • CGO? Too much overhead in calling C functions (in which you can wrap libtorch or TF C++ code). And too much struggling woth CUDA (actually all GPU stuff). But, there are interesting attempts: https://github.com/gorgonia/gorgonia (I love it most), https://github.com/sugarme/gotch (bindings to libtorch), https://github.com/nlpodyssey/spago.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • spaGO

    Discontinued Self-contained Machine Learning and Natural Language Processing library in Go

  • CGO? Too much overhead in calling C functions (in which you can wrap libtorch or TF C++ code). And too much struggling woth CUDA (actually all GPU stuff). But, there are interesting attempts: https://github.com/gorgonia/gorgonia (I love it most), https://github.com/sugarme/gotch (bindings to libtorch), https://github.com/nlpodyssey/spago.

  • tensorflow

    An Open Source Machine Learning Framework for Everyone

  • Go bindings for Tensorflow were supported by Google for a long time. The documentation for Go, however has since disappeared.

  • tfgo

    Tensorflow + Go, the gopher way

  • Paolo Galeone has improved bindings (tfgo) that can be used for training and deployment.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts