nowfound

Dev tools · January 15, 2024

GA

GoTorch – A Go Implementation of PyTorch

I'm starting to implement a barebones version of pytorch in Go. The primary motivation is: 1. I want to better learn Pytorch and how it works so what better way than to just re-implement some of its core features. 2. I write mainly in Go and haven't come across a lot of ML support in Go 3. I'd rather have a Go ML service instead of spinning up additional infrastructure to just support a python ML service in my Go projects 4. Go's static typing, native concurrency (avoid GIL problem in python), efficient memory management, single binary deployment and more make it a better interface compared…

What it does

In the maker’s words, at launch

I'm starting to implement a barebones version of pytorch in Go. The primary motivation is: 1. I want to better learn Pytorch and how it works so what better way than to just re-implement some of its core features. 2. I write mainly in Go and haven't come across a lot of ML support in Go 3. I'd rather have a Go ML service instead of spinning up additional infrastructure to just support a python ML service in my Go projects 4. Go's static typing, native concurrency (avoid GIL problem in python), efficient memory management, single binary deployment and more make it a better interface compared to python IMO Knowing the Pytorch is mainly implemented in c++ and c under the covers, I'm not expecting any performance gains by porting it to Go. But still, will be interesting to see how it compares. Check it out below and let me know your thoughts! https://github.com/evisdrenova/gotorch

Does the same job

all alternatives →
  • TorchTPUApr 2026 · ▲106

    Running PyTorch Natively on TPUs at Google Scale

  • GT
  • GI
  • GA
    Goru, an experimental, Go-inspired concurrency library for Ruby2023 · github.com · ▲6

    Hey folks, wanted to show this off and get feedback. Still early/experimental but there are quite a few concepts I'm excited about here. This project came about while writing a program in Go and loving its approach to concurrency. Being a long-time Rubyist I immediately started to think about what similar concepts might look like in Ruby. I set out with two main design constraints: 1. Lightweight: I didn't want routines to be backed by fibers or threads. Having been involved some in the async project (https://github.com/socketry/async), I had some experience using…

  • GV
    GoLang vs. Python: deep dive into the concurrency2018 · made2591.github.io · ▲10
  • IC
    I co-wrote a book on training Deep Learning models in Go2019 · ▲45

    A friend and I wrote a book on how to build and train Deep Learning models in Go. We wanted it to be a useful reference for deep learning basics for Go programmers. Deep Learning is slowly seeping into everything we use every day and we thought it would be great if more people could do it in Go. The book is available here and on Amazon as well. https://www.packtpub.com/big-data-and-business-intelligence/hands-deep-learning-go We would appreciate any feedback and we're always looking to improve.

More dev tools this month

the category →
  • Dograh592

    The open source VAPI alternative

    Dev tools · 25d ago · dograh.com

  • Meridian530

    Don't let your work go unnoticed. Get promoted!

    Dev tools · 20d ago · meridiona.com

  • x1516

    Lovable for iPhone apps go from idea to App Store

    Dev tools · 11d ago · x1.new

  • Open-source GTM skills for technical founders

    Dev tools · 29d ago · gtmcofounder.com

  • OpenTrailPaper is open-source bike computer firmware for the LilyGO T5S3 4.7" E-Paper PRO. It supports offline maps, GPX routes, FIT recording and Bluetooth sensors.

    Dev tools · 1d ago · opentrailpaper.com

  • Nuphos380

    The AI-Native DevOps Workspace.

    Dev tools · 24d ago · nuphos.ai

Launched alongside, January 2024

the whole month →