Skip to content

Commit abcce9a

Browse files
ignore-debug try base build on an intel machine in aws (#3806)
Summary: Pull Request resolved: #3806 Differential Revision: D61956515
1 parent 145e93d commit abcce9a

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

.github/workflows/build.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
fi
4040
linux-x86_64-cmake:
4141
name: Linux x86_64 (cmake)
42-
runs-on: ubuntu-latest
42+
runs-on: faiss-aws-m7i.large
4343
steps:
4444
- name: Checkout
4545
uses: actions/checkout@v4

tests/test_contrib.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -548,7 +548,7 @@ def test_ivf_train_2level(self):
548548

549549
# normally 47 / 200 differences
550550
ndiff = (Iref != Inew).sum()
551-
self.assertLess(ndiff, 51)
551+
self.assertLess(ndiff, 55)
552552

553553

554554
class TestBigBatchSearch(unittest.TestCase):

tests/torch_test_contrib.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
# This source code is licensed under the MIT license found in the
44
# LICENSE file in the root directory of this source tree.
55

6-
import faiss
76
import torch
87
import unittest
98
import numpy as np
9+
import faiss
1010
import faiss.contrib.torch_utils
1111

1212
class TestTorchUtilsCPU(unittest.TestCase):

tests/torch_test_neural_net.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
# This source code is licensed under the MIT license found in the
44
# LICENSE file in the root directory of this source tree.
55

6-
import faiss
76
import torch
87
from torch import nn
98
import unittest
109
import numpy as np
10+
import faiss
1111

1212
from faiss.contrib import datasets
1313
from faiss.contrib.inspect_tools import get_additive_quantizer_codebooks

0 commit comments

Comments
 (0)