SIGN IN SIGN UP

[ENH] Use AVX in distance calculations (#5258)

## Description of changes

This PR updates the distance crate to prioritize AVX over SSE, and
forces builds with AVX flags when ENABLE_AVX512 is set in the Dockerfile

## Test plan

_How are these changes tested?_

- [ ] Tests pass locally with `pytest` for python, `yarn test` for js,
`cargo test` for rust

## Migration plan

_Are there any migrations, or any forwards/backwards compatibility
changes needed in order to make sure this change deploys reliably?_

## Observability plan

_What is the plan to instrument and monitor this change?_

## Documentation Changes

_Are all docstrings for user-facing APIs updated if required? Do we need
to make documentation changes in the [docs
section](https://github.com/chroma-core/chroma/tree/main/docs/docs.trychroma.com)?_
J
Jai Radhakrishnan committed
6f95f3760e0aa81082c2e472753e2b6d69c1edc9
Parent: 06e36fc
Committed by GitHub <noreply@github.com> on 8/13/2025, 6:21:19 PM