ankane / torch.rb

Deep learning for Ruby, powered by LibTorch
Other
704 stars 30 forks source link

`pipx` Path and Homebrew Issues #55

Closed henrikbjorn closed 3 weeks ago

henrikbjorn commented 3 weeks ago

Trying to use transformers-rb and running into issues installing torch-rb since the homebrew pytorch package is 2.2.0.

Instead I had to install with pipx and set the --with-torch-dir to ~/.local/pipx/venvs/torch/lib/python3.12/site-packages/torch

Can that be auto discovered?

Thanks for the library :)

ankane commented 3 weeks ago

Thanks @henrikbjorn, updated the instructions in the commit above.