Faiss: CUDA 10.1 conda builds

Created on 6 Mar 2019  路  12Comments  路  Source: facebookresearch/faiss

Would you please provide a CUDA 10.1 conda build for FAISS? This would make our container build significantly more streamlined for CUDA 10.1 which we're planning for 0.7. Happy to help if needed as always. This also is urgent as we won't have 10.1 in our next release (0.6), but just wanted to give you all ample heads up. It's great working with all of you and thank you!

enhancement

Most helpful comment

This seems to be still an issue @mdouze

All 12 comments

@datametrician We're now depending on conda's cudatoolkit package (https://anaconda.org/anaconda/cudatoolkit) to avoid conflicts with other CUDA-enabled libraries. However, they do not provide a 10.1 version yet AFAIK, so I'll keep this issue open as a reminder.

Thanks @beauby. The RAPIDS project is moving to use the same cudatoolkit.

No activity, closing.

@datametrician We're now depending on conda's cudatoolkit package (https://anaconda.org/anaconda/cudatoolkit) to avoid conflicts with other CUDA-enabled libraries. However, they do not provide a 10.1 version yet AFAIK, so I'll keep this issue open as a reminder.

conda 鈥榮 cudatoolkit has the 10.1.
but the latest version of faiss just support cudatoolkit 10.0.
my gpu is GTR 2070. it must install 10.1.
Would you please provide a CUDA 10.1 conda build for FAISS?
thank you.

@naah69 A faiss package for cuda 10.1 will be made available soon. In the meantime, you can build it from source.

@naah69 A faiss package for cuda 10.1 will be made available soon. In the meantime, you can build it from source.

馃憣锛宼hank you

@naah69 When will cuda 10.1 be available?

This is still an issue. The 10.1 toolkit is still commented out here:

https://github.com/facebookresearch/faiss/blob/8b682606e1564b659f56afae5e16e672ac6ab564/conda/faiss-gpu/conda_build_config.yaml#L8

that line is uncommented now. But installing faiss-gpu from conda with cudatoolkit=10.1 still fails

$ conda install faiss-gpu cudatoolkit=10.1 -c pytorch                                                                                                                                    
Collecting package metadata (repodata.json): done                                                                                                                                        
Solving environment: failed with initial frozen solve. Retrying with flexible solve.                                                                                                     
Solving environment: |                                                                                                                                                                   
Found conflicts! Looking for incompatible packages.                                                                                                                                      
This can take several minutes.  Press CTRL-C to abort.                                                                                                                                   
failed                                                                                                                                                                                   

UnsatisfiableError: The following specifications were found to be incompatible with a past                                                                                               
explicit spec that is not an explicit spec in this operation (cudatoolkit):                                                                                                              

  - faiss-gpu -> cudatoolkit[version='>=10.0.130,<10.1.0a0|>=8.0,<8.1.0a0|>=9.0,<9.1.0a0']  

This seems to be still an issue @mdouze

Seems this is still an issue. The library compiled into the binary is asking for wrong version of the CUDA library. Maybe the issue should be reopened. @mdouze

image

For CUDA 10.1, those libraries are libcudart.so.10.1.

Edit: I recompiled a wheel for cuda 10.1 using v1.6.3 tag and works fine without any code modification (except for issue #1159).

What commands did you use to recompile a wheel for cuda 10.1 using v1.6.3 tag?

Was this page helpful?
0 / 5 - 0 ratings