Skip to content

Commit

Permalink
Update __init__.py
Browse files Browse the repository at this point in the history
  • Loading branch information
asadoughi authored Dec 12, 2024
1 parent dd13040 commit 1ab0775
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion faiss/python/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ def replacement_function(*args):
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)
Expand Down

0 comments on commit 1ab0775

Please sign in to comment.