Skip to content

Conversation

@cevian
Copy link
Collaborator

@cevian cevian commented Aug 7, 2024

Our compilation on x86 enables fma and avx in target-feature. We should panic if the running CPU is actually missing the feature because otherwise the behavior is undefined and in practice we've seen segfaults.

The panic will be translated to a Postgres error.

Our compilation on x86 enables fma and avx in target-feature. We
should panic if the running CPU is actually missing the feature
because otherwise the behavior is undefined and in practice we've
seen segfaults.

The panic will be translated to a Postgres error.
@cevian cevian requested a review from a team as a code owner August 7, 2024 01:59
jgpruitt
jgpruitt previously approved these changes Aug 7, 2024
@cevian
Copy link
Collaborator Author

cevian commented Aug 7, 2024

see #115 (comment) as well for more context

adolsalamanca
adolsalamanca previously approved these changes Aug 7, 2024
thedodd
thedodd previously approved these changes Aug 7, 2024
@cevian cevian dismissed stale reviews from thedodd, adolsalamanca, and jgpruitt via af2f179 August 8, 2024 15:33
@cevian cevian requested a review from avthars as a code owner August 8, 2024 15:33
@cevian cevian force-pushed the panic_on_missing_features branch 6 times, most recently from fa97e06 to 8ecc2ba Compare August 8, 2024 19:15
@cevian cevian force-pushed the panic_on_missing_features branch from 8ecc2ba to 20c83d5 Compare August 8, 2024 19:25
cevian added 2 commits August 8, 2024 15:56
Vectors used with cosine distance are always normalized.
@cevian cevian force-pushed the panic_on_missing_features branch from 13a7cad to 0350cae Compare August 8, 2024 21:29
@cevian cevian merged commit dffdb7b into main Aug 9, 2024
@cevian cevian deleted the panic_on_missing_features branch August 9, 2024 01:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants