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 |
tazarov
left a comment
There was a problem hiding this comment.
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.