Update __init__.py

asadoughi-patch-1
Amir Sadoughi 2024-12-11 19:23:26 -05:00 committed by GitHub
parent dd130400be
commit 1ab0775048
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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)