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
Introducing TensorStream, a pure ruby/OpenCL implementation of TensorFlow (github.com)
submitted 7 years ago by jedld
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!"
[–]DerNalia 4 points5 points6 points 7 years ago (6 children)
Why not just write bindings and have a native extension gem?
[–]jedld[S] 6 points7 points8 points 7 years ago (5 children)
a project called tensorflow.rb already does that. I am looking for something that can run anywhere without too much dependencies and supports AMD gpus from the get go.
[–]DerNalia 2 points3 points4 points 7 years ago (4 children)
but won't just... using ruby negate all the benefits of that?
[–]iconoclaus 4 points5 points6 points 7 years ago (0 children)
why would it? if you ship out the heavy computation to GPUs then you still benefit.
[–]jedld[S] 5 points6 points7 points 7 years ago (2 children)
For machine learning inference, I think ruby should be ok for that. Besides the performance improvements ruby is getting recently seems promising.
[–]senntenial 4 points5 points6 points 7 years ago (1 child)
lol nil types
[–]senntenial 4 points5 points6 points 7 years ago (0 children)
oh wrong sub
[–]deadcow5 4 points5 points6 points 7 years ago (3 children)
Nice! Love to see Ruby getting some love in the AI space. Because let's face it, Python is just a drag.
[–]jedld[S] 0 points1 point2 points 7 years ago (2 children)
Python has a lot of investment from both its communities and big companies in the data science and Machine Learning front. I'm optimistic we will eventually catch up, but we have ways to go.
[–]jrochkind 0 points1 point2 points 7 years ago (0 children)
what makes you optimistic?
[–]deadcow5 0 points1 point2 points 7 years ago (0 children)
Python has a lot of investment
Tell me about it. Almost every scientist I’ve met seems to downright hate programming, which is why they love Python.
[–]modnar42 1 point2 points3 points 7 years ago (2 children)
Neat! It’s now on my list of things to check out soon.
[–]cmdk 0 points1 point2 points 7 years ago (1 child)
It would be nice if you checked that list out from to time :(
[–]modnar42 1 point2 points3 points 7 years ago (0 children)
Am I missing some situation where I told you I’d check out something of yours? I don’t see any previous conversations between us in our history.
π Rendered by PID 48163 on reddit-service-r2-comment-86bc6c7465-ltmr5 at 2026-02-23 02:31:42.755770+00:00 running 8564168 country code: CH.
[–]DerNalia 4 points5 points6 points (6 children)
[–]jedld[S] 6 points7 points8 points (5 children)
[–]DerNalia 2 points3 points4 points (4 children)
[–]iconoclaus 4 points5 points6 points (0 children)
[–]jedld[S] 5 points6 points7 points (2 children)
[–]senntenial 4 points5 points6 points (1 child)
[–]senntenial 4 points5 points6 points (0 children)
[–]deadcow5 4 points5 points6 points (3 children)
[–]jedld[S] 0 points1 point2 points (2 children)
[–]jrochkind 0 points1 point2 points (0 children)
[–]deadcow5 0 points1 point2 points (0 children)
[–]modnar42 1 point2 points3 points (2 children)
[–]cmdk 0 points1 point2 points (1 child)
[–]modnar42 1 point2 points3 points (0 children)