Skip to content

Commit db38085

Browse files
Michael Norrisfacebook-github-bot
authored andcommitted
fix some more nvidia licenses that get erased (facebookresearch#3977)
Summary: Pull Request resolved: facebookresearch#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
1 parent d73eb1e commit db38085

4 files changed

Lines changed: 9 additions & 5 deletions

File tree

benchs/bench_ivfflat_raft.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
# Copyright (c) Facebook, Inc. and its affiliates.
1+
# @lint-ignore-every LICENSELINT
2+
# Copyright (c) Meta Platforms, Inc. and its affiliates.
23
#
34
# This source code is licensed under the MIT license found in the
45
# LICENSE file in the root directory of this source tree.

benchs/bench_ivfpq_raft.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
# Copyright (c) Facebook, Inc. and its affiliates.
1+
# @lint-ignore-every LICENSELINT
2+
# Copyright (c) Meta Platforms, Inc. and its affiliates.
23
#
34
# This source code is licensed under the MIT license found in the
45
# LICENSE file in the root directory of this source tree.
@@ -165,4 +166,4 @@ def bench_search_milliseconds(index, addVecs, queryVecs, nprobe, k, use_raft):
165166
classical_gpu_search_time = bench_search_milliseconds(
166167
index, xb, queryVecs, args.nprobe, args.k, False)
167168
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" % (
168-
n_cols, nlist, M, args.bits_per_code, n_add, n_rows, args.nprobe, args.k, classical_gpu_search_time, raft_gpu_search_time))
169+
n_cols, nlist, M, args.bits_per_code, n_add, n_rows, args.nprobe, args.k, classical_gpu_search_time, raft_gpu_search_time))

faiss/gpu/CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
# Copyright (c) Facebook, Inc. and its affiliates.
1+
# @lint-ignore-every LICENSELINT
2+
# Copyright (c) Meta Platforms, Inc. and its affiliates.
23
# All rights reserved.
34
#
45
# This source code is licensed under the BSD-style license found in the

faiss/gpu/test/CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
# Copyright (c) Facebook, Inc. and its affiliates.
1+
# @lint-ignore-every LICENSELINT
2+
# Copyright (c) Meta Platforms, Inc. and its affiliates.
23
# All rights reserved.
34
#
45
# This source code is licensed under the BSD-style license found in the

0 commit comments

Comments
 (0)