supress warnings, test connectivity on start

This commit is contained in:
frdel committed 2026-02-10 12:00:22 +01:00
1 parent 1f7e3b5a28
commit cc3f02e163
3 files changed
+21 -2

No files matched your search

+4 -1
View File
@@ -33,4 +33,7 @@ sys.modules["numpy.distutils.cpuinfo"] = cpuinfo
np.distutils = dist # type: ignore
# -------------------------------------------------------------------
import faiss
import warnings
with warnings.catch_warnings():
warnings.simplefilter("ignore", DeprecationWarning)
import faiss