-
-
Notifications
You must be signed in to change notification settings - Fork 16
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
libtorch_c_api not defined in
Torch.Wrapper`
#68
Comments
Are you on x86_64 Linux without a CUDA GPU? If so, then you might be affected by #20 (comment) |
No, I have CUDA gpus. And the driver is also installed. I can use flux with gpu, or CUDA.jl itself. |
Alright - you likely need to include It should definitely work on CUDA 11.3 (but I hope it also works on CUDA 11.8). |
Based on your suggestions, I found out that CUDA.jl left support for CUDA 11.3 in version 5. And If I want to continue with 11.8 it gives error. But since Torch.jl works with CUDA 11.3, I gave a shot to [email protected] and [email protected] . I also downgraded julia version to 1.8. With this configuration ([email protected], [email protected] with v11.3 and of course Torch.jl), I still get eror :
|
Ok, now the issue is not related with Torch.jl . It was due to the missing system package inside Rocky Linux. By installing openblas-dev and lapack packages everything seems to be working properly. I can form n-dimensional tensors in gpu with cuda 11.3 and cuda 11.8. Any julia package above 1.8.x series to the latest version 1.11.x can work with Torch.jl, no worries. I really missed this package. It is great to see it working again! B.R. |
Great to hear you got it working! (though you should not need to adjust any system packages) |
It's interesting that you got the issue with Can you reproduce this error on Julia 1.10 or 1.11? Or is it just on 1.8? |
I think it was general, because after I installed those packages, it stopped giving errors. Additionally, I am facing issues when try to send resnet example to torch. But I think it is better to create a new issue for that. |
Hello,
I am still unable to install this lib. I have fresh install of Julia v1.11.3.
The main error I am getting is :
The text was updated successfully, but these errors were encountered: