chroma-core / chroma

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

[BUG][DEP] onnxruntime doesn't suppory numpy 2.0.0 #2359

Open atroyn opened 3 months ago

atroyn commented 3 months ago

Numpy 2.0.0 shipped breaking changes. While we're able to fix those up directly in Chroma because they're just problems with generic numerical types (see https://github.com/chroma-core/chroma/pull/2352), ONNX Runtime is not compatible with Numpy 2.0 so we can't ship both.

ONNX is known to be incompatible up to 1.18.0. If/when they ship a patch, we can upgrade to numpy 2.0