RuntimeError: Error in void faiss::gpu::allocMemorySpace

The inner product metric makes the faiss index slower to build unfortunately…
If you really want to make it a bit faster you could try first with the default value of efConstruction (40)