Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[BUG] Cosine for 0 input errors on float16 (#3152)
## Description of changes Surfaced in https://github.com/chroma-core/chroma/actions/runs/11865006087/job/33069464068 *Summarize the changes made by this PR.* - Improvements & Bug fixes - Float16 dtypes in proptests were running out of resolution with EPS = 1e-30. This adapts the resolution for smaller data widths. - Type cleanup - New functionality - None ## Test plan *How are these changes tested?* Added a test, this test fails without this change. - [x] Tests pass locally with `pytest` for python, `yarn test` for js, `cargo test` for rust ## Documentation Changes None
- Loading branch information