You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to get torch.rb working with TruffleRuby (version truffleruby+graalvm-23.0.0 installed with rbenv+ruby_build on a M1 MacBookPro), but unfortunately when I launch the following TensorOption instantiation command:
/Users/mauro/code/test/truffleruby/reinforce/vendor/bundle/truffleruby/3.1.3.23.0.0/gems/rice-4.1.0/include/rice/rice.hpp:4094:in `call': External LLVMFunction rb_frame_method_id_and_class cannot be found. (Polyglot::ForeignException)
from /Users/mauro/.rbenv/versions/truffleruby+graalvm-23.0.0/graalvm/Contents/Home/languages/ruby/lib/truffle/truffle/cext_ruby.rb:41:in `'
from /Users/mauro/.rbenv/versions/truffleruby+graalvm-23.0.0/graalvm/Contents/Home/languages/ruby/lib/truffle/truffle/cext_ruby.rb:41:in `Torch::TensorOptions#initialize'
I would like to help fixing this, but I really wouldn't know where to start. Any suggestions?
(Cross-reference with this issue on the TruffleRuby repo.)
The text was updated successfully, but these errors were encountered:
Hi @mtortonesi, TruffleRuby isn't supported, and I don't really have the expertise to help with this. I think the first step would be getting Rice working with TruffleRuby, as the test suite currently fails.
FYI, I just submitted oracle/truffleruby#3363, that implements the rb_frame_method_id_and_class in Truffleruby. The patch seems to get rice, and in turn torch.rb, to work with Truffleruby.
I am trying to get torch.rb working with TruffleRuby (version truffleruby+graalvm-23.0.0 installed with rbenv+ruby_build on a M1 MacBookPro), but unfortunately when I launch the following TensorOption instantiation command:
I get the following error:
I would like to help fixing this, but I really wouldn't know where to start. Any suggestions?
(Cross-reference with this issue on the TruffleRuby repo.)
The text was updated successfully, but these errors were encountered: