Were you able able to find a solution? I am encountering the same issue but in Snowflake. I have tried to follow the Discord threat but it seems it has been deleted.
I am getting the same problems. I do !pip install faiss-gpu and it gives me a message error. I ignore it and run the code and it actually works. Later I try to run again and it doesn’t and have this issue with faiss.
This does work for me too. Depending on your cuda version you might need to install faiss-gpu-cu12. You can check your cuda version:
import torch
print(torch.version.cuda)
Another thing to note, I got an error when I imported datasets library and then installed faiss, maybe somethings are cached. It’s better to do the installation first and then import all your libraries.