pipeline.run()
function in LlamaIndex can be executed with parallel processes by setting num_workers
to a value greater than 1. This is done by making use of multiprocessing.Pool
to distribute batches of nodes across processors (source ())._thread.RLock
object in your error message, are not serializable and hence, cannot be used directly with multiprocessing.