chroma-core / chroma

the AI-native open-source embedding database
https://www.trychroma.com/
Apache License 2.0
15.19k stars 1.28k forks source link

[Bug]: ChromaDB is not possible to run inside alpine docker image #2758

Open mangin opened 2 months ago

mangin commented 2 months ago

What happened?

IIt's not possible to run ChromaDB inside alpine docker image.

Versions

It doesn't work with the latest version of Chroma and any python

Relevant log output

The reason that onxxruntime doesn't support alpine.
https://github.com/microsoft/onnxruntime/issues/2909

Maybe we can make onnxruntime as an optional dependency? Now onnxruntime is used as default embedding. But the user of Chromadb can use different embedding that works with alpine.
mangin commented 2 months ago

Fix here: https://github.com/chroma-core/chroma/pull/2722