mirror of
https://github.com/run-llama/semtools.git
synced 2026-07-21 11:15:24 -04:00
test_search_result_context_calculation fails on x86 darwin #3
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @amadejkastelic on GitHub (Sep 3, 2025).
Ran across the following failure on x86 darwin when trying to package semtools in nixpkgs:
@logan-markewich commented on GitHub (Sep 3, 2025):
Hmm, I think in some machines the similarity function can be slightly different. Since im using constant vectors, floating point error has measurable impact.
I'll redesign the test to account for this
@amadejkastelic commented on GitHub (Sep 3, 2025):
Here is the run: https://github.com/amadejkastelic/nixpkgs-review-gha/actions/runs/17431732970/job/49491508641
It was run without modifying any code. I'll also look into the code.
@logan-markewich commented on GitHub (Sep 3, 2025):
@amadejkastelic I think the above PR should fix it -- decided that the embedding model is lightweight enough to just use it in tests. Should be more realistic imo