-
Notifications
You must be signed in to change notification settings - Fork 90
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add chroma to benchmark #205
base: master
Are you sure you want to change the base?
Conversation
for more information, see https://pre-commit.ci
Hello dear Chroma maintainers, Are there existing optimisation options and how can they be used (for example CHROMA_WORKERS)? |
Waiting for chroma-core/chroma#2581 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few minor nits and caveats, but generally looks good.
Is something like this helpful?
for the problem of chroma-core/chroma#2581. This is because in the benchmark, search queries are sent in several parallel processes (on the client side) with parallel=100 (multiprocessing). And a new HttpClient instance is created in each of these processes. Does this cause problems? Since Chroma then works serially on the server side, this benchmark probably just doesn't make sense. This also results in worse times with parallel > 1 than with parallel = 1, I think. Let me test this right now. Update: Yes, parallel > 1 is slower then parallel = 1, even with this snippet above, so i deleted this part of the benchmark. |
…db volume, fix CHROMA_WORKERS, allow more chromadb versions in pyproject.toml
b15cbc2
to
783bd9f
Compare
Due to how the WAL is currently implemented, mixing reads and writes will result in lots of blocking, even for reads. Regarding the I'll try to get the close done shortly. |
No description provided.