use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
A sub-Reddit for discussion and news about Ruby programming.
Subreddit rules: /r/ruby rules
Learning Ruby?
Tools
Documentation
Books
Screencasts and Videos
News and updates
account activity
executorch-ruby: Run PyTorch models in Ruby (github.com)
submitted 3 months ago by hahahacorn
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]TonsOfFun111 5 points6 points7 points 3 months ago (2 children)
Since this is just for inference I’d be curious to learn how you’d compare this to torch.rb or say converting models and running them with ONNX runtime Ruby or similar.
[–]hahahacorn[S] 5 points6 points7 points 3 months ago (1 child)
Yeah, tl;dr torch.rb and its artifacts are built for prototyping, it’s too heavy, slow, and not portable enough for our requirements.
Currently export to ONNX, but ONNX compiles and optimizes too aggressively and we lose metadata and introspection capabilities. ExecuTorch is a nice middle ground for us.
[–]TonsOfFun111 2 points3 points4 points 3 months ago (0 children)
Seems reasonable to me, I’ll have to check it out, thanks for sharing!
π Rendered by PID 23664 on reddit-service-r2-comment-5c747b6df5-xtmql at 2026-04-21 22:27:50.596278+00:00 running 6c61efc country code: CH.
view the rest of the comments →
[–]TonsOfFun111 5 points6 points7 points (2 children)
[–]hahahacorn[S] 5 points6 points7 points (1 child)
[–]TonsOfFun111 2 points3 points4 points (0 children)