Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove uneeded PTX code generation from libfaiss builds #3083

Commits on Oct 3, 2023

  1. Remove uneeded PTX code generation from libfaiss builds.

    The CMake CUDA Architecture value of `60` means to generate
    both PTX and SASS for that arch. We only need SASS for the
    architectures we support, and one PTX version for future
    hardware versions.
    
    So now we build on SASS for everything ( `60-real` ) and
    use 80 as the baseline for newer archs likes 90
    
    By removing this unneeded PTX code we can reduce
    the libfaiss.a binary to 305MB from the current 484MB.
    robertmaynard committed Oct 3, 2023
    Configuration menu
    Copy the full SHA
    238d610 View commit details
    Browse the repository at this point in the history