Skip to content

Commit

Permalink
test_vec_quantize_binary small test for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
asg017 committed Jun 28, 2024
1 parent 37b4c2e commit 3442131
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/test-loadable.py
Original file line number Diff line number Diff line change
Expand Up @@ -497,12 +497,11 @@ def test_vec_quantize_i8():
assert vec_quantize_i8() == 111


@pytest.mark.skip(reason="TODO")
def test_vec_quantize_binary():
vec_quantize_binary = lambda *args, input="?": db.execute(
f"select vec_quantize_binary({input})", args
).fetchone()[0]
assert vec_quantize_binary("[-1, -1, -1, -1, 1, 1, 1, 1]") == 111
assert vec_quantize_binary("[-1, -1, -1, -1, 1, 1, 1, 1]") == b"\xf0"


@pytest.mark.skip(reason="TODO")
Expand Down

0 comments on commit 3442131

Please sign in to comment.