-
Notifications
You must be signed in to change notification settings - Fork 11
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
Torch library list not found #2
Comments
Update: managed to run cmake (and make) successfully by running the following cmake command (which I found in #1). If anyone finds this, remember to change the paths to fit your particular installation of conda. Might be a good idea to put this in the readme, took me quite a long time to finally find this solution (which you can see in the edit history :P).
|
Hi, glad that you figured it out. I still haven't figured out, how to reliably detect the PyTorch installation, the paths, and the libraries used. Pull requests are welcome :) |
@shamanDevel Unfortunately, I ran into more issues. Hope it's fine if I use this thread to document them. I'm using the Docker container in #1. I'm trying to run
The error I get is:
Should I be running it another way? The readme just says to navigate to pytests and run the script with python. |
Hi, this is quite strange as the modules in 'diffdvr' are just python files in 'pytests'. Adding the pytests to sys.path should not be necessary as this is already your current working directory. |
Managed to get it to work by running Also, oddly enough, the assert you suggested passed successfully, even before that. Might be a Docker thing. I also had to add |
Hi! I'm trying to compile DiffDVR but running into some issues. Was hoping someone could help. I want to use the same dependencies as the ones in the repo. I'm on Linux Mint 20.3, which is based on Ubuntu 20.04.
In order, I have installed:
The error I get when going to the build dir and running
cmake ..
is:Scrolling up in the output reveals the following problem:
Torch: full library list: /usr/lib/libtorch.so;TORCH_LIB_c10-NOTFOUND;TORCH_LIB_c10_cuda-NOTFOUND;/usr/lib/libtorch.so;TORCH_LIB_torch_cpu-NOTFOUND;TORCH_LIB_torch_cuda-NOTFOUND;TORCH_LIB_torch_python-NOTFOUND
So it seems like these libraries are not found. I tried to
sudo apt-get install libtorch3-dev
but apt says it's already installed (I assume it happened when conda installed the pytorch package?), and there are no libraries available with the c10, c10_cuda etc suffixes. How would I make sure these libraries are found, so I can compile the project?The text was updated successfully, but these errors were encountered: