Add support for reading L1/L2 cache sizes for different platforms(Windows, Linux, MacOS) for our efficient cache aware multi-vector distance functions.
Open
- Dominant language
- Rust
- Stars
- 1.9k
- Forks
- 454
- Avg merge
- 3d 22h
- Merged PRs (30d)
- 35
Description
We might be able to take some reference from - https://github.com/ciresnave/hardware-query/blob/main/src/cpu.rs
We have the type `TileBudget` type which we need to wire by reading cache sizes from the machine.
Think more on how we can do minimal system calls and reuse the cache sizes across all distance computations.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.