Skip to content

Upgrade to C++20 for CUVS#4881

Open
mnorris11 wants to merge 1 commit intofacebookresearch:mainfrom
mnorris11:export-D95573957
Open

Upgrade to C++20 for CUVS#4881
mnorris11 wants to merge 1 commit intofacebookresearch:mainfrom
mnorris11:export-D95573957

Conversation

@mnorris11
Copy link
Contributor

@mnorris11 mnorris11 commented Mar 6, 2026

Summary:
Upgrades Faiss CUVS builds from C++17 to C++20 by updating cuVS/RAPIDS from version 25.10 to 26.02, which includes C++20 support (tracked in rapidsai/cuvs#1659).

Changes:

  • Remove the C++17 exception for CUVS in both public_tld/CMakeLists.txt and python/CMakeLists.txt, making C++20 unconditional across all platforms
  • Upgrade RAPIDS_VERSION from 25.10 to 26.02 in fetch_rapids.cmake
  • Update libcuvs version pins from 25.10 to 26.02 in conda meta.yaml and CI build_cmake/action.yml
  • Update INSTALL.md to reflect the new cuVS version and C++20 compiler requirement

This completes the C++20 migration for Faiss — previously OSX and CUVS were excluded (D84842523), OSX was fixed in D89523723, and now CUVS is upgraded as well.

Differential Revision: D95573957

@meta-cla meta-cla bot added the CLA Signed label Mar 6, 2026
@meta-codesync
Copy link
Contributor

meta-codesync bot commented Mar 6, 2026

@mnorris11 has exported this pull request. If you are a Meta employee, you can view the originating Diff in D95573957.

mnorris11 pushed a commit to mnorris11/faiss that referenced this pull request Mar 6, 2026
Summary:

Upgrades Faiss CUVS builds from C++17 to C++20 by updating cuVS/RAPIDS from version 25.10 to 26.02, which includes C++20 support (tracked in rapidsai/cuvs#1659).

Changes:
- Remove the C++17 exception for CUVS in both `public_tld/CMakeLists.txt` and `python/CMakeLists.txt`, making C++20 unconditional across all platforms
- Upgrade RAPIDS_VERSION from 25.10 to 26.02 in `fetch_rapids.cmake`
- Update libcuvs version pins from 25.10 to 26.02 in conda `meta.yaml` and CI `build_cmake/action.yml`
- Update INSTALL.md to reflect the new cuVS version and C++20 compiler requirement

This completes the C++20 migration for Faiss — previously OSX and CUVS were excluded (D84842523), OSX was fixed in D89523723, and now CUVS is upgraded as well.

[Session trajectory link](https://www.internalfb.com/intern/devai/devmate/inspector/?id=00ba3fbe-eeca-4a54-aff4-a6b6d9c3c750)

Differential Revision: D95573957
mnorris11 pushed a commit to mnorris11/faiss that referenced this pull request Mar 7, 2026
Summary:

Upgrades Faiss CUVS builds from C++17 to C++20 by updating cuVS/RAPIDS from version 25.10 to 26.02, which includes C++20 support (tracked in rapidsai/cuvs#1659).

Changes:
- Remove the C++17 exception for CUVS in both `public_tld/CMakeLists.txt` and `python/CMakeLists.txt`, making C++20 unconditional across all platforms
- Upgrade RAPIDS_VERSION from 25.10 to 26.02 in `fetch_rapids.cmake`
- Update libcuvs version pins from 25.10 to 26.02 in conda `meta.yaml` and CI `build_cmake/action.yml`
- Update INSTALL.md to reflect the new cuVS version and C++20 compiler requirement

This completes the C++20 migration for Faiss — previously OSX and CUVS were excluded (D84842523), OSX was fixed in D89523723, and now CUVS is upgraded as well.

Differential Revision: D95573957
mnorris11 pushed a commit to mnorris11/faiss that referenced this pull request Mar 7, 2026
Summary:

Upgrades Faiss CUVS builds from C++17 to C++20 by updating cuVS/RAPIDS from version 25.10 to 26.02, which includes C++20 support (tracked in rapidsai/cuvs#1659).

Changes:
- Remove the C++17 exception for CUVS in both `public_tld/CMakeLists.txt` and `python/CMakeLists.txt`, making C++20 unconditional across all platforms
- Upgrade RAPIDS_VERSION from 25.10 to 26.02 in `fetch_rapids.cmake`
- Update libcuvs version pins from 25.10 to 26.02 in conda `meta.yaml` and CI `build_cmake/action.yml`
- Update INSTALL.md to reflect the new cuVS version and C++20 compiler requirement

This completes the C++20 migration for Faiss — previously OSX and CUVS were excluded (D84842523), OSX was fixed in D89523723, and now CUVS is upgraded as well.

Differential Revision: D95573957
mnorris11 pushed a commit to mnorris11/faiss that referenced this pull request Mar 7, 2026
Summary:

Upgrades Faiss CUVS builds from C++17 to C++20 by updating cuVS/RAPIDS from version 25.10 to 26.02, which includes C++20 support (tracked in rapidsai/cuvs#1659).

Changes:
- Remove the C++17 exception for CUVS in both `public_tld/CMakeLists.txt` and `python/CMakeLists.txt`, making C++20 unconditional across all platforms
- Upgrade RAPIDS_VERSION from 25.10 to 26.02 in `fetch_rapids.cmake`
- Update libcuvs version pins from 25.10 to 26.02 in conda `meta.yaml` and CI `build_cmake/action.yml`
- Update INSTALL.md to reflect the new cuVS version and C++20 compiler requirement

This completes the C++20 migration for Faiss — previously OSX and CUVS were excluded (D84842523), OSX was fixed in D89523723, and now CUVS is upgraded as well.

Differential Revision: D95573957
Summary:

Upgrades Faiss CUVS builds from C++17 to C++20 by updating cuVS/RAPIDS from version 25.10 to 26.02, which includes C++20 support (tracked in rapidsai/cuvs#1659).

Changes:
- Remove the C++17 exception for CUVS in both `public_tld/CMakeLists.txt` and `python/CMakeLists.txt`, making C++20 unconditional across all platforms
- Upgrade RAPIDS_VERSION from 25.10 to 26.02 in `fetch_rapids.cmake` and changed the branch to https://raw.githubusercontent.com/rapidsai/rapids-cmake/release/26.02/RAPIDS.cmake. (Claude couldn't figure this out because no internet access...)
- Update libcuvs version pins from 25.10 to 26.02 in conda `meta.yaml` and CI `build_cmake/action.yml`
- Update INSTALL.md to reflect the new cuVS version and C++20 compiler requirement

This completes the C++20 migration for Faiss — previously OSX and CUVS were excluded (D84842523), OSX was fixed in D89523723, and now CUVS is upgraded as well.

Differential Revision: D95573957
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant