fix some more nvidia licenses that get erased (#3977)

Summary:
Pull Request resolved: https://github.com/facebookresearch/faiss/pull/3977

These were getting erased in D64484165.

Similar to D64481766, we need to add lint ignore to not erase Nvidia license.

Without the changes in this diff to ignore lint, screenshots show these 4 files erase the license when running the lint command:

Before lint:
 {F1941712401}

After lint:
 {F1941712573}

Reviewed By: asadoughi

Differential Revision: D64712875

fbshipit-source-id: ada63a8d2f3e4af6c58971f83053b0eb443908d8
pull/3966/head
Michael Norris 2024-10-21 18:36:33 -07:00 committed by Facebook GitHub Bot
parent 56a383f253
commit da20af4ca5
4 changed files with 9 additions and 5 deletions

View File

@ -1,4 +1,5 @@
# Copyright (c) Facebook, Inc. and its affiliates.
# @lint-ignore-every LICENSELINT
# Copyright (c) Meta Platforms, Inc. and its affiliates.
#
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.

View File

@ -1,4 +1,5 @@
# Copyright (c) Facebook, Inc. and its affiliates.
# @lint-ignore-every LICENSELINT
# Copyright (c) Meta Platforms, Inc. and its affiliates.
#
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.
@ -165,4 +166,4 @@ if args.bm_search:
classical_gpu_search_time = bench_search_milliseconds(
index, xb, queryVecs, args.nprobe, args.k, False)
print("Method: IVFPQ, Operation: SEARCH, dim: %d, n_centroids: %d, numSubQuantizers %d, bitsPerCode %d, numVecs: %d, numQuery: %d, nprobe: %d, k: %d, classical GPU search time: %.3f milliseconds, RAFT enabled GPU search time: %.3f milliseconds" % (
n_cols, nlist, M, args.bits_per_code, n_add, n_rows, args.nprobe, args.k, classical_gpu_search_time, raft_gpu_search_time))
n_cols, nlist, M, args.bits_per_code, n_add, n_rows, args.nprobe, args.k, classical_gpu_search_time, raft_gpu_search_time))

View File

@ -1,4 +1,5 @@
# Copyright (c) Facebook, Inc. and its affiliates.
# @lint-ignore-every LICENSELINT
# Copyright (c) Meta Platforms, Inc. and its affiliates.
# All rights reserved.
#
# This source code is licensed under the BSD-style license found in the

View File

@ -1,4 +1,5 @@
# Copyright (c) Facebook, Inc. and its affiliates.
# @lint-ignore-every LICENSELINT
# Copyright (c) Meta Platforms, Inc. and its affiliates.
# All rights reserved.
#
# This source code is licensed under the BSD-style license found in the