-
Notifications
You must be signed in to change notification settings - Fork 6
Make error #7
Comments
Added the following to my .zshrc file:
Now getting this error:
|
@jamilabreu Are you able to build Faiss standalone and run the C++ API: https://github.com/facebookresearch/faiss/wiki/Installing-Faiss Just ruling out this is not a Faiss+M2 issue |
I was just able to get it work! But now getting this error on this line:
|
Oh that looks like the NIF shared library is failing to load, likely due to undefined symbols. This looks similar to: facebookresearch/faiss#2335 stating that ARM symbols require specific flags. It's possible the Faiss installation isn't compiled with the proper flags on ARM |
Maybe also related? facebookresearch/faiss#2111 |
Tried adding the flags listed here: https://github.com/facebookresearch/faiss/wiki/Installing-Faiss#compiling-faiss-on-arm Know of any other resources like this I could try? |
Here's the iex error:
Seems to be looking for libfaiss.dylib in the wrong place? |
Historically we needed to use https://github.com/elixir-nx/nx/blob/main/exla/Makefile#L30-L43 |
@jamilabreu We're having the same issue you had here. What did you do to get it to get it past the |
I've tried just about everything in this thread. Including reading the linked wiki's and I get the same errors:
Apple M1 Pro
I am able to |
@jeregrine why is it trying to use g++ instead of c++ that comes with your system? perhaps that's part of the issue? maybe you have an env var messing up with your environment? |
This was the result of the above comment suggesting it might work. I removed those exports and get the same issue.
|
I see! We can definitely link against a system one. Torchx offers a similar option we can copy. PRs welcome! |
If anyone in this thread is still having issues please try my branch. You will need make sure to Steps:
And that should work! |
When attempting to
mix deps.get
I'm getting this error:I'm on a new Apple M2, @seanmor5 any ideas?
The text was updated successfully, but these errors were encountered: