Skip to content
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

Lack of flexibility in pointing the path to the libtorch system library #900

Open
benjamasu opened this issue Oct 11, 2024 · 0 comments
Open

Comments

@benjamasu
Copy link

At the moment the LIBTORCH_LIB and LIBTORCH_INCLUDE variables imply that there are appropriate directories under them. But on systems where torch is built and installed in a non-standard way, there are difficulties in specifying appropriate paths without creating symbolic links.

For example, Gentoo, where on 64-bit systems libtorch is installed under /usr/lib64 and headers under /usr/include/torch.

It would be nice to be able to specify direct paths, without the requirement of finding libraries and headers under lib and include respectively. At least be able to manually specify the appropriate CFLAGS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant