Commit c87fdeb
committed
fix: resolve 6 failing tests in test_backends.py
- Skip GPU index tests when FAISS is not installed instead of failing
with RuntimeError (add @pytest.mark.skipif decorator)
- Fix ADC broadcasting bug: remove erroneous .T transpose on
distance_table indexing which produced shape (100,10) instead of
(10,100)
- Fix distributed index test: assert valid shard distribution instead
of checking for impossible shard key 4 (valid range is 0-3)
Signed-off-by: Maxime Grenu <maxime.grenu@gmail.com>1 parent a6ebb26 commit c87fdeb
2 files changed
Lines changed: 9 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
38 | 42 | | |
39 | 43 | | |
40 | 44 | | |
| |||
251 | 255 | | |
252 | 256 | | |
253 | 257 | | |
254 | | - | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
255 | 262 | | |
256 | 263 | | |
257 | 264 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| |||
0 commit comments