Cannot build project #7
Comments
I may not be able to give you useful tips as I haven't built this repo in mac and I haven't used torch with mac for a long time. My best guess is to change the CMakeLists.txt to link the right files (.dylib instead of .so). The repo is unlikely to be useful on a mac given its lack of powerful GPUs. |
Thanks so much for the response. I tried it on a machine with powerful GPUs but now python cannot locate the Here is the stack trace:
Do you have an idea what I could try here? |
Can you run |
Ah, from your cmake log, you have I mostly use conda to manage the python binaries and make sure that I am building in the correct conda environment, i.e. using the consistent python and use the cmake provided by conda. If for any reason you cannot use conda on your system, you may need to figure out why it finds inconsistent pythons on your system. |
I am also using Conda to manage the python binaries and am really unsure about why the torch binary in Here are the requested outputs: Python
Python version
These outputs were generated after I removed python 3.9 from the
|
Lol you must have a very strange setup for the paths. |
Thanks again! Your comments were really helpful. I accidentally worked in a cluster session without a GPU assigned. Therefore, I couldn't find This issue is resolved and can be closed. |
Glad it works! |
I am currently trying to build the project on my MacBook but cannot seem to get it to work. Here are some details of my setup.
Unfortunately, I get the following error.
Moreover, listing the files in the folder mentioned by the error message gives the following.
Renaming
libtorch_python.dylib
tolibtorch_python.so
doesn't fix the main error in the output above. What else could I try at this point?The text was updated successfully, but these errors were encountered: