-
Notifications
You must be signed in to change notification settings - Fork 215
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failure to build torch-sys, manual installation #298
Comments
It seems that just building this from source then tying it in as a dependency with
works. And I see it uses |
Hello @Rushmore75 , The version published on crates.io depends on
When a new version of this library is released both will use Please let me know if this helps. |
I didn't change what libtorch version I was using between building from source or using the version from crates.io tho? |
I believe it may be part of the issue: the libtorch version used by the version in crates.io and from this repository are indeed different. |
Ok. So shouldn't the readme be updated then? At least with a section about if not installing via source but just as a dependancy |
I have these environment variables set:
But when I go to build, it stops on
torch-sys
, which fails to build. Usingrust-bert = "0.19.0"
. The error is about 1k lines of incorrect macros and function uses. I can compiletch-rs
on my computer just fine, but that usestorch-sys
0.9
instead of0.8
. I could build everything from source but it's getting to be a long process at that point. Having to host a this dependency then a dependency of this.So basically the dependencies need to be updated (from what it appears to me, but I might have made another mistake.)
The text was updated successfully, but these errors were encountered: