From 1ab077504849026d5cded9c4ccc917d3c4999fd6 Mon Sep 17 00:00:00 2001 From: Amir Sadoughi Date: Wed, 11 Dec 2024 19:23:26 -0500 Subject: [PATCH] Update __init__.py --- faiss/python/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/faiss/python/__init__.py b/faiss/python/__init__.py index 2b9ab6fa3..9d956ebe7 100644 --- a/faiss/python/__init__.py +++ b/faiss/python/__init__.py @@ -170,7 +170,7 @@ try: add_ref_in_constructor(GpuIndexIVFPQ, 1) add_ref_in_constructor(GpuIndexIVFScalarQuantizer, 1) except NameError as e: - logging.info("Failed to load GPU Faiss: %s. Will not load constructor refs for GPU indexes." % e.args[0]) + logger.info("Failed to load GPU Faiss: %s. Will not load constructor refs for GPU indexes." % e.args[0]) add_ref_in_constructor(IndexIVFFlat, 0) add_ref_in_constructor(IndexIVFFlatDedup, 0)