Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
F
faiss
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
钟尚武
faiss
Commits
11154692
Commit
11154692
authored
Apr 05, 2018
by
Ailing
Committed by
Matthijs Douze
Apr 05, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update faiss.py (#387)
update faiss.py to enforce less strict check of error message
parent
17cc899b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
faiss.py
faiss.py
+1
-1
No files found.
faiss.py
View file @
11154692
...
...
@@ -21,7 +21,7 @@ try:
from
swigfaiss_gpu
import
*
except
ImportError
as
e
:
if
e
.
args
[
0
]
!=
'ImportError: No module named swigfaiss_gpu'
:
if
'No module named'
not
in
e
.
args
[
0
]
:
# swigfaiss_gpu is there but failed to load: Warn user about it.
sys
.
stderr
.
write
(
"Failed to load GPU Faiss:
%
s
\n
"
%
e
.
args
[
0
])
sys
.
stderr
.
write
(
"Faiss falling back to CPU-only.
\n
"
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment