Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/codefuse-ai/ModelCache
/ import_faiss
Function
import_faiss
modelcache_mm/utils/__init__.py:45–46 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
43
44
45
def
import_faiss():
46
_check_library(
"faiss"
, package=
"faiss-cpu"
)
47
48
49
def
import_torch():
Callers
nothing calls this directly
Calls
1
_check_library
Function · 0.70
Tested by
no test coverage detected