Skip to content

[Help] Link against Pytorch #12205

Closed Answered by ditsuke
ditsuke asked this question in Q&A
Discussion options

You must be logged in to vote

Slapstick solution:

torch = [dependency('Torch'), gpp.find_library('torch_cpu')]

Overall this is a problem with Pytorch' shared libs not linking pytorch_cpu (or cuda) when they need to, as discussed on Matrix. Reference: mesonbuild.matrix.org

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ditsuke
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant