diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 10fc8152f..2ac8ad935 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -44,7 +44,7 @@ outlined on that page and do not file a public issue. * 4 spaces for indentation in C++ (no tabs) * 80 character line length (both for C++ and Python) -* C++ language level: C++17 +* C++ language level: C++20 ## License diff --git a/benchs/bench_gpu_1bn.py b/benchs/bench_gpu_1bn.py index fc17e9de7..f56a669f2 100644 --- a/benchs/bench_gpu_1bn.py +++ b/benchs/bench_gpu_1bn.py @@ -1,4 +1,4 @@ -#! /usr/bin/env python2 +#! /usr/bin/env python3 # Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the diff --git a/benchs/bench_vector_ops.py b/benchs/bench_vector_ops.py index 96aa97057..85ecc7231 100644 --- a/benchs/bench_vector_ops.py +++ b/benchs/bench_vector_ops.py @@ -1,4 +1,4 @@ -#! /usr/bin/env python2 +#! /usr/bin/env python3 # Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the diff --git a/benchs/kmeans_mnist.py b/benchs/kmeans_mnist.py index fa070483a..72b00c38a 100644 --- a/benchs/kmeans_mnist.py +++ b/benchs/kmeans_mnist.py @@ -1,4 +1,4 @@ -#! /usr/bin/env python2 +#! /usr/bin/env python3 # Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the diff --git a/contrib/README.md b/contrib/README.md index f2b7d0f84..8b9052c44 100644 --- a/contrib/README.md +++ b/contrib/README.md @@ -8,8 +8,6 @@ The contrib directory contains helper modules for Faiss for various tasks. The contrib directory gets compiled in the module faiss.contrib. Note that although some of the modules may depend on additional modules (eg. GPU Faiss, pytorch, hdf5), they are not necessarily compiled in to avoid adding dependencies. It is the user's responsibility to provide them. -In contrib, we are progressively dropping python2 support. - ## List of contrib modules ### rpc.py