lwch/gotorch
golang libtorch binding
This is a Go language wrapper for LibTorch, allowing Go developers to integrate and utilize PyTorch-trained machine learning models directly within their Go applications. It takes pre-trained PyTorch models (like 'yolo_tiny.pt') and allows for their loading, parameter inspection, and inference operations using Go code. Go developers building high-performance services or applications that require embedded AI capabilities would find this useful.
Use this if you are a Go developer who needs to incorporate existing PyTorch machine learning models into your Go-based applications for tasks like inference or real-time data processing.
Not ideal if you are not a Go developer or if your primary workflow involves training complex machine learning models from scratch, as this tool focuses on model integration and inference rather than full-fledged model development.
Stars
69
Forks
8
Language
Go
License
MIT
Category
Last pushed
Nov 09, 2025
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/ml-frameworks/lwch/gotorch"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
SPFlow/SPFlow
Sum Product Flow: An Easy and Extensible Library for Sum-Product Networks
gomlx/gomlx
GoMLX: An Accelerated Machine Learning Framework For Go
montanaflynn/stats
A well tested and comprehensive Golang statistics library package with no dependencies.
mattn/go-tflite
Go binding for TensorFlow Lite
james-bowman/sparse
Sparse matrix formats for linear algebra supporting scientific and machine learning applications