File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -146,7 +146,7 @@ def _lazy_import_dependencies(self):
146146
147147 except ImportError :
148148 raise ImportError ("Failed to import delu module for TabR. Ensure all dependencies are installed\n "
149- "You can install faiss running 'pip install delu'." ) from None
149+ "You can install delu running 'pip install delu'." ) from None
150150
151151 if TabR .faiss is None :
152152 try :
@@ -158,8 +158,8 @@ def _lazy_import_dependencies(self):
158158 print ("Successfully lazy imported faiss dependency" )
159159
160160 except ImportError as e :
161- raise ImportError ("Failed to import a required module for TabR. Ensure all dependencies are installed\n "
162- "You can install delu by running 'pip install delu' ." ) from None
161+ raise ImportError ("Failed to import faiss module for TabR. Ensure all dependencies are installed\n "
162+ "You can install faiss running 'pip install faiss-cpu' for CPU and 'pip install faiss-gpu' for GPU ." ) from None
163163
164164 def _encode (
165165 self ,
You can’t perform that action at this time.
0 commit comments