Skip to content

Commit

Permalink
Apply recomendations
Browse files Browse the repository at this point in the history
  • Loading branch information
yukiman76 committed Nov 22, 2024
1 parent 335214e commit 9d622b4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion docs/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,6 @@ Segmentation faults and similar errors on macOS

__Solution__


Set the following environment parameters.

- OpenMP threading is handled internally on macOS platforms, but it can be disabled by setting the environment variable OMP_NUM_THREADS to 1, e.g., export OMP_NUM_THREADS=1. For more details, refer to the related discussion on GitHub: kyamagu/faiss-wheels#100.
Expand Down
2 changes: 1 addition & 1 deletion test/python/testann.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ def testNumPyLegacy(self):
self.assertEqual(ann.count(), 100)

@patch('platform.system')
def testmocdarwin(self, mock_platform):
def testFaissMacOS(self, mock_platform):
"""
Test backend with OS Darwin
"""
Expand Down

0 comments on commit 9d622b4

Please sign in to comment.