Question

ONNXRuntimeError with chromadb adding docs on MacOS

I am trying to run Python script with Chroma db. Create collection, add some vectors and get. But getting an error.

Script:

import chromadb
client = chromadb.Client()
collection = client.create_collection(name="example")
collection.add(
    documents=["Sky is unlimited.", "Tree is a plant."], ids=["d_1", "d_2"]
)
items = collection.get()
collection.peek(limit=5)

Error:

onnxruntime.capi.onnxruntime_pybind11_state.Fail: [ONNXRuntimeError] : 1 : FAIL : Non-zero status code returned while running CoreML_10659388614159815537_1 node. Name:'CoreMLExecutionProvider_CoreML_10659388614159815537_1_1' Status Message: Error executing model: Unable to compute the prediction using a neural network model. It can be an invalid input data or broken/unsupported model (error code: -1).

Hardware: MacOS 14, Intel

What could be the reasons?

I don't what the reason, should I use Docker or is it problem with OS?

 2  78  2
1 Jan 1970